From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mC2lElAyv2J2bwAAbAwnHQ (envelope-from ) for ; Fri, 01 Jul 2022 19:43:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mES8EVAyv2K5rQAAG6o9tA (envelope-from ) for ; Fri, 01 Jul 2022 19:43:44 +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 F01693B8BC for ; Fri, 1 Jul 2022 19:43:43 +0200 (CEST) Received: from localhost ([::1]:52872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7KgB-0007Rn-6P for larch@yhetil.org; Fri, 01 Jul 2022 13:43:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Kfs-0007Rf-Tu for guix-devel@gnu.org; Fri, 01 Jul 2022 13:43:24 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7Kfr-000383-6m; Fri, 01 Jul 2022 13:43:24 -0400 Received: by mail-wr1-x429.google.com with SMTP id k22so4222422wrd.6; Fri, 01 Jul 2022 10:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=WpEKy6ZctvsicQPfahl8Fgswl9EqiZJSjU8Xe3Wh3Hc=; b=eBeme37Lo9EXpb27YJWDsvmeGtXtjX3czNUsFYwp3x12M/DukaOSRB8vzJLNiVb1NZ O947RiSwReNLLinT939BtHC+BFN41wK41RNdDDrNjOGpn2pNm6vBKn8Cjlm8144EHUvq CaWa6RrT8vnPeN4/9ewQaRv1d+BbS0ycJ9KvTBqaqPxQ/6KXx0GxALF7xawEewOnfXTE u6xJE6zQUcK6AwJ1OKOacBfjL/OfyOUm0kwjUrZhSXlYLUkZcCVylYBQIXo3vA/LfbsF lFkkDuj495nEApr7er/MGzUwpywWbeDPWWyBtR0bKdgQoFMBiuNHqhUkr2i5ZEzNstyJ 2CwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=WpEKy6ZctvsicQPfahl8Fgswl9EqiZJSjU8Xe3Wh3Hc=; b=p1G0hqXTk7uFhgrft4IjeubN9V69TH2TFxHT1mSRYwBQAyksPUftG1ce9n5BuGQokh inuBeslwJmmsLMv97hE8OXC+r1KWOCMyMSzta5t9B90SL+HYGUaper7N/oRcHQkhscM3 PK2iugBim26mnZyeQNgSSFyhn9ZPmIBRGMEHGTHcIu10QRACVHJBTKgKAn4I8SUlmIJV 2fvh7G49B8IB0bYMMSdqbEp6EkTNzPj/FlbPZpaKVdmAEx8ozc48XDR//6Kbt+Pr4jD1 7DH691d8olZ0R0X+8zx/hEDAjK3w1zWt2zPErKOxrohi5095J83Vf1sYgMkD78YQQDvh CJCQ== X-Gm-Message-State: AJIora/KWU8xp71GnSQZHFhRiINmDk7j0F81DOGc+BOqdtAc73+54iCB AbmnmAAmo07YbgCph++NoMpS0Cyez0U= X-Google-Smtp-Source: AGRyM1tYXBLNff2k3OGoH1Pf+FZYKKjzEeBc2pqpIIv/PkWTsh3KSitWcvFk5vie/V2M6Qhvzx+2IQ== X-Received: by 2002:a5d:688d:0:b0:21d:3f71:f33c with SMTP id h13-20020a5d688d000000b0021d3f71f33cmr9220352wru.82.1656697401556; Fri, 01 Jul 2022 10:43:21 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id x10-20020a5d54ca000000b0021b85664636sm22411236wrv.16.2022.07.01.10.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jul 2022 10:43:21 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Efraim Flashner , Akib Azmain Turja , guix-devel@gnu.org Subject: Re: First guix pull is too costly In-Reply-To: <87k08x3sjv.fsf@gnu.org> References: <87wnd1kycb.fsf@disroot.org> <86zghxdobv.fsf@gmail.com> <86czesenbe.fsf@gmail.com> <87k08x3sjv.fsf@gnu.org> Date: Fri, 01 Jul 2022 17:25:46 +0200 Message-ID: <878rpconwl.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::429; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x429.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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656697424; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WpEKy6ZctvsicQPfahl8Fgswl9EqiZJSjU8Xe3Wh3Hc=; b=mDLx4KLsAbI/wUY+I0DK4v8/FAhmn3lkfJH9m3lgK8AuvkDrfvoxnQUIzdJDdqpeh8WA72 0FPVOQvvm3yc/sc/HpFLIfiAawTATeLiZI7KSb+F+G7NF1lKfWkVj87Ax+9g6BEwkGwTFM Z3VmJ5fB7xRPvzCeYkPEviPpM6dV4iKQMbZsPN+8e0lPW/H5iZyZ8gUmP4TXkivsIC33e5 qWhoZ+qMjMlaP19AvETF7rHAD5mfimneJnIaYROCJ0Rl0P5vptyahJTc93ELFmG24QKuIP 4gdKoXR2Maz83n/FjqH92iwF11q5FvT2JiVdSFTA+T828RLwB7pDAswTLUNW5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656697424; a=rsa-sha256; cv=none; b=DbK+0/GWnKEcmCBFdOak9ZM4Ix9boafE68dq8kNm2aav2oqckFD/pfG2ZDYbRxC7YRAgbS KkPZGdGsUA6UjVbr0wZYaVOdqmcoNvqC1JodcwFDq8QOHgvf6hQXrgdTbRCbZ0MT7V0RfW FFUK7TgRJxLtjPjnXxViHTLrQpdHrCdFLelr6iv/fLcNDHWrfAe/sELhxBRFkY4E70tU/M JBCRdn7odUIsUK/8isX+ebFfcs1DkYDaheRJcJSq1x6YTq8fOvp2b0hxhfmfgRY7uxbQX6 VKrkYFxZUT49eLAzq48z6Uv0Y9NA1VZRxyGHhYqno2Gyq52JQnInHPnfBwPiuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eBeme37L; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eBeme37L; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: F01693B8BC X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Mlk7qJGQ7t45 Hi, On ven., 01 juil. 2022 at 14:51, Ludovic Court=C3=A8s wrote: > I was thinking we could have a =E2=80=9CGit checkout cache daemon=E2=80= =9D, so that > things currently in ~/.cache/guix/checkouts could somehow be shared > safely among users. Yeah, maybe Git worktree could be used. Aide the optimization of the first =E2=80=9Cguix pull=E2=80=9D, the current design is not totally safe w= hen =E2=80=9Cguix time-machine=E2=80=9D is intensively run: The issue is because concurrency. If two time-machines are run concurrently, they both update ~/.cache/guix/checkouts/ and the end result is hard to predict. > (That doesn=E2=80=99t help with the first =E2=80=98guix pull=E2=80=99 tho= ugh.) Yeah, but can we do better than mirroring Savannah and maintain a list of supported mirrors? Cheers, simon