From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EEGaMs014V9sAwAA0tVLHw (envelope-from ) for ; Mon, 21 Dec 2020 23:54:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eNplLs014V9RbgAAB5/wlQ (envelope-from ) for ; Mon, 21 Dec 2020 23:54:53 +0000 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 373279404FE for ; Mon, 21 Dec 2020 23:54:53 +0000 (UTC) Received: from localhost ([::1]:43936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krV0t-0002gg-Tl for larch@yhetil.org; Mon, 21 Dec 2020 18:54:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krV0V-0002gZ-Mk for help-guix@gnu.org; Mon, 21 Dec 2020 18:54:27 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krV0U-0004cw-3k for help-guix@gnu.org; Mon, 21 Dec 2020 18:54:27 -0500 Received: by mail-wm1-x32d.google.com with SMTP id r4so490853wmh.5 for ; Mon, 21 Dec 2020 15:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=LV/ZnucEqT4Kyevxvw/viZmttBsuCavatazoCXUo+D0=; b=VSsj17/mxZEcsNH0eXjwPrgN1ohEh86lttKqqn1HJ3qyS6P6WR4+WiY6ydEhFI4hH7 8RgF/RXq958LCzUtlZXh/1aMr0/sjMy4P8w2fl1ZNrHVX+DqNjHLEjiU7iF4mPKchGKY oE0dGlHg+mUsg92qxWLtsNKNjEpyfd4hYmyl36u/f53L//5FK8bV9rhhm3Pm1iclnM6f 6UuCpzt122nT1Aqlg01JJzl/63rpQDhjAh7MtAwatQ1Nj1yMcJg6dT4Yx/QJpP5TUNJi imDNeHfcZi6AhVeqRcMDbuSxxVdlMbxQnG2j29xQAD7D1rrczhMinM4SGp2xENxC8Z8B nKUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=LV/ZnucEqT4Kyevxvw/viZmttBsuCavatazoCXUo+D0=; b=LEUzjyuSc3uQE3yPZPkVXeaE7hL3noUwKBFNbHSLGCtl5gct8LGpmmJ4fUQfydfQq4 SkqaZkzuWRGa4mUxlyYHmwwi6rGcmCSzpXPuQPX9L+CFXBx2QHtcwA2OwNooqcQtZe/5 lWyOb9noD5p0em3R9joEQZF6o6XbGs6498NQDXrye8uciPKUXlcUst099xWTimhmIcx1 E4e8zZxyXs4ByZGVNeXKECUXrkA6V+jScRKl9TFfeb3g/jlJx5IdDItePKBPh06f/pQs 6UY6qZ2G2GRrLnSvlV/XPtn3mRsy+VHGOiZjLSuAUu6RQauy3IdF94xp5UEUeKqCDtB7 g8cA== X-Gm-Message-State: AOAM532lqnZa057D/lR+hUVQSyWgd3ZDQEnFqajZAymxQL7pAPjHj3E3 K45q9CI2NIqbWmUexmHtYwVWSlAy56o= X-Google-Smtp-Source: ABdhPJwzguzesCjL/oz9OqW0UxEn+UbZvVrDHTAduu8/lFK/cDje8xZv1Qib1QVHJyVmRy/4HtcBnQ== X-Received: by 2002:a1c:bb06:: with SMTP id l6mr19603362wmf.112.1608594864018; Mon, 21 Dec 2020 15:54:24 -0800 (PST) Received: from lili (oul69-1-82-232-2-3.fbx.proxad.net. [82.232.2.3]) by smtp.gmail.com with ESMTPSA id w3sm26143732wma.3.2020.12.21.15.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 15:54:23 -0800 (PST) From: zimoun To: Pierre Neidhardt , help-guix@gnu.org Subject: Re: Install `guix pull'ed Guix to target partition on system install In-Reply-To: <87k0tbkkxv.fsf@ambrevar.xyz> References: <87ft403kol.fsf@ambrevar.xyz> <86zh279xt0.fsf@gmail.com> <874kkfny4m.fsf@ambrevar.xyz> <86tusf9ukk.fsf@gmail.com> <87mty7mggk.fsf@ambrevar.xyz> <86ft3z9sao.fsf@gmail.com> <87eejjmd0l.fsf@ambrevar.xyz> <86a6u79lbg.fsf@gmail.com> <87pn33ksu0.fsf@ambrevar.xyz> <864kkf9ji7.fsf@gmail.com> <87mty7krqn.fsf@ambrevar.xyz> <861rfj9hbk.fsf@gmail.com> <87k0tbkkxv.fsf@ambrevar.xyz> Date: Tue, 22 Dec 2020 00:50:17 +0100 Message-ID: <86y2hq90sm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VSsj17/m; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 373279404FE X-Spam-Score: -3.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: U5gQpcg0TRlQ Hi Pierre, On Mon, 21 Dec 2020 at 20:39, Pierre Neidhardt wrote: > On a related topic, if 2 users "guix pull", is the whole checkout cloned > twice? >From my understanding yes, as I explained before. Well, I have never timed when installing in a WM a complete Guix System with the installer. So I did with Xfce selected; it downloads some pieces, and it took me around 40 minutes with my connection at less than 2Mbits/s, from selecting language to the reboot. Then I boot the installed VM image, open a terminal with the regular user and hit =E2=80=9C= guix pull=E2=80=9D. The clone part is fast, couple of minutes, but then it down= loads a lot of substitutes and computes derivations. This first =E2=80=9Cguix pu= ll=E2=80=9D as regular user takes 20 minutes on my machine, mainly downloading substitutes. However, from my understanding, it is unavoidable because I used the v1.2 image installer, therefore somehow, I fetched all the substitutes from v1.2, then this first =E2=80=9Cguix pull=E2=80=9D as user fetched the = substitutes corresponding to origin/master. But you did not do that and instead did: - guix pull -C my-channels.scm - guix system init ... /mnt=20 - reboot Did you use Tor or something? And what does =E2=80=9Cguix describe=E2=80= =9D as root say? Note that the first =E2=80=9Cguix pull=E2=80=9D for another user (right aft= er) takes only 6 minutes, mainly cloning the repo. Basically, on this first =E2=80= =9Cguix pull=E2=80=9D for another user, the cloning+authenticating takes on my mach= ine ~5 minutes. This part could be improved but it is done only once, take less than 5 minutes with less than 2Mbits/s, so currently I am not convinced that it is really the bottleneck when pulling the first time from a release image. Well, it is for sure an issue with low-bandwith network but Guix is hard to use with low-material though and cloning is maybe the fastest part. ;-) Cheers, simon