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: Loaded pdump Date: Thu, 09 May 2024 18:10:43 +0200 Message-ID: <87le4jneyk.fsf@gmail.com> References: <87le4jp3t0.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="14862"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 09 18:11:41 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 1s56Mv-0003ie-JW for ged-emacs-devel@m.gmane-mx.org; Thu, 09 May 2024 18:11:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s56MA-0000NM-Ij; Thu, 09 May 2024 12:10:54 -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 1s56M7-0000LI-Nq for emacs-devel@gnu.org; Thu, 09 May 2024 12:10:51 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s56M3-0003fh-NW; Thu, 09 May 2024 12:10:49 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-41ba1ba55ffso6075145e9.1; Thu, 09 May 2024 09:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715271046; x=1715875846; 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=ik4K91yjJxQoAnn6ifuxOdNdTeMKruy5HzuTYYE4uYw=; b=aGxbEYVdETZ2hl/ecX9iAMmzJDwRMwMdstxWtoLNNQ1difYQ8QY2NupurSbVwbn+3m xxLn88+g0vP0s4AOOvr7TAG89LnP97avYdODCUqtj4//uCblkOrN7ZSD7+/ESruucDat lJ3M5/Z1b198A49Z4SqRKW2WvqxCsVHPhOWfpLgfo8uixvCam/0Bm4P2zIyvV+tJg9QP NzwccO41EnJv01s800FxoYFaang87Q8n+KYA4oeVDd9r8i1g0CjymGFZY5VjjbUiW955 nAoBKtBGB7coPj+WqrFON/FkQT+pizb49tIzAfz/bMM+Ajc5lajDFEvGzsjwXSSQd74G VxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715271046; x=1715875846; 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=ik4K91yjJxQoAnn6ifuxOdNdTeMKruy5HzuTYYE4uYw=; b=mftdruQXpi1Pa6AIn1vmp47evu7OXucYssEJj202qRMW5azcSSumBuDnjN3SNwyoaI wq1puJCWJL3lH+tcA8nnYX/piKO9JNcENa/NOmZV1F1TUKPiazdSpcike8YcyPnpadRM KGyZbXJXz9MXMs50WQ+nA6H09UjRGjIi1Nm4/qpXP2+zl4Cny3SE1bWM/9RdL3TNqPnu UGu1nf27Vw+ZqAr5kyWY1bEOEx29h7flj8gcG1h//2p94Q0NySILwxJ03uOvcPD4o/Ep P+1/yEuN7p0OaT9Co72Fxw9wykRMUPAhV2LjyGkBfEkEMzWfQXrtzxYIAwIQk/LrtHmy eIBw== X-Forwarded-Encrypted: i=1; AJvYcCUd3vsSUmYQUlwqQwDrXKsG+HX0KzO42EAy6mVtMHJUYe92SUjQJszCrF7LHvYltZaeuNv2N8mKJW2FQRoKy9HUFdpD X-Gm-Message-State: AOJu0YzxXjIwT9MqP8imL62iAvq5yrLzUxDjFbMR1F457JvjbqtoVenL siecf7QOsNGoyzXyQy0e/DQD/g5ypbwWT2/PxDvaI+Y+8qEz1qhsJPlEaA== X-Google-Smtp-Source: AGHT+IGwlOT8GdFBFouLHM/N5W4JJxVwnUWG2nej6VzIeNMWZ63r6PkyYReh40IB5WHvFbgRqWYneA== X-Received: by 2002:a05:600c:4fcd:b0:41b:f43b:e263 with SMTP id 5b1f17b1804b1-41fea52f068mr1967035e9.0.1715271045624; Thu, 09 May 2024 09:10:45 -0700 (PDT) Original-Received: from caladan (dial-184253.pool.broadband44.net. [212.46.184.253]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fa9dbab53sm48052105e9.13.2024.05.09.09.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 09:10:45 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Thu, 09 May 2024 15:37:00 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x336.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:319088 Archived-At: 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? The MPS_RM_PROT flag didn't make much difference, beyond the noise that's already there.