From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 10:21:43 2020 Received: (at 39728) by debbugs.gnu.org; 25 Feb 2020 15:21:43 +0000 Received: from localhost ([127.0.0.1]:55965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6c1m-0004Mb-P7 for submit@debbugs.gnu.org; Tue, 25 Feb 2020 10:21:42 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:36976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6c1l-0004MP-2V for 39728@debbugs.gnu.org; Tue, 25 Feb 2020 10:21:41 -0500 Received: by mail-qt1-f195.google.com with SMTP id j34so283923qtk.4 for <39728@debbugs.gnu.org>; Tue, 25 Feb 2020 07:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+1/V3oHsEuRIiui8lAj98kNIISS4d4tLP3Rs9F3P1lI=; b=dY2JC989BJI5p8S4030g2j+TSohWLiD5V/f0oMbwVy6Q6Zt+vavIz6PJV7AlkqaJCG 0YXzgVhbORdOKLZWxmE7iW4/2Q7H3/FnOgHqfz2R8Z9m/IPE7gHkLo8RCiarG8CUTB1G Pzp9q5CEtwMZbz8IM1DcfdaMAZIQvSae94UoNvsGHI6//jCFujWq87BUNDVGHuXCh3d5 KmR2AC4FoibadoyDeXhKrsS67RnsB4y1NZRVtaFOeJRXolT5+PsRDhPxjVoOPLa6rY5H 9+F7gJ9Mi6u+V3EoHwErLGDiwUnrEuKy8HBvS4Jf1qD1OCGQ4sZNObEX5YCe4EqTQgax 9TNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+1/V3oHsEuRIiui8lAj98kNIISS4d4tLP3Rs9F3P1lI=; b=qI1pd5AkVewGGur9Sb3JH+5IWywsSebC9XcCyDTZiv622s1xkzefXXax1fkMLm6+ss 3B6RpaolPsG8krABcRayCny6jk7TmXHJ86RFGXRU/Sf40V2UuBUwyec5OTOUkp1kPPe1 tiD3X+77iB/sxpnTx1ojNQhD+ALZndGUo4WoMTa26lfhr2W/43+cqAa9+MbFvCzS9/Gz JO5o50w4wwejTuCXtcEAPMQ5cTKepmNPAtkoC4pEH+CwRuvJJ1PVXPLtK608kQuDZ8wv 0Vl9NodWQXWul/rivKKiJkasdpDu1KWJ+FYoA2E47dnC5+DCpm623LQcbGfE64OlfJaP IRcA== X-Gm-Message-State: APjAAAUYod/euVyTodv5tttewnPsZbS3UCb9TFgErkQM7VOyBG6gDQZe Y8zcjFBqpm7mDndsMm5nn21KlA4LP0JQ3KLhYQg= X-Google-Smtp-Source: APXvYqx6bm3ffEwYK3nccAIBnBkPm95NA6PxsWaHzTP2Wmlt9vJOcIN1F9szevxrjboIJcOnvAOk+1EkmX88ZssgLq0= X-Received: by 2002:ac8:550a:: with SMTP id j10mr56073537qtq.354.1582644095513; Tue, 25 Feb 2020 07:21:35 -0800 (PST) MIME-Version: 1.0 References: <20200221235307.535fb453@tachikoma.lepiller.eu> <87h7zfel26.fsf@gnu.org> In-Reply-To: <87h7zfel26.fsf@gnu.org> From: zimoun Date: Tue, 25 Feb 2020 16:21:24 +0100 Message-ID: Subject: Re: [bug#39728] [PATCH] Allow parallel downloads and builds To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39728 Cc: Julien Lepiller , 39728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Julien, On Mon, 24 Feb 2020 at 22:43, Ludovic Court=C3=A8s wrote: > Julien Lepiller skribis: > > This patch allows to count builds and downloads separately. The idea is > > that downloads need bandwidth, but no CPU, while builds do not need > > bandwidth, but need CPU. With this patch, guix will be able to download > > substitutes while building unrelated packages. Currently, guix needs to > > wait for the download to finish before proceeding to the build. This > > should reduce the time of guix commands that need to build and download > > things at the same time. > > > > What do you think? > > I think it=E2=80=99s a good idea! > > I wonder what the UI will look like: (guix status) would no longer > display a progress bar when there=E2=80=99s more than on job (build or do= wnload) > taking place at the same time. Speaking about progress bar, it could be nice (as an improvement) to have a concurrent progress bar. As an example, see: http://hackage.haskell.org/package/concurrent-output > It would be great if you could test this patch for your daily usage. I > find it surprisingly easy to break things in the daemon. :-) How can I do that? After the 'make', how can change the daemon? And then revert it again to the default one? Cheers, simon