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: Loaded pdump Date: Thu, 09 May 2024 18:43:07 +0200 Message-ID: References: <87le4jp3t0.fsf@gmail.com> <87le4jneyk.fsf@gmail.com> 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="25753"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Emacs Devel To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 09 18:44:02 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 1s56sE-0006Wj-CR for ged-emacs-devel@m.gmane-mx.org; Thu, 09 May 2024 18:44:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s56rj-0001iq-Hy; Thu, 09 May 2024 12:43:32 -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 1s56rY-0001gk-Sm for emacs-devel@gnu.org; Thu, 09 May 2024 12:43:21 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s56rR-00066b-Ql; Thu, 09 May 2024 12:43:20 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a59a0e4b773so254742366b.2; Thu, 09 May 2024 09:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715272989; x=1715877789; 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=FwdC/7+FH/QWN/gJhK3GSpLsH9M8u62B9WlJSuFQ73U=; b=c01BJny0e0SfyNJ3RT4risKSLFBTecA1pcynZcXXsILcHL++sZBmZ+oEa4zoRmj2ih 3wA+rFmN08Vz5h0+Ld1U/NNGpXpntQoyNYAdCRsngKnU3HIPQW9ORajCJ65TPcZZK1ib QKkNwLTtQtXPOnujVQWqpJl6DQasGpG4eX0ALyoCM3OTjuGcZXns8nJr6xkQAYArOkFc aP89rJ1ZoJYejjJHlCPWetvC0BJBPxgjD9EM3fNkCZoh6HxphtMJWEWTNsWGg3liEpSz jIEnQKeeDkEqAWeeSHgMK6I3/19xGRCvb7662mCf91VnYEzBYX9FZMOOoCGJvMsQzpWr nVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715272989; x=1715877789; 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=FwdC/7+FH/QWN/gJhK3GSpLsH9M8u62B9WlJSuFQ73U=; b=BJVl/N9HQlk7mqiTby0V8L26jOWfoVwfCJvik324VM5GuRpsPZV2RVk7V7bhMUvIIG lAHoSKkmwn/Dt9sXRH+40hde0EqujPlTMXrtByOVft5yjvd6msZ4Avx6bkyCNGQMmxf1 5fJZdRVPnI3BWOq/ZZOjLydhUwZ9idTNW1dUA1GisXQ8b5hx+1C39FuSCd3f54Vptp1P ZO59A9h44dTCnlZk8pDpawSqxJMthD/AWwMyTarkBkLAqXc1hub5uBtXnYIEntuILM0W siOS227Ja18DweilWTkqhY0TiYEpVHy95MsjrTbrY5qstqLPnZDElqUvVdK9dexzsVii jBJg== X-Forwarded-Encrypted: i=1; AJvYcCUORPiQ1HJaNp4Q5zubllmua15G9curE2Neem75QcrnqS2E8F0CCMx05BBgvxpQj0OJm3G08hUfCPqh1GtL5xiPG3Fx X-Gm-Message-State: AOJu0Yz+gTVoCuBHc/SfJmookYNex3KtSJsXJcWqDhM4EEdBgr9yk0sO QuMwQXpd+140M4+qfliaxmptnM9ym8YiidPuT7J7lL++azWhpXjC5CMrPQ== X-Google-Smtp-Source: AGHT+IE71oALCWi8/vI5rjuxihbtCc5kafn6/R5kmVoLEoIBKMfHgq4dnl3A6qYGd4RlQKbY9tNm6Q== X-Received: by 2002:a17:906:81d8:b0:a59:b784:ced5 with SMTP id a640c23a62f3a-a5a2d6797f9mr8737366b.67.1715272989121; Thu, 09 May 2024 09:43:09 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36021.dip0.t-ipconnect.de. [217.227.96.33]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm90526566b.207.2024.05.09.09.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 09:43:08 -0700 (PDT) In-Reply-To: <87le4jneyk.fsf@gmail.com> (Helmut Eller's message of "Thu, 09 May 2024 18:10:43 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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:319091 Archived-At: Helmut Eller writes: > On Thu, May 09 2024, Gerd M=C3=B6llmann wrote: > >> No idea. I've only looked at telemetry to see if it had something >> helping me debug things. I didn't see anything obvious doing that at the >> time. Maybe you could just add the PROT and see what the difference is? > > There is an RootScan event. I don't know what the best way would be to > figure out the duration from that. I simply used the difference to the > next RootScan event. This query > > select root,label,avg(delta),min(delta),max(delta) from (select root, > (select I.string from EVENT_Intern AS I, EVENT_Label AS L where > I.stringId =3D L.stringId and R.root=3DL.address) as label,time, time - > lag(time) over(order by time) as delta from EVENT_RootScan R) group by > root order by avg(delta) desc limit 5; > > prints: > > root label avg(delta) min(delta) max(delta) > --------------- ----------- ------------- ---------- ---------- > 139759443775512 (null) 1958814868.6 1889481499 2809291196 > 139759443778736 "pdump root 35339296.0625 34952012 36923554=20=20 > 139759443779272 (null) 960551.25 926604 1113924=20=20=20 > 139759443778864 (null) 328300.75 274522 414676=20=20=20= =20 > 139759443776656 (null) 306938.6875 199500 411674=20=20=20= =20 > > I'm not sure this makes any sense. The first line could be for a root > that is always scanned as the last per flip; that's why the delta is > larger than for the pdump root. > > So (/ 35e6 2.5e9) would give again 14 milliseconds. Can that be? This is what I understood: Bahnhof. No :-) I think EVENT_Label is a table you made that maps addresses of roots to a label. The delta is the # of ticks, or most likely it is ticks, between events, averaged. And the ticks divided by you cpu spped =3D time taken for a pdump root scan =3D 14 ms which is ca. what a flip takes. Right? I find that at least not completely implausible. Maybe scanning the pdump root dominates how long a flip takes. Could be. > The MPS_RM_PROT flag didn't make much difference, beyond the noise > that's already there. Ok pity, then we can probably forget about that idea. For the moment.