guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parallel downloads


From: Bengt Richter
Subject: Re: Parallel downloads
Date: Wed, 6 Nov 2019 13:26:39 -0800
User-agent: Mutt/1.12.1 (2019-06-15)

On +2019-11-06 16:34:17 +0100, Ludovic Courtès wrote:
> Hi,
> 
> Pierre Neidhardt <address@hidden> skribis:
> 
> > A few questions:
> >
> > - How does --mac-jobs work with regard to progress bars?
> 
> When there are several jobs running at the same time, it doesn’t display
> any progress bar.  (In theory, it could do a multi-line display but that
> wouldn’t work with all terminals, it’s tricky, and overall 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?
> 
> Yup, just pass ‘--max-jobs=N’ to the daemon.
> 
> HTH!
> 
> Ludo’.
> 
--
Regards,
Bengt Richter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]