On 5/10/07, Daniel de Kok daniel@centos.org wrote:
Hi all,
We have added yum 2.4.3 updates for CentOS 3 and 4 to the CentOS testing repository. These packages introduce the following changes:
- CentOS 4: yum now requires the yum-metadata-parser package. This is a backport of the yum C metadata parser, and provides an significant performance increase over the Python metadata parser.
Hi Daniel,
Tried your new yum on couple of C4 i386 boxes. It is significantly faster than the previous version. Here is the output of a 'yum check-update' :
BEFORE
Reading repository metadata in from local files primary.xml.gz 100% |=========================| 134 kB 00:00 update : ################################################## 393/393 Added 393 new packages, deleted 0 old in 7.98 seconds primary.xml.gz 100% |=========================| 510 kB 00:00 base : ################################################## 1500/1500 Added 1500 new packages, deleted 0 old in 22.19 seconds primary.xml.gz 100% |=========================| 100 kB 00:00 centosplus: ################################################## 356/356 Added 356 new packages, deleted 0 old in 5.09 seconds primary.xml.gz 100% |=========================| 157 B 00:00 Added 0 new packages, deleted 0 old in 0.01 seconds primary.xml.gz 100% |=========================| 35 kB 00:00 extras : ################################################## 139/139 Added 139 new packages, deleted 0 old in 1.61 seconds
AFTER
Reading repository metadata in from local files primary.xml.gz 100% |=========================| 134 kB 00:00 update : ################################################## 393/393 primary.xml.gz 100% |=========================| 510 kB 00:00 base : ################################################## 1500/1500 primary.xml.gz 100% |=========================| 100 kB 00:00 centosplus: ################################################## 356/356 primary.xml.gz 100% |=========================| 157 B 00:00 primary.xml.gz 100% |=========================| 35 kB 00:00 extras : ################################################## 139/139
The total time from the "before" run was 36.88 seconds. It was < 5 seconds "after" the update. By the way, why is it that the updated version does not show info like the number of packages and the elapsed time?
Akemi