[Yum-devel] (no subject)

Zdeněk Pavlas zpavlas at redhat.com
Mon Jun 27 16:01:06 UTC 2011


Hello,

This is a first try at implementing parallel downloads.  Most changes
involve YumBase.downloadPkgs().  Other changes involve:

- PackageObject.returnIdSum() had to be changed not to use sqlite
  queries from within threads.

- urlgrabber has to be modified not to share a single libcurl.Curl()
  instance.

TODO:

- Test

- Fix logging which is currently broken

- Some python interface (via ctypes?) to fallocate() would be nice
  to prevent file fragmentation

DISCUSSION:

- Use mirror lists in some smart way?

- Download 1 file from many mirrors (use byte ranges)?



More information about the Yum-devel mailing list