From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OJs8E6CM+WSaQwAAauVa8A:P1 (envelope-from ) for ; Thu, 07 Sep 2023 10:41:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OJs8E6CM+WSaQwAAauVa8A (envelope-from ) for ; Thu, 07 Sep 2023 10:41:04 +0200 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 D3FFB44BF3 for ; Thu, 7 Sep 2023 10:41:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=iiIXyE0U; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=jpoiret.xyz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694076064; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NpVyr7BhFsL+kQyvTQD0wqFFYncbkmlyI6KDRMIIuDw=; b=UD7J4+jXEG3r7eli8/ux/MamUx/uz4Tqaz4FJVyjLqjb8i0xG6rDu0beHZwLtdT3zgfwo1 wYi3p61qXF89WxAMlxhz5FlROo6KXHTtbmLO8q+h87pdGrt+PXM5PmLYthVyJx9ZN5wD7R +t5aeaPhBRMTqTvxmXrRbty2mP60wibWFrw9MStEt7mqPm4Abo3ORqnWBg6UPWRJyKYsNV /Afn18aviY44pFamA6vl/iWIkzhmucNgEImTGKXvs3j/jffmfDksuxJ83LIQNToSNpVI4m cDYRY2shbzgDxETLkf43HTkN3bHOc/U67+j6CCXZrxYLoNRQXuK6LdAqa6PDoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694076064; a=rsa-sha256; cv=none; b=fZXXYh6HVHbxs/N+7B3kpn/YAcwURGk4D8S09BO+q5bbltEMvleAGyvUT6ZKpOQ3uyqKbT SzglaQHSLZf1/kssJvsxDPa7CV/snuhkDVjCWDDFeXzUzWhq1zPRm/BycUhdYlVMBqEdEH Nkl9Tei8iKbk1H/sotOip/7QQzdWhprroYU4Iv34lUpGD2hcLfilKaS+xuu7GvXE5CBwvu zdQmRrmJVKpud6J/jhEGkskJCcW8eZg0CX023EaOeYL7EG85oXoLPTzHYMwYK4yT83z88l FQ//8AH+N551WBfzl9E9MDvJ+ZVA28aBh6z5B1eqi/WmnbUyCSbZr44UTWV4Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=iiIXyE0U; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=jpoiret.xyz Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeAVn-0007dH-H8; Thu, 07 Sep 2023 04:37:15 -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 1qeAVe-0007bL-C5 for guix-devel@gnu.org; Thu, 07 Sep 2023 04:37:06 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeAVa-0005oK-Rv for guix-devel@gnu.org; Thu, 07 Sep 2023 04:37:04 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id AB46C185310; Thu, 7 Sep 2023 08:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1694075820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NpVyr7BhFsL+kQyvTQD0wqFFYncbkmlyI6KDRMIIuDw=; b=iiIXyE0UG3irfWEFIEhVw5Zf32zHmFMr6T0lnP4BHeDbGUTgVFkL+qRAibnUJ79NxAGzJG w1hMvbHcx0VAIPZWouh3aUONvRMo5XAi3HcmsT4a7/Efgaf2EH2mxOpIjb8534OV1ll1de 3SCm30SoXruH8mppwlocLxeUENlW1gX9De6SmdbJWzWSJmdQEl6xym3g/CAZsQ5BYoiwbA HGB4Y3HL+t/XgmflA1u3/htYN6CanYSyJkDb/LPo0UBKA7KdbXKSrNO2LGb22Z5f52mNmL wOiPx3BTNP2KhPSBH4feU6veTZUzSNH9I3/ZXNPA3yiaNWRBpuuEI9JFdRKyUw== From: Josselin Poiret To: Simon Tournier , guix-devel@gnu.org Subject: Re: Guix pull speed In-Reply-To: <86h6o7nkzx.fsf@gmail.com> References: <87wmxe3vsa.fsf@jpoiret.xyz> <86wmx4r082.fsf@gmail.com> <87edjbvdn8.fsf@jpoiret.xyz> <86h6o7nkzx.fsf@gmail.com> Date: Thu, 07 Sep 2023 10:36:56 +0200 Message-ID: <87o7ietm53.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: -- Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -11.86 X-Migadu-Queue-Id: D3FFB44BF3 X-Migadu-Spam-Score: -11.86 X-TUID: tZfk+svQ60jo --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =2D-=20 Simon Tournier writes: > Do it copy on the fly? I mean, is it first written somewhere then moved? It just copies the output of the building process, which shouldn't be too big. It's waiting for build output though, hence why it's taking so much time. >> It's building the same! Just that building the derivation takes way >> longer because it has first to load a bunch of uncompiled guile files. > > Well, I am not sure to follow. Is your point not about why it > takes longer? > > If it is the same, these 5 seconds is not why =E2=80=9Cguix pull=E2=80=9D= is slow, no? It's the same process, but in one case it's done with an already compiled tree, so loading the files is instantaneous, but on `guix pull` the tree is not compiled yet (that's the whole point of `guix pull`!) and so loading these 300+ guile files is extremely slow. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmT5i6gQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaioRqDACMCUWuswHDmHOcmaNX9r45DZbm7p5w+mEF /+8wLoPqk0oD+5REOfuGPnDSvVCDChzbJvoqUMcttApSZH+A3mXOeMGYQ0EIy0ro v1W5NZbVHqOGIMg2OCotYQ7rjVJH3Sydro31DlDo6hCY4IoqEjrzwOza98zM8HNa nFpic+nUEtn/NmZ5yicy3bbigMisvO1SfensDTUVLdORhkdcIwSwDLGrPeDCRV4L mUBQUbS8uLp9QuzDdExBo5y9Iit6esTWR6SrLSfTRy0Bp674Ija93nZIwduGvFWj 7X+tBH/ed3j+GAs6xCvyZKwPeKaTG2IraJTjc46FG4nHJODUs5VPeEWcoRjN7Mj2 4+nD0J2R7IJVzyggaJkmsJC/UwH/DznJPR7fJT2/WrySlA9S3Kgy+3nSGCvQyXZP LGT/11e+//j7NOuuV9PS8FU09KsnFsqVWsxScuixff7W+BSiXqUgCQXQF/+MC4F4 GOy+ArUgmCgZ0tBUPZuukzbhXhIDBYE= =812O -----END PGP SIGNATURE----- --=-=-=--