From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GK3xB5WJn2FLHAEAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 14:03:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qP+kA5WJn2EUUAAAB5/wlQ (envelope-from ) for ; Thu, 25 Nov 2021 13:03:17 +0000 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 0C87A625B for ; Thu, 25 Nov 2021 14:03:15 +0100 (CET) Received: from localhost ([::1]:54728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqEPC-0000qV-41 for larch@yhetil.org; Thu, 25 Nov 2021 08:03:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqEP1-0000mK-0D for guix-patches@gnu.org; Thu, 25 Nov 2021 08:03:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqEP0-0001bn-5q for guix-patches@gnu.org; Thu, 25 Nov 2021 08:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqEP0-0001YG-2M for guix-patches@gnu.org; Thu, 25 Nov 2021 08:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39728] [PATCH v2] Allow parallel downloads and builds Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Nov 2021 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39728 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39728@debbugs.gnu.org, Pierre Neidhardt , zimoun Received: via spool by 39728-submit@debbugs.gnu.org id=B39728.16378453215874 (code B ref 39728); Thu, 25 Nov 2021 13:03:02 +0000 Received: (at 39728) by debbugs.gnu.org; 25 Nov 2021 13:02:01 +0000 Received: from localhost ([127.0.0.1]:56129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqEO1-0001Wa-7F for submit@debbugs.gnu.org; Thu, 25 Nov 2021 08:02:01 -0500 Received: from lepiller.eu ([89.234.186.109]:54130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqENx-0001WP-Al for 39728@debbugs.gnu.org; Thu, 25 Nov 2021 08:01:59 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 06274774; Thu, 25 Nov 2021 13:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=TD2ARY0iD0xl +aAO/Fi5uIXnhD23vtOdh6Gg8T921VY=; b=mF6MWhAo9QB4BA5A0CtplGEMHLGQ vfC2fJ+L2nTXkr4EiczF9KkpGDMFTwZEwBKyor4P1MrlFW2FgoIuZ/7AllUaLDsq TUF8butOTYPcWnt0mxFge1eDUMUeHA3liglEI4Unzt2UWv7nZmTxjSFWyC0YdRxy PnpgJmuiQxy7UPZPC4IvoBVfwUkScn3pDQX4MvUiiCIgwdDkcbsWCtXkO2/V9I8g cbkPP6ZUhPHP+xsAQ9hVBVIO7rGcoqKZDjUQJqP8+SoCufGLWrhoGe9R7u7ultRs JKVuEmNt6A8tGpmliJXgKkhQXkuhGC5ZBYJvvq7leAVECj4dyJbcig2ruw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ba4f2205 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 25 Nov 2021 13:01:54 +0000 (UTC) Date: Thu, 25 Nov 2021 14:01:45 +0100 From: Julien Lepiller Message-ID: <20211125140145.1c00decc@tachikoma.lepiller.eu> In-Reply-To: <87ilwge6re.fsf@gnu.org> References: <20200221235307.535fb453@tachikoma.lepiller.eu> <87h7zfel26.fsf@gnu.org> <62A3FE42-52DD-4E51-9AD1-242B86B6A391@lepiller.eu> <87zhd58wjz.fsf@ambrevar.xyz> <20211121234941.32724b68@tachikoma.lepiller.eu> <87ilwge6re.fsf@gnu.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637845395; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TD2ARY0iD0xl+aAO/Fi5uIXnhD23vtOdh6Gg8T921VY=; b=G4JQJTsO8mvjGrL4v87w4RLuSotR/uoKRpLNUQck+iRxrX/xuL+5UguVPFN1TITuv5yieA d0JSbrcLR2cP3IILatj9Z/PYDZa2g/8X7c9mRe9Z8PnC8XDRXwNQmbTjObC7nbO7vJC6LE UxYTw8zOkldO3KPeBcZkTphb/gnfNOBrqpkh0NahH5oM35NnhHa1PEOWokZxRA5rlMVLRH kER+bOziKLxQ2+q/fYOn0sPZ0b7gsvy7EUOcieXNThDccCo7ySXFSz+X4ISbLtMDhEIVpA GiuJkqSGPUm+X6bEYQr2eo9y7VhzwtySH6/DgSF8LJ+ufjyddvbP0QJhC2Mz9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637845395; a=rsa-sha256; cv=none; b=KEJihIjk3vfyLL/58h7QdF7F+W5GF4yGl1gEYijsjDPWDf3ibSNWNTXSwmH7aR+sDVP/z1 CicsWcUbZAfMTbjf6Z8DXm/VxVytHdaapEauActN6mu3XtqOHbyCggsjvsLzsiLlvDFJVf /265DBppE2kXm4fM0G3PDAODGoqgTts6QMz3Wfzb/X3NxfoLV0/yCbHSU686wA1q2B8uWi C+JQV5FFguqSOyP6QYN3WufdUlDauAi5AdJQrqO971zD9RfmeRdZ5kRleMh2/o1WrSQiU+ 2Pz+xNLe6PLr1LuilNjFhcE3V3d0qg7YAg3NjFpZ7onaN6oh3TZZya1IsPMA1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=mF6MWhAo; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=mF6MWhAo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0C87A625B X-Spam-Score: -0.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: yVj8kQnxBpdC Le Thu, 25 Nov 2021 13:53:25 +0100, Ludovic Court=C3=A8s a =C3=A9crit : > Hello, >=20 > Julien Lepiller skribis: >=20 > > After so long, I managed to find the time to go over the comments > > and improve my patches. I tested the new daemon for a bit, and it's > > working as expected so far :D =20 >=20 > On a recent daemon, have you seen cases where having multiple > downloads in parallel speeds things up? >=20 > The analysis in > > suggests that at the time you first submitted this patch, substitution > speed (which is different from raw download speed) was often > CPU-bound. This is no longer the case, meaning that downloads should > now be network-bound or almost. >=20 > Thanks, > Ludo=E2=80=99. I would still say yes, because the output from berlin is often much less than my throughput. With multiple downloads in parallel it at least feels quicker, probably because I can download at full speed. In any case, I see often a build start while downloads are in progress, so I think it's still a win if you can get a few derivations built while waiting for a big download to finish at the same time :) At some point we might want to prioritize builds/downloads that help unlock as much builds as possible early, so we don't have builds waiting for downloads.