[Yum] Is there any plan to parallel download packages by yum?

Tim Lauridsen tla-ml at rasmil.dk
Sat Jun 3 05:33:20 UTC 2006


dancefire wrote:
> Hi, everyone,
>
> I feel it's slow when I try to download packages by yum. 
>
> The problem is that yum try to download every packages in queue, only
> one thread for the download queue, even though yum already figure out
> all packages links.
>
> If there are a few slow site spread in the middle of the download queue,
> most other big tasks have to wait for them. So the overall bandwidth
> usage is very low.
>
> Usually, there are 2 solutions for this kind of problems. 
>
> 1. Use multi-thread download task manager. There is a thread pool, and
> one thread for one package download task. So, no task can slow down the
> others.
>
> 2. Use multi-thread download program, such as prozilla, to increase the
> speed of single package downloading.
>
> So, is there any plan/way of yum that can implement such solution. If
> not, I think it's good idea and should be consider to implement both, or
> at least the first one.
>
> Regards,
>
> Dancefire
>
>   
You can speed up downloading by using the fastest mirror plugin from 
yum-util, then the fastest mirror will be used for downloading.

Tim



More information about the Yum mailing list