How about to patch synapatic to make it actively download packages using multiple threads?
Nicolas Alvarez
nicolas.alvarez at gmail.com
Mon Oct 22 02:39:02 UTC 2007
On 10/21/07, yueyu lin <popeyelin at gmail.com> wrote:
> As you noticed, sometimes, synaptic downloads packages slowly. I noticed
> that apt-get in fact can use multiple threads to download sometimes. But
> synaptic seems seldom to do this.
> I wanna know why? In fact, it will not be difficult to modify codes to
> support active multiple threads downloading. But it doesn't appear. I guess
> developers think it's impolite to fork a lot of threads to download things
> from server. The server may only serve for a few *rude* people. If it's
> true, I will stop any attempts to do so. If it's not,I can have a try to do
> this.
Using multiple connections to a single server is a sure way to "make
things worse", that is, overloading the server more. What does help is
making multiple connections to *different* servers. That actually
lowers load, since your download bandwidth is now dispersed between
servers, so you're using up less upstream bandwidth from each server.
I have been doing so to download the .iso's via HTTP (torrents go
slowly for me).
--
Nicolas
More information about the Ubuntu-devel-discuss
mailing list