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

Bug#925439: marked as done (Add option to limit parallel download)



Your message dated Mon, 25 Mar 2019 15:52:33 +0100
with message-id <20190325154832.GA1269@debian.org>
and subject line Re: Bug#925439: Add option to limit parallel download
has caused the Debian Bug report #925439,
regarding Add option to limit parallel download
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925439: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925439
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.8.0
Severity: minor

Here we observe parallel download:

# aptitude full-upgrade
...
35% [5 firefox 33.9 MB/44.5 MB 76%] [1 google-earth-pro-stable 2,215 kB/56.5 MB 4%]

What if we don't want parallel download?
I.e., just download one server at a time?

Well the closest setting one finds in
/usr/share/doc/apt/examples/configure-index.gz
is acquire::queuehost::limit but that doesn't govern it.

sources.list.d# grep ^deb *
google-earth-pro.list:deb http://dl.google.com/linux/earth/deb/ stable main
jidanni.list:deb http://opensource.nchc.org.tw/debian/ experimental main contrib non-free
jidanni.list:deb http://opensource.nchc.org.tw/debian/ unstable main contrib non-free

--- End Message ---
--- Begin Message ---
On Mon, Mar 25, 2019 at 11:10:06AM +0800, 積丹尼 Dan Jacobson wrote:
> Package: apt
> Version: 1.8.0
> Severity: minor
> 
> Here we observe parallel download:
> 
> # aptitude full-upgrade
> ...
> 35% [5 firefox 33.9 MB/44.5 MB 76%] [1 google-earth-pro-stable 2,215 kB/56.5 MB 4%]
> 
> What if we don't want parallel download?
> I.e., just download one server at a time?

You can specify Acquire::http{,s}::Dl-Limit to set a download limit
for the method, which causes it to not download in parallel so it can
do the rate limiting. This will not work across http and https, though.

I think single downloads are otherwise out of scope for apt, as they'd
require significant restructuring of how downloads work for basically
no gain.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

--- End Message ---

Reply to: