From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: profiler Date: Fri, 21 Jun 2024 09:44:00 +0200 Message-ID: <87msne3flr.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 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 09:44:27 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 1sKYwd-00042M-CC for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 09:44:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKYwN-0003H8-3E; Fri, 21 Jun 2024 03:44:11 -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 1sKYwI-0003Gn-0o for emacs-devel@gnu.org; Fri, 21 Jun 2024 03:44:06 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKYwF-0003zw-VB; Fri, 21 Jun 2024 03:44:05 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4217926991fso17084005e9.3; Fri, 21 Jun 2024 00:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718955842; x=1719560642; darn=gnu.org; h=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=8GWQ4wGTcWkvrGUDl2JGVf6J6j7zCt+dgvAS5Kefgtk=; b=SYp7kP7KCE+lJvMGuDWuPyqdUAieTBaQ3WsvdFXh7plQTjQDjUs1wZancvrT++ADSM QK1l+GoBhK7GR1oLrFiH/TdTlg8yF57rnooiBBAEGsDdmPNIv87NIMmNCib3E0gVpvTo GHQFGup3P6twxeHkj+CYQ9in0apdJzNn3srd662vpzcIfW0+0niGRTEzo3lZ+xY1zO34 BH7BNbIthd5Vy7OA1Mdx9z0DfiTuFZem6Wh8xcJpvANyp+2WOhRVTe1ChmpGmF+pN+ye EHRNHn7K2la84udwV+Tb8X05H5RE5OXVa1Rgdtnxbx1SH+gnP31rXyvZgS7Y2FRNh2Xh A0KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718955842; x=1719560642; h=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=8GWQ4wGTcWkvrGUDl2JGVf6J6j7zCt+dgvAS5Kefgtk=; b=wUKDiC8eLd8YIByfJ4aJZLe8JQAHWYOSVwezoNwZ1KQHPLNadDSCplt+jQCuT8V972 ddAONvYpvXl+r0n2LNmAaJZxUn/hJjoQsA6nPwchS2k6NgwC74kzDzP4d/XbrE52dE1s /41gJLjJ/lwai8qxi/wLAnn+7BdoJInAdhInTizE8fNg1a52cszVYXRuVM58L2fWx/bC HsKYAlOzzNibn65wQW6nspXS8HSKFpgruVhX/oWDOP0MSI5lI0w+bA0d/s/v4yq1z6yn Wat1GH29wE6r5JsRjnA7hMbOmBEDmQH1IF1gtEGDEArM+Rdd4+8DkXpbPAtg6hlcRqC2 wXOw== X-Forwarded-Encrypted: i=1; AJvYcCUe6HptUCa/Xn/ZdQP7qtaGkBwHfrIooKJhTE5w88TX4uZcQ7LsBSg1A5iWpAjF/YPROtAnOo+gVNVZqILrNdHqN+gzMvV9PwZE2TsM+/DUJnQ= X-Gm-Message-State: AOJu0YyUehbcl3E6Ka086QMY3gWLD4LeDXdqbYFXpm8JMdAxg1kdZ8xa KdEKZwRRcmOm49d3F1zpN1F7bU/n+Mo5uCzwnMQJ8Ae2vMQrLpVYnBouNQ== X-Google-Smtp-Source: AGHT+IEVXmEycdQUu+1M0bcqjsvf96R7NPzcg8C9OpNF421YvfJ7Sj48nfvOheA7i4d/8xVyDI9VKA== X-Received: by 2002:a05:600c:181c:b0:421:2df2:2850 with SMTP id 5b1f17b1804b1-424752983dfmr59009165e9.31.1718955841741; Fri, 21 Jun 2024 00:44:01 -0700 (PDT) Original-Received: from caladan ([31.177.116.19]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4247d211ae0sm52506345e9.41.2024.06.21.00.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 00:44:01 -0700 (PDT) In-Reply-To: <87sex6ags5.fsf@localhost> (Ihor Radchenko's message of "Fri, 21 Jun 2024 07:36:42 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x329.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, T_SCC_BODY_TEXT_LINE=-0.01 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:320369 Archived-At: On Fri, Jun 21 2024, Ihor Radchenko wrote: > May you infer from the backtrace whether MPS "freezes" everything at the > time when segfault triggers? If it does, such freezes should probably be > recorded by the profiler and accumulated in "GC" entry in the profiler > report, as we do it on master. Otherwise, profiler will be missing some > data. There is a function mps_arena_busy, that might be useful. The doc says that it should only be used for debugging. But the implementation actually checks if the arena holds a lock.