From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57640) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6c27-0006qq-J3 for guix-patches@gnu.org; Tue, 25 Feb 2020 10:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6c26-0005aF-E2 for guix-patches@gnu.org; Tue, 25 Feb 2020 10:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6c26-0005a1-A2 for guix-patches@gnu.org; Tue, 25 Feb 2020 10:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6c26-0004N9-57 for guix-patches@gnu.org; Tue, 25 Feb 2020 10:22:02 -0500 Subject: [bug#39728] [PATCH] Allow parallel downloads and builds Resent-Message-ID: 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Julien Lepiller , 39728@debbugs.gnu.org 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