From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: profiler Date: Fri, 21 Jun 2024 18:22:55 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <86cyobmmhc.fsf@gnu.org> <87r0crxung.fsf@localhost> <87le2zxsqx.fsf@localhost> <8634p6n7jd.fsf@gnu.org> <87tthm3gq2.fsf@gmail.com> <87sex6ags5.fsf@localhost> <87msne3flr.fsf@gmail.com> <87frt63dvt.fsf@gmail.com> <86o77ulgk8.fsf@gnu.org> <868qyyl73z.fsf@gnu.org> <87v822uvjt.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32796"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , eller.helmut@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 18:23:21 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sKh2m-0008L5-K6 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 18:23:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKh2X-0006ww-Pm; Fri, 21 Jun 2024 12:23:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKh2V-0006kz-0s for emacs-devel@gnu.org; Fri, 21 Jun 2024 12:23:03 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKh2R-0003uN-Im; Fri, 21 Jun 2024 12:23:02 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-57d26a4ee65so1976415a12.2; Fri, 21 Jun 2024 09:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718986977; x=1719591777; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jQiHR50EtG9utWHT14lti91T+Xsvwru7MRpCrHABVqA=; b=JyUvzqn2d6C13VdBUZPE3a7iklPSl/+DC1FQ63ZJE0L6v8SBp590BAF1e6Q1GgHFN7 DIx7zT0wPxKyb5H5EJVumZI7VE8HcHR4aW8scA7LOAW+yZDL2Ls0zOeaJdz4NN9pe8d1 VY8ejcvSp27xeFj5t6D94zYgKVjI4Dj9oMsuELvApD4hPu8dZOvmPWxdYr2UULThH3g3 bU7szJUugKg9l33AISWz3HI86FwVfe5XKWjw1pF3i7n/Rq5EPB/K0SeeOFRHX7XBldj4 L7h0e57OHu6dWXaah4MQNk5ceo0+7dXluZXyJJf71eEvpSFeYv3JZ/mv/yLwzGzhaPfi iLmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986977; x=1719591777; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jQiHR50EtG9utWHT14lti91T+Xsvwru7MRpCrHABVqA=; b=qaa1MuZhogcObe41v02MypHQ9xClsEYX0ZaSLcgH7M/jA4l16+2OI2xoc/3Qvdl0QE ONNkd3fyFAxtictkDE2DZ557x++v1PB4zH8w3IKGYisKcgylC6wGFpCSkT3Db+HO0Xbl /ERGp6MBZSL30e8Q7Ar8t3LBC/xwlvS2BpIZ+zhlr8yowpPkc99xZKf7ZpRX0cOsGDja iDp12fzbDwcjRRhXoLaB4VslnN0srYQuD+w4aYXuYYATwJbhB+zA0kH2HggeVwgVLdqC WU0g7Ue9aA0UVBO6tLWzubfiJ7+6s7ZoQw8bRhp0gUWnIUHjmckxP33r/ku+XGECB9Mq ud5Q== X-Forwarded-Encrypted: i=1; AJvYcCUZaEyVFq5u5Xx4B9vdTvs2DudiTbIpQ/RAXxIvWw5cYWK8/5fu+n1Kwdmhio00Bx/ceRZ5V5oCMi4BgxtIkjthCDix X-Gm-Message-State: AOJu0YwATP7mPsy25eyPMMQhcMCEvCjjGd8z5DbeQosdyutRh6HDX90H 8/28qI2lBQpNtKuFF1v0A/RE6/iuM1bFtKZF9SpxL8F+Ru7w0gP8E339TA== X-Google-Smtp-Source: AGHT+IEYX616Fa8ED8GOh06HBbdrNdq3vClbB0u7VFnEbLMG7MTC3oThFnj6j/dBtH5N10awRUyGxA== X-Received: by 2002:a50:c31d:0:b0:57c:6000:88e1 with SMTP id 4fb4d7f45d1cf-57d07e6bd13mr5233928a12.6.1718986976967; Fri, 21 Jun 2024 09:22:56 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a72a.dip0.t-ipconnect.de. [79.227.167.42]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d303dcf83sm1148185a12.9.2024.06.21.09.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:22:56 -0700 (PDT) In-Reply-To: <87v822uvjt.fsf@localhost> (Ihor Radchenko's message of "Fri, 21 Jun 2024 16:09:42 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320425 Archived-At: Ihor Radchenko writes: > Eli Zaretskii writes: > >>> I'm still not sure. What I'm trying to say is that we need to be sure >>> that there are no windows left in which things can change. I'd be most >>> comfortable ATM if the first thing the SIGPROF handler does is check >>> is_busy and immediately returns, doing nothing. >> >> Does that solve the crashes reported here? > > I can no longer reproduce on my side, after pulling the latest commit in > the branch - profiler does not lead to crashes in the reproducer I > provided and also using my main config. =F0=9F=91=8D > Although, what is curious, I am now getting a sizable contribution of the > GC reported by the profiler: > > 19193 93% + command-execute > 1131 5% Automatic GC No deia, sorry.