From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: Parallel downloads Date: Tue, 12 Nov 2019 07:59:44 -0800 Message-ID: <811C4D1E-A2D9-4661-9F10-C068FBE2CA80@asu.edu> References: <87r22dp0mv.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49384) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUYa4-0000qV-HQ for guix-devel@gnu.org; Tue, 12 Nov 2019 10:59:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUYa2-0003qi-L5 for guix-devel@gnu.org; Tue, 12 Nov 2019 10:59:47 -0500 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:38408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUYa2-0003qG-GW for guix-devel@gnu.org; Tue, 12 Nov 2019 10:59:46 -0500 Received: by mail-ot1-x332.google.com with SMTP id z25so1424497oti.5 for ; Tue, 12 Nov 2019 07:59:46 -0800 (PST) In-Reply-To: <87r22dp0mv.fsf@gnu.org> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org Hi everyone, I=E2=80=99ve been watching this from afar and one thing and while I have to a= gree with this: > .. I suspect there=E2=80=99s little to > be gained by having several connections in parallel. I do have to say that more fine grained concurrency would really help speed u= p builds without substitutes. Especially on old hardware, some builds can actually exhaust all resources.= That means you can=E2=80=99t really get a speed up by bumping the max jobs.= =20 What would help is doing downloads of sources and substitutes asynchronously= while a non-substitute job is taking place. If some network activity could b= e backgrounded, I think you might find build times decrease a lot.=20 Thanks! John