Re: apt-get and downloading more than one file at a time
On Fri, Oct 19, 2001 at 09:05:08PM +1000, Hamish Moffatt wrote:
> On Fri, Oct 19, 2001 at 10:44:20AM +1000, Sam Couter wrote:
> > What do you hope to achieve by doing this, anyway? You can't double your
> > bandwidth by making two connections. You'll be downloading two files at
> > once, at half speed each.
>
> That's incorrect.
>
> Try it some time, using prozilla.
>
> Hamish
OK, nevermind the two connections to same mirror (see my explanation
below if you want to know why I was interested), what I think is
actually useful is to have a switch that will cause apt-get to download
packages from two different mirrors at the same time, even if they
contain exactly the same packages. (It currently does downloads from
multiple mirrors only if some packages aren't available on the first
mirror in your list.) Would this be useful? (I guess this is where those
tools that determine which mirror is the "fastest" for you comes in
handy.)
Hugo van der Merwe
For those wondering why I want to make two connections to the same
mirror:
The university at which I am studying has a 128k line to another
university that has a great Debian mirror. (Most of the sources as
well.) But, as this link's traffic got a little high thanks to all the
people downloading movies and warez and the like, they decided to
throttle ftp and http. Now, during the day, I get speeds as low as 1.1k
per sec. At offpeak times there is a max limit of 12k per sec. I don't
know why they couldn't just set up a throttle that does prioritizing,
rather than setting absolute limits. By setting up nat and ip aliases, I
can get two connections, which gives me 24k per sec. Probably it will be
easier to rather hack a http proxy program to do some "load balancing"
over a couple of IP addresses, and point apt-get at that.
Reply to: