yum check-update performance slow

Mike McIntyre <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <OFB7BB3F0A.8F9F3F9F-ON85257611.00688F26-85257611.0069D0FB@ca.ibm.com>
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

Here is the content of /etc/yum.conf.  We don't use *.repo files in 
/etc/yum.repos.d

[main]
cachedir=/var/cache/yum
reposdir=/etc/yum.repos.d
debuglevel=2
errorlevel=2
logfile=/var/log/yum.log
gpgcheck=1
assumeyes=0
tolerant=1
exactarch=1
obsoletes=1
distroverpkg=suse-release
retries=20
pkgpolicy=newest
installonlypkgs=kernel-default

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=SLES Linux $releasever - $basearch - Base
baseurl=http://pdmdxs001//repo/yum/Updates/
http://pdmdxs001//repo/yum/Updates/$RCE/SLES10-SP1-Updates/sles-10-s390x/
http://pdmdxs001//repo/yum/Updates/YOU9/s390x/

[updates]
name=SLES Linux $releasever - Updates
baseurl=http://pdmdxs001//repo/yum/Updates/
http://pdmdxs001//repo/yum/Updates/$RCE/SLES10-SP1-Updates/sles-10-s390x/
http://pdmdxs001//repo/yum/Updates/YOU9/s390x/
http://pdmdxs001//repo/yum/Updates/YOU9/s390/


Regards,....Mike McIntyre
Distributed System Management
Infrastructure Services | Server Support Team
Securities Industry Services | Financial Services Sector
IBM Global Technology Services, Canada

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.