How about to patch synapatic to make it actively download packages using multiple threads?

yueyu lin popeyelin at gmail.com
Sun Oct 21 14:06:06 UTC 2007


Yes,I've seen that. But it's not active to download using multi threads.  If
the network is slow and only one repository, it will not try to download in
multi threads that is the proper condition to use this pattern. I wanna know
if it's ok that I modify codes to let users to choose if they're using multi
threads and how many threads they are using. But if that's impolite to
repository server, I will not do that.

On 10/21/07, Matthew Momjian <matthew at momjian.us> wrote:
>
>
> I have seen synaptic and Add/Remove programs do multithreaded downloads.
>
> Matthew
>
>
> ---------------------------------------------------------------------------
>
> yueyu lin 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.
> >
> > --
> > --
> > Yueyu Lin
>
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
>   Matthew Momjian                               matthew at momjian.us
>   I am an actor at Hedgerow Theatre             I have been in over 15
> plays there
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
--
Yueyu Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071021/c99e41c0/attachment.html>


More information about the ubuntu-users mailing list