From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Merging scratch/no-purespace to remove unexec and purespace Date: Tue, 17 Dec 2024 18:15:49 -0800 Message-ID: References: <87zfku6ra9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Pip Cet To: Stefan Monnier , Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 18 03:16:28 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 1tNjbu-00058i-OO for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Dec 2024 03:16:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNjba-0002Vo-Oi; Tue, 17 Dec 2024 21:16:07 -0500 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 1tNjbX-0002Va-Qv for emacs-devel@gnu.org; Tue, 17 Dec 2024 21:16:05 -0500 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNjbO-0004xz-1z for emacs-devel@gnu.org; Tue, 17 Dec 2024 21:15:58 -0500 Original-Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-aa6c0dbce1fso828057266b.2 for ; Tue, 17 Dec 2024 18:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734488149; x=1735092949; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=69UVuzqgN5kxvvRk7+pt7HgfhIRas0PeUcFU+zKjCls=; b=GlRCE4kKXYfCebaYZSyI2uQr7fH56HsAT6jtBBiDYwArZs6pdO3QvElezoTkEWpfhA Zl7U4aDpfWBPCNqnGF8y6ECAHsuA/TkQTxNJVY2KqfGmxm3f7wZSEYPjOAPtM5X6CHt/ woxmVapufHBXi5+fBZYXuDN0v5ANmDIXyoBBpiBTYH5YqFOSxxpK1h5w9Vzd0fB9C8HB 5dOEhLJdbc/64MTS/nVc6w8zFe5YChtqlzkFoy1hNbas86oPJWN3/M5dR3Vvgh8uS8fw ykAS2dJU89eK71NFb3W6yi7VkYZFHRnjowiCd7YFXlgjDW7LdjTXZliVal1G71r4+5oP urdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734488149; x=1735092949; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=69UVuzqgN5kxvvRk7+pt7HgfhIRas0PeUcFU+zKjCls=; b=OPDCFqGkJfDSoFvv4xjHU6u5TK28XxDMfm6efcVaP7uvhUnuWDFUrGAfpetzLoRZHp AuEw4O7KrsFWtlcMSu17fXfY4CtHlQlgWPTbD87FkETm2TWGFBFRkHtF8CCKB4/HFauD oOIVAjJOcoFSoUSNCnIxjtdCAJWLIMqsF41QuLncF+laZ9eB5q1In6FIFZ4A/ubL3CEY OspFhtchoWMVQ6OOVVk0XFr87M5TikF531RCawVVVlKEsPidkpTz6Vr89E9XPKvl1Bu5 ZFdR48WoLTiFFkYoeIJnUvI6kXWiiQj8NCz3NUOkSFCO79hijl1DprgAbIaB7ei5E63k 4BTA== X-Gm-Message-State: AOJu0Yz3oDYm4W2SwRU8KaBmQwmu9kjMO0z+gxed+3JePNtC8vH0U2YV koSN3BdAADfcrGZSgNU9vXpuArCbvZtnUrT3o5M4mB3wJYv0tYM5HITg23f1GINOcT4jq7uAgmk F1JTGsjavZMLXv4N4ZKHlF9+doUA= X-Gm-Gg: ASbGncs4waMd3iu3ZFPe/TiD5OlDtHyrqtB46II7rWfo8f+TTRut9jn+1OVNl/MCzrx bLReoKuayFKFzakownmvhieuUJJ4EtptJG+cl/g== X-Google-Smtp-Source: AGHT+IHi9afxCwAFRNMvc164DYYRgpEfJZPjJvGQ9sG5CWa9E78Sw54Oa29cgpcc7HSzFkTSEyUoMO7T/NgLKMvDgm8= X-Received: by 2002:a05:6402:2548:b0:5d2:7270:6128 with SMTP id 4fb4d7f45d1cf-5d7ee3ef3eamr2570543a12.25.1734488149372; Tue, 17 Dec 2024 18:15:49 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 17 Dec 2024 18:15:49 -0800 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=stefankangas@gmail.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:326625 Archived-At: Stefan Monnier writes: >>> We, the maintainers, believe that the scratch/no-purespace branch is >>> now ready to merge, and would appreciate any final feedback, testing, >>> and code reviews. Specifically, the branch has been primarily tested >>> on GNU/Linux and macOS, so testing on other systems would be greatly >>> appreciated. >> >> Do you have an estimate what removing purespace will cost in terms of GC >> time? I mean something like "1ms per collection". Or perhaps a >> suggestion how I could measure it? > > In the pdump case it should have no effect at all, or maybe even > a slight *speedup*. > > That's because the pdump already fails to take advantage of the > purespace (i.e. the GC traces through the purespace like the rest of > the heap). I'll note that the best solution to that is to have a generational GC instead. Simple, right? It's not entirely unrelated though: among other things, one reason why merging this would be good is that it would reportedly simplify the work on the igc branch. And indeed any GC-related work now or in future.