Pages

26 June 2008

Presto: Enable faster/smaller Fedora updates

What is Presto ?

"Presto" is a project aims to reduce the duration and amount of downloads required, when updating fedora, and it's very helpful for users with slow internet connection (eg. dial-up) and also very good for users who pay internet connection as per usage basis, because it can cut-down the bandwidth & cost.

How is Presto works ?

By default, when Fedora 9 is updating a package, it actually downloading the 'entire' replacement of the package, even though the updated data are inside only the small portion of the whole package.

A Deltarpm is the difference between two rpms. So, it is to say, if foo-1.0 already installed and foo-1.1 is available for download, then yum-presto will download the deltarpm (the differences) for foo-1.0 => 1.1 rather than download in the entire foo-1.1 rpm, after that it will build the full foo-1.1 package from the existing installed foo-1.0 and the downloaded deltarpm.

"yum-presto" is a plug-in for yum to enable the presto functionality. So, with this plug-in, yum will start to look for deltarpms rather than rpms (full package) or whichever are available. And the download size of 'updates' can be reduced by 60% - 80%.

How to setup ?

yum-presto is not installed by default, however there is a plan to be included in the next release (Fedora 10).
And the steps on how to install yum-presto, see https://fedorahosted.org/presto/wiki

For Easy setup & Configuration:
1. Run "yum install yum-presto"
2. For Fedora 8 or Fedora 9, open /etc/yum.repos.d/fedora-updates.repo
3. Edit the "mirrorlist", as follows:
mirrorlist=http://presto-mirrors.anmar.eu.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch

For hard setup, see https://fedorahosted.org/presto/wiki

For more information, see http://fedoraproject.org/wiki/Releases/FeaturePresto

No comments:

Post a Comment