Monday 7 December 2009

Yum-presto + University internet connection isn't a very good combo

Well, yum-presto is all cool and awesome and all, but with the lzma compression in F12 it's rather slow with rebuilding the rpms... Which means that with internet connection that can be found on many universities (up to about 10~11 MB/s when downloading from fast mirror) it's slowing the package download considerably. Here're the data from today's update.
<delta rebuild> | 79 MB 04:02
Presto reduced the update size by 65% (from 79 M to 28 M).
Package(s) data still to download: 136 M
Total 4.5 MB/s | 136 MB 00:30


Now, I wonder whether I should keep it or remove it (as half of time I use slow connection and the other half fast connection)...

5 comments:

brejc8 said...

If you are on a fast connection then run:
yum update --disableplugin=presto

Martin said...

Charlie, That does not work with package-kit though and I like to read why I update the packages first before updating (i.e. I don't usually use yum directly for updates).

Anonymous said...

It may be slower to use presto if you can connect to the Internet faster than 4 Mbps with your particular system. However, it is still lighter on the mirror's bandwidth and that is good for everyone's download speed.

Presto offloads the work from the Internet connection to the CPU. Considering CPUs are gaining more processing power faster than connections are gaining more bandwidth, the comparison will only be more favourable in the future.

Sindre Pedersen Bjørdal said...

If you use NetworkManager you can make a clever little script that enables/disables presto depending on which network you're connected to.

Martin said...

Sindre Pedersen Bjørdal: that would be wonderful. Any pointers of how can I do that?