[Yum] yum check-update performance slow

Seth Vidal skvidal at fedoraproject.org
Thu Aug 13 19:22:32 UTC 2009



On Thu, 13 Aug 2009, Mike McIntyre wrote:

> 
> Novell provides a yum-2.4.2-13.4 rpm package on a SLES 10 SDK that were are using on SLES 10 SP1 zlinux s390x systems.
>  We use Novell Subscription Management Tool (SMT) on a nightly basis to download SLES rpm updates and execute createrepo.
>  First execution of yum check-update is really slow performance as shown below with 1012.65 +  2184.95 equal to about 52
> minutes.  Is there a performance fix for a certain yum level to process the primary.xml.gz files faster from yum
> check-update?
> 
> staszs010:/etc # yum check-update
> Setting up repositories
> base                      100% |=========================|  951 B    00:00
> updates                   100% |=========================|  951 B    00:00
> Reading repository metadata in from local files
> primary.xml.gz            100% |=========================| 7.8 MB    00:03
> base      :                                                    564/55117
> base      : #################################################  54992/55117Added 54992 new packages, deleted 0 old in
> 1012.65 seconds
> primary.xml.gz            100% |=========================| 7.8 MB    00:01
> updates   : #################################################  54992/55117Added 54992 new packages, deleted 0 old in
> 2184.95 seconds
>

There are a number of performance improvements  - not the least of 
which is not doing the xml processing on the client at all - but they are 
all in later versions of yum.

Not much to be done on yum 2.4 anymore.

-sv


More information about the Yum mailing list