From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: MPS: dangling markers Date: Sun, 30 Jun 2024 15:21:36 +0000 Message-ID: <871q4e4fsv.fsf@localhost> References: <87v81u85hv.fsf@localhost> <87frsx81m2.fsf@localhost> <87cyo180y2.fsf@localhost> <874j9d7zqe.fsf@localhost> <87sewvg6lw.fsf@localhost> <87sewuk4l6.fsf@localhost> <87r0celi67.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="30549"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org, Eli Zaretskii , eller.helmut@gmail.com To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 30 17:20:35 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 1sNwLz-0007je-2I for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jun 2024 17:20:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNwLa-00016x-Gd; Sun, 30 Jun 2024 11:20:10 -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 1sNwLY-000153-0r for emacs-devel@gnu.org; Sun, 30 Jun 2024 11:20:08 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNwLV-00047W-11 for emacs-devel@gnu.org; Sun, 30 Jun 2024 11:20:07 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 23CC7240101 for ; Sun, 30 Jun 2024 17:20:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719760800; bh=r1Hudz4X5X2b3bJ99EyEHiRRrS4zllaflxE4sBNTHzA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=bh8igGNLpMk+Mysq7yvQBDYSMMExHR3rB2deZT6+9mjvGwV1T++B/mLE83zuHJh3U qIdZb8Oc1vSm70vip06sYrv23DmhTtDpAIxNfIHOTYdaqNWcTOOiDH+jS7x5bF/tpE eLImfMNJoaf7r4t3dV8ZBqy4WGhlPxlgSsJsPOQaJF9qsf7ek0HDBCnFqr+rxNHKfF Sjs2BiBl2e+XOqyW55bBi84Led1fURntSB7072CxiTiyxTOcxVdL20zPVXTX4jrqF2 Ge3qHaUskhpHhUXfBZd72rb8MDuHogxbzMWytVETIHWW6HbcgK1morenncibxObZ6F rGNB8GOsZqLag== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WBtC30Mb3z9rxD; Sun, 30 Jun 2024 17:19:58 +0200 (CEST) In-Reply-To: Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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:320969 Archived-At: Gerd M=C3=B6llmann writes: > Ihor Radchenko writes: > >> Gerd M=C3=B6llmann writes: >> >>> Thanks, Ihor, that looks promising. I've now also pushed a quick and >>> dirty add_marker in O(1), that's why I reverted. to get that on top. >>> Works for me... I no longer see markers in the perf stats. >>> A comparison of how it feels compared to master would also be interesti= ng. Still crashing :) (mostly because of child process signal - it constantly triggers when running background compilation via staight.el) Otherwise, things are snappy. At least on par with master (to open my agenda, in terms of CPU samples recorded by perf), if not faster. (but I had to remove all the debug info from the build and not run gdb to get that "on par") Also, doing LD_PRELOAD=3D/usr/lib64/libjemalloc.so.2 is a bad idea with scratch/igc. Not that it made things crash, but it made things slower. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at