From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bengt Richter Subject: Re: Parallel downloads Date: Wed, 6 Nov 2019 13:26:39 -0800 Message-ID: <20191106212639.GA55508@PhantoNv4ArchGx.localdomain> References: <87pnid3qdh.fsf@ambrevar.xyz> <87k18kyjlm.fsf@nckx> <87wock97ye.fsf@ambrevar.xyz> <87k18h3tii.fsf@gnu.org> <87muddm110.fsf@ambrevar.xyz> <87eeyl10jq.fsf@gnu.org> Reply-To: Bengt Richter Mime-Version: 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]:54324) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSSpP-0000Zn-2j for guix-devel@gnu.org; Wed, 06 Nov 2019 16:26:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSSpN-0001by-RN for guix-devel@gnu.org; Wed, 06 Nov 2019 16:26:58 -0500 Content-Disposition: inline In-Reply-To: <87eeyl10jq.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 =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org On +2019-11-06 16:34:17 +0100, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Pierre Neidhardt skribis: >=20 > > A few questions: > > > > - How does --mac-jobs work with regard to progress bars? >=20 > When there are several jobs running at the same time, it doesn=E2=80=99= t display > any progress bar. (In theory, it could do a multi-line display but tha= t > wouldn=E2=80=99t work with all terminals, it=E2=80=99s tricky, and over= all not all that > useful.) > I suppose you could do a single line with cpu numbers like 222232444 but you'd need to compute how long the full line should be and divide by the number of cpus allocated and make the line buffer writes thread-safe. ... and use base>10 digits potentially ;-) > > - Can we configure the default value? >=20 > Yup, just pass =E2=80=98--max-jobs=3DN=E2=80=99 to the daemon. >=20 > HTH! >=20 > Ludo=E2=80=99. >=20 -- Regards, Bengt Richter