From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: MPS command line parameters Date: Fri, 16 Aug 2024 07:58:19 +0000 Message-ID: <87le0wkigd.fsf@protonmail.com> References: <87zfpcexdt.fsf@gmail.com> <86v8006h8m.fsf@gnu.org> 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="35502"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Helmut Eller , emacs-devel@gnu.org, gerd.moellmann@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 16 12:46:59 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 1seuTz-000936-AD for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Aug 2024 12:46:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seuTj-0000U9-9L; Fri, 16 Aug 2024 06:46:44 -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 1serqv-0002W9-8U for emacs-devel@gnu.org; Fri, 16 Aug 2024 03:58:29 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1serqt-0000N2-21; Fri, 16 Aug 2024 03:58:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1723795103; x=1724054303; bh=rdGTi+z4/raCNFlqsBuTceBX+ohaLBo+K31q79VIw9Y=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=wQj3U86l5oavA8LpU40hp7PzxE/UY11uiPTlcgeLlIzrk711AFUBwo12Ub/LUbJOy nf4Z/9JHbx4Ck6ZybzdpnpyhscOcJBDmw8QGLSH+j8Jf03vG4uMbR/iymywmPfNw7Z 2eXcWTG8KOuGBpP3mx5Q9Ck4OeJzky/8cgqGncr85ipP02ha/ZG2W/3oNNdz9dxbfY zwA82SgjXGaZa4q1wUe6cTXLMdsw35k9hZJtO4UOQyV6V8t+nBifXJl23AoeuLoiMJ rUuFQD1GuGgbKg0HzlppExxeZUY1vX24MAPftOD+96HA+sniByH2PjEdgQBbzMjOIX XnugxI3oapEAw== In-Reply-To: <86v8006h8m.fsf@gnu.org> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 2cd0c4a49508c64ab7ec86859c9c6318512f2136 Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 16 Aug 2024 06:46:40 -0400 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:322804 Archived-At: "Eli Zaretskii" writes: >> From: Helmut Eller >> CC: emacs-devel@gnu.org, Gerd M=C3=B6llmann >> >> Date: Fri, 16 Aug 2024 09:32:14 +0200 >> >> The patches below add a command line option to configure MPS. It can be >> used like >> >> emacs --igc-param pause_time=3DINF \ >> --igc-param gen_params=3D64000k80%,256000k20% \ >> --igc-param commit_limit=3D1000000000 > > Is there any way of changing these parameters when Emacs is already > running? For most parameters, yes, but the generation chain parameters can only be set when the pool using them is created. It's possible, of course, to create a new pool for new allocations when the parameters change and use that, but then we'd have to keep track of obsolete pools and that would complicate things further. > It is quite un-Emacsy to allow some configuration only via > the command line. Also, relatively inconvenient, since you must > restart Emacs each time you want to change these parameters. Unfortunately, the generation size settings have a huge influence on performance, so we might have to implement the pool-switching thing after all... Pip