From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Parallel downloads Date: Tue, 12 Nov 2019 12:44:42 -0500 Message-ID: <20191112174442.GA25397@jasmine.lan> References: <87pnid3qdh.fsf@ambrevar.xyz> <87k18kyjlm.fsf@nckx> <87wock97ye.fsf@ambrevar.xyz> <87k18h3tii.fsf@gnu.org> <87muddm110.fsf@ambrevar.xyz> <87eeyl10jq.fsf@gnu.org> <875zjxq978.fsf@ambrevar.xyz> <87h83d7xsn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35422) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUaDs-000154-W8 for guix-devel@gnu.org; Tue, 12 Nov 2019 12:45:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUaDp-0007iS-Ec for guix-devel@gnu.org; Tue, 12 Nov 2019 12:44:59 -0500 Content-Disposition: inline In-Reply-To: <87h83d7xsn.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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org On Sat, Nov 09, 2019 at 06:40:56PM +0100, Ludovic Courtès wrote: > Like I wrote, it’s not that simple (we’d first need the daemon to > distinguish substitution jobs from other jobs, but note that there are > also “downloads” that are actually derivation builds), and it’s not > clear to me that it’s overall beneficial anyway: it’s not supposed to be > faster to download 10 things in parallel from ci.guix.gnu.org, than to > download them sequentially. Parallel downloading is not faster in terms of overall transfer rate from ci.guix.gnu.org. However, installing things with Guix involves downloading a lot of very small files like derivations, and Guix spends a lot of time initiating these downloads. For example, I can download things at 100 megabits, but when Guix needs to sequentially download 50 10-kilobyte files, it may take an entire minute. So there is a huge speedup with parallel downloading.