PDA

View Full Version : Yum downloads smallest first - is this new?



savage
26th December 2008, 11:37 PM
I've just upgraded from F8 to F10, and during the yum update, noticed it's downloading the packages in order of smallest to largest.

Is this new in F10? I've never noticed it before, but I don't really pay a lot of attention once it's 'off on one'.

Why is this? Is there some logic as to why it's better to download the smaller packages first? Why not by order by filename etc.?

Might still need that jacket there Dan. :)

p.s. The developer figured size is as good as anything to sort by - is a valid answer, if you know it to be true. :)

stoat
27th December 2008, 01:00 AM
Is this new in F10?Hello savage,

I don't know the answer to the why part, but I do know that it is not a Fedora 10 thing. Fedora 8's yum does it, too...
Total download size: 27 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): gnome-python2-gtkhtml2-2.19.1-20.fc8.i386.rpm | 18 kB 00:00
(2/11): gnome-python2-extras-2.19.1-20.fc8.i386.rpm | 50 kB 00:00
(3/11): gnome-python2-libegg-2.19.1-20.fc8.i386.rpm | 56 kB 00:00
(4/11): NetworkManager-glib-0.7.0-0.12.svn4326.fc8.i386. | 167 kB 00:00
(5/11): devhelp-0.16.1-12.fc8.i386.rpm | 199 kB 00:00
(6/11): curl-7.18.2-7.fc8.i386.rpm | 293 kB 00:00
(7/11): NetworkManager-gnome-0.7.0-0.12.svn4326.fc8.i386 | 362 kB 00:01
(8/11): yelp-2.20.0-15.fc8.i386.rpm | 711 kB 00:01
(9/11): NetworkManager-0.7.0-0.12.svn4326.fc8.i386.rpm | 934 kB 00:02
(10/11): firefox-devel-2.0.0.19-1.fc8.i386.rpm | 3.5 MB 00:09
(11/11): firefox-2.0.0.19-1.fc8.i386.rpm | 21 MB 00:38
--------------------------------------------------------------------------------
Total 316 kB/s | 27 MB 01:27Anyway, I don't know when it started, but I first noticed it quite a while ago (?). Maybe it's more of a yum version thing than a Fedora version thing.

Vansolrick
27th December 2008, 12:18 PM
Most likely a difference made by the newest release of YUM. I remember YUM in FC6... it was sloooow at handling dependencies and I don't recall it sorting downloads by size.

glennzo
27th December 2008, 12:25 PM
Fine by me. Seems to be faster that way and I'm very happy with it.

savage
27th December 2008, 02:49 PM
Maybe it's more of a yum version thing than a Fedora version thing.I think you're right there, it's just slipped my attention until now, and I only noticed it last night, I was wondering if I'd only noticed because it's only just been done, or whether it has been staring me in the face for the last few years :)

Most likely a difference made by the newest release of YUM. I remember YUM in FC6... it was sloooow at handling dependencies and I don't recall it sorting downloads by size.I just bumped my bro from FC6 to F8, and although the machine is marginally more powerful than what he had, the YUM updates are hugely quicker.

I'm still quite baffled I hadn't noticed it before, my Linux time is probably spent 50/50 with GUI's and consoles.