From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qKNOBs6RHmZZPwEAqHPOHw:P1 (envelope-from ) for ; Tue, 16 Apr 2024 16:57:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qKNOBs6RHmZZPwEAqHPOHw (envelope-from ) for ; Tue, 16 Apr 2024 16:57:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cGGnglsf; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713279438; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=t90L+OB5BISyRKfR9v0ywCk/IVZQGkBOEyhdcFpKAjA=; b=OuTwhTW89veUP/1sMertoYfJASjATTUgTUX+PA6QK67oj2b1XXDW1Dtt4K+JzsQPn0Ko+a 0zk4LeC18qsEcEJ0+LJuWYt9EQzrbgnmaTfPnb9+ci+ZRdrVVtaPukwakBrwxM5dBrX7QW BJC5w5QbV9iHENJeM3L+/Ntdz64h46jYMBe11iXGNk73xc9AXRm7OK+qeoBc6uKfPqLD4s /cgUr9ea6dA5hHW0kLP3CnN0qAmXu4P+QQoF9QIpcWhEloof3mnyW1K27SKRteSAaFaka6 Zr/zjoJpegeVX3ZKvrgsx3Z4ibetxbIVBtaI1kZVSKmXmcYYfgoUpd8nWUFFUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713279438; a=rsa-sha256; cv=none; b=dm1i62luYX+9eeHXoOMQT8qizFgghD1JYvjwiRraaFqKjAjixzDZSdlvpYmRz9eTNFT9HL ojORinZLYsIAMLxHGjHttUSZ9vLXHxxykd4qPLnJwt1PaLbkTln8r6f4h0Lkxe2x+cv5WS 76g6XL1OAUOPSvONC/1keel2EVzq+5MTJv13rEb5/hahKbddFr2IGYhdjc/idTuUXPtYfl BYKEMvbF0P3jk5urb0PE1e8DLrlIZXyxiAKdR6mIZqVSa1iHDN91GZ1tTvu0S2e7cecBxw 921AFtiYaGDg30jI40fQnQL9EkUFZIB2sCzoVhKVl5Wa4kuS34ouG0dL+Kx1Ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cGGnglsf; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8099513740 for ; Tue, 16 Apr 2024 16:57:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwkEz-0006sV-4W; Tue, 16 Apr 2024 10:56:57 -0400 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 1rwkEu-0006rv-MH for guix-patches@gnu.org; Tue, 16 Apr 2024 10:56:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwkEu-0004TA-E5 for guix-patches@gnu.org; Tue, 16 Apr 2024 10:56:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwkF6-0000Hy-63 for guix-patches@gnu.org; Tue, 16 Apr 2024 10:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70303] [PATCH 0/2] Use guile-final for grafting. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Apr 2024 14:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 70303@debbugs.gnu.org, Christopher Baines Received: via spool by 70303-submit@debbugs.gnu.org id=B70303.1713279390900 (code B ref 70303); Tue, 16 Apr 2024 14:57:03 +0000 Received: (at 70303) by debbugs.gnu.org; 16 Apr 2024 14:56:30 +0000 Received: from localhost ([127.0.0.1]:44349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwkEX-0000ES-Q9 for submit@debbugs.gnu.org; Tue, 16 Apr 2024 10:56:30 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:59418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwkET-0000Cz-5t for 70303@debbugs.gnu.org; Tue, 16 Apr 2024 10:56:27 -0400 Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6ea2f95ec67so2334949a34.2 for <70303@debbugs.gnu.org>; Tue, 16 Apr 2024 07:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713279367; x=1713884167; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=t90L+OB5BISyRKfR9v0ywCk/IVZQGkBOEyhdcFpKAjA=; b=cGGnglsfgMT4MaLf1tBhYUgW9teBONkis4p9GZHqHbg2bgOMGGQP8+rLyz7WWbB7bG y7m785JqnXMym9Ip1FgCeqbEmSVfuvtr4ZqqbO7RrY3OdzilOnwoss1A8WFOVK8jyWe2 aIGJqcdS52L0oJvu5KJ/oeCy87fgWfIbqiaQ86zoKlTB6pEmYzG6PFXg4xNv82BzRKj7 CUpjOCOLCb5sxbtua9RKdbspt4SmUKqqlvGrru5FmdII/Wl5TB08Dn2vW5P2t0re+Snr z49zJRc2Gsw3K70V9/3qs7tzxBK2xZTcTQg/BefBEwT/GN5RDXKkEVrzOV/mU8oEcxZU Sa5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713279367; x=1713884167; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t90L+OB5BISyRKfR9v0ywCk/IVZQGkBOEyhdcFpKAjA=; b=lDbK3UsVuKf8+vzu7mZKFz5maI2Az4K0P3Cq6oljc84C22Lj2wOURZlJxcQU6daCRA I+41p1Ibq/OxEqaLGdzf4VjqO8CCBZXaOEIGPM6FDuaZh+N/NlBOAn0xhK7U2kULbYWV /RXGWVZa5pVK32gZ7SyCUIOMuGVmGv1Sk6MtPUZWet4bPQqx/rdZfitzcMvhfKYwOHqF jXWV4CY9x9WQPdalmucovl1NgxsR74qcdb1vjgwTwPnFeVCj747bHHWrbik2wYSL21BI VMjzianjbv5tH8sjhDcdGS1qxD9zRrZLrkVuzppqD9CVz44Iq7l/L1wLukNI/5JEZhH5 ib2A== X-Gm-Message-State: AOJu0Yx31+2dWot10gHO68Fb4969HF+N/uPIRxzTFOknGpOb+mp1itA8 t/4D1iZshmAseqSTz04Eze0Hv9WokVGtX/EhzfK0BmBTyg0zBTTJ X-Google-Smtp-Source: AGHT+IH2k/tiBeAKaZF+nd/NgTXfWg+RE9Pnl4Disme7Ww5UyraR8YyqLApSCKwG/rG2eCMTDkj3qw== X-Received: by 2002:a05:6830:1484:b0:6ea:186d:3795 with SMTP id s4-20020a056830148400b006ea186d3795mr16071357otq.12.1713279366712; Tue, 16 Apr 2024 07:56:06 -0700 (PDT) Received: from localhost (ool-ad039216.dyn.optonline.net. [173.3.146.22]) by smtp.gmail.com with ESMTPSA id i22-20020a05620a0a1600b0078d75b9fb37sm7607159qka.32.2024.04.16.07.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 07:56:05 -0700 (PDT) Date: Tue, 16 Apr 2024 17:56:04 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 70303@debbugs.gnu.org, Christopher Baines , Josselin Poiret , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice References: <87cyqqz7z2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3iV5gRDojkoIgieN" Content-Disposition: inline In-Reply-To: <87cyqqz7z2.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.48 X-Spam-Score: -5.48 X-Migadu-Queue-Id: 8099513740 X-Migadu-Scanner: mx13.migadu.com X-TUID: ZsiQSAyvKkIc --3iV5gRDojkoIgieN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 15, 2024 at 10:28:17PM +0200, Ludovic Court=C3=A8s wrote: > Howdy! >=20 > Efraim Flashner skribis: >=20 > > Over the years the grafting code has changed bit by bit, with various > > attempts to speed it up. By switching the grafts to not use parallelism > > in rewriting the leaves we can finally switch the guile-for-grafts to be > > guile-final. The segfault is still there if we perform the grafts in > > parallel, but I believe it is fast enough that it should be fine to do > > them sequentially. >=20 > Could you time the grafting derivation of, say, libreoffice or > ungoogled-chromium? >=20 > Typically I=E2=80=99d do it along these lines: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix build libreoffice > /gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1 > $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' > $ time guix build libreoffice --check > The following graft will be made: > /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffice-7.6.3.1.drv > applying 137 grafts for libreoffice-7.6.3.1 ... > grafting '/gnu/store/5flppg3h8y235di2ilr3sx878gfl82db-libreoffice-7.6.3.1= ' -> '/gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1'... > successfully built /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffic= e-7.6.3.1.drv > successfully built /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffic= e-7.6.3.1.drv > /gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1 >=20 > real 0m14.921s > user 0m7.588s > sys 0m0.389s > --8<---------------cut here---------------end--------------->8--- >=20 > (That=E2=80=99s on my 4-core i7.) I'm currently vising my parents for a few weeks during the Passover break, and I've already lost connection to my desktop at home, so I'm currently running the tests on my pinebook pro. The first one is with the patches applied, the second one is without the patches. I have the guix-daemon on my pinebook pro to use 3 cores, but I'm not sure how much that would be honored by the grafting code. (ins)efraim@pbp ~/workspace/guix$ sudo sh -c 'echo 3 > /proc/sys/vm/drop_ca= ches' Password: (ins)efraim@pbp ~/workspace/guix$ time ./pre-inst-env guix build libreoffic= e --check The following graft will be made: /gnu/store/i2aml4p5yg7h090bdzjpaqmds47g26d8-libreoffice-7.6.3.1.drv applying 137 grafts for libreoffice-7.6.3.1 ... grafting '/gnu/store/yd9slkfhdl8lzhhmhm40airimwb6yhj5-libreoffice-7.6.3.1' = -> '/gnu/store/1cfjx934czp641v4fmwsz2js7158ivgm-libreoffice-7.6.3.1'... successfully built /gnu/store/i2aml4p5yg7h090bdzjpaqmds47g26d8-libreoffice-= 7.6.3.1.drv successfully built /gnu/store/i2aml4p5yg7h090bdzjpaqmds47g26d8-libreoffice-= 7.6.3.1.drv /gnu/store/1cfjx934czp641v4fmwsz2js7158ivgm-libreoffice-7.6.3.1 real 1m35.537s user 0m32.328s sys 0m2.521s (ins)efraim@pbp ~/workspace/guix$ sudo sh -c 'echo 3 > /proc/sys/vm/drop_ca= ches' (ins)efraim@pbp ~/workspace/guix$ time guix build libreoffice --check The following graft will be made: /gnu/store/2f6i7r77z8msbjlspsp0aq5vlpjqnifp-libreoffice-7.6.3.1.drv applying 137 grafts for libreoffice-7.6.3.1 ... grafting '/gnu/store/yd9slkfhdl8lzhhmhm40airimwb6yhj5-libreoffice-7.6.3.1' = -> '/gnu/store/xm3q8qsns8qqybq47zvv70n0y0qs4r65-libreoffice-7.6.3.1'... successfully built /gnu/store/2f6i7r77z8msbjlspsp0aq5vlpjqnifp-libreoffice-= 7.6.3.1.drv successfully built /gnu/store/2f6i7r77z8msbjlspsp0aq5vlpjqnifp-libreoffice-= 7.6.3.1.drv /gnu/store/xm3q8qsns8qqybq47zvv70n0y0qs4r65-libreoffice-7.6.3.1 real 1m20.573s user 0m29.688s sys 0m2.346s --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --3iV5gRDojkoIgieN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmYekXkACgkQQarn3Mo9 g1FKOA/6AkYCy6tWSGSq2MmVL8VMTv1bwPYUJ/TaRlHklkFxAIHv9D5oBmyCdmgP b64CGUT063HZNWcpzMTIkhuCIDXvAc8tKCcvl0y+pSMLHerbd2HHBZ1avxvJrdmO jmnAIazHlTt2WnJfMpZZbi6nC7uKjvSMRbtMzp5at06JpCEu2kwsxwwIFECZrrkb +q1H+Wh2HdbWXw/xVESkpv9htwcb4eFwsFXyQb16TewDEmame572xIRr8LzLAuhl CWBlWwKvShCC2VY3gDJwm9wI25zDPibko8FUeAX/BfDAXHlzdlu1j/FkN/aYM6AC Y368PVWV4zQaOnBNb7eVahY/ow7zJzYvh79aD1IMKnmleFxIFC6rBNB0BrBIlC9N dnLFXltlesHduD2AuQq+DMkR4Uvbf6l6uz6sTj3jkPm94hADFY0UtGGRhUlR9KX8 l3zE6dsTnv+uDw7I1LnW4g/psOsr7yl8cTckmZmH3HX0JGcga4aXMMV1mGCdnWa8 wEseLVlZMmqiKPNUhvD+eZAahEliSIK1UluPBRXzQ4XQu2j/1ol2IbzTx33hi8g2 04wJBUaLRDKkATjNbPO4iWk+FXltEkG/u9oDwPVQHew50qHHKLCOAiHY3wFkKAqx rt/XqxwbIOY8JvmLJlgo8cf8zbLLzExDh+Cw323PPY6Ft7xT2gM= =vluJ -----END PGP SIGNATURE----- --3iV5gRDojkoIgieN--