John Summerfield wrote:
Or seemingly.
A while ago I asserted that yum's performance is glacial, in the face of
claims it was much improved.
yum might not be the problem. Here is some evidence. My update of 184
packages on an otherwise unloaded HP DC7700 SFF ran from 17:58 to 20:07,
a little over two hours. Presumably those are actual install times we're
looking at, not time retrieving them across my (wireless) LAN.
[root@potoroo ~]# rpm -qa --last 2>/dev/null | grep 'Sun Apr 6' | wc -l
164
[root@potoroo ~]# rpm -qa --last 2>/dev/null | grep 'Sun Apr 6' | head -2
kdeartwork-4.0.3-3.fc9 Sun Apr 6 20:07:45 2008
extragear-plasma-4.0.1-5.fc9 Sun Apr 6 20:07:24 2008
[root@potoroo ~]# rpm -qa --last 2>/dev/null | grep 'Sun Apr 6' | tail -2
audit-libs-1.7-3.fc9 Sun Apr 6 17:58:18 2008
alsa-lib-1.0.16-3.fc9 Sun Apr 6 17:58:10 2008
[root@potoroo ~]#
Here is my yum.conf: despite the debug level, the information that might
be helpful in tuning yum is written only to the console where it scrolls
off and is lost; it's not, AFAIK, recorded anywhere safe.
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=3
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=8
installonlypkgs=kernel*
#exclude= *.?86
The machine specs:
Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
2 Gbytes RAM
320 Gbytes SATA (dual boot)
[root@potoroo ~]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 142 MB in 3.02 seconds = 47.05 MB/sec
[root@potoroo ~]# hdparm -t /dev/sda{,,}
/dev/sda:
Timing buffered disk reads: 188 MB in 3.06 seconds = 61.46 MB/sec
/dev/sda:
Timing buffered disk reads: 190 MB in 3.01 seconds = 63.09 MB/sec
/dev/sda:
Timing buffered disk reads: 190 MB in 3.01 seconds = 63.17 MB/sec
[root@potoroo ~]#
I would expect a fresh install to go faster than this.
Again, so far it's been running for over twelve hours, and showing no
progress, It's got this far, and stopped:
---> Package totem.x86_64 0:2.23.1-1.fc9 set to be updated
---> Package fedora-release.noarch 0:8.93-1 set to be updated
---> Package rhythmbox.x86_64 0:0.11.5-9.fc9 set to be updated
---> Package bittorrent.noarch 0:4.4.0-6.fc9 set to be updated
---> Package mlocate.x86_64 0:0.20-1 set to be updated
---> Package selinux-policy-devel.noarch 0:3.3.1-33.fc9 set to be
updated
---> Package gtk2.i386 0:2.12.9-5.fc9 set to be updated
---> Package nscd.x86_64 0:2.8-1 set to be updated
---> Package mono-web.x86_64 0:1.9-7.fc9 set to be updated
---> Package totem-nautilus.x86_64 0:2.23.1-1.fc9 set to be updated
---> Package lm_sensors.x86_64 0:3.0.1-5.fc9 set to be updated
---> Package eclipse-ecj.x86_64 1:3.3.2-9.fc9 set to be updated
---> Package libuser.x86_64 0:0.56.9-1 set to be updated
---> Package system-config-services.noarch 0:0.99.15-1.fc9 set to be
updated
---> Package selinux-policy-targeted.noarch 0:3.3.1-33.fc9 set to be
updated
---> Package system-config-network.noarch 0:1.5.6-1.fc9 set to be
updated
--> Running transaction check
---> Package kdepim.x86_64 6:3.5.9-8.fc9 set to be updated
--> Processing Dependency: xine-lib = 1.1.10.1 for package:
xine-lib-extras-nonfree
---> Package kdebase3-pim-ioslaves.x86_64 0:3.5.9-10.fc9 set to be
updated
---> Package fedorawaves-kdm-theme.noarch 0:1.1-1.fc9 set to be updated
[summer@potoroo ~]$
It's using these files:
[summer@potoroo ~]$ sudo lsof -c yum | grep -Ev ' /(usr|lib)'
COMMAND PID USER FD TYPE DEVICE SIZE NODE
NAME
yum 29574 root cwd DIR 253,0 4096 58294273
/root
yum 29574 root rtd DIR 253,0 4096 2 /
yum 29574 root mem REG 253,0 24576 7332989
/var/lib/rpm/__db.001
yum 29574 root mem REG 253,0 1318912 7332994
/var/lib/rpm/__db.002
yum 29574 root mem REG 253,0 663552 7332995
/var/lib/rpm/__db.003
yum 29574 root 0u CHR 4,2 509
/dev/tty2
yum 29574 root 1u CHR 4,2 509
/dev/tty2
yum 29574 root 2u CHR 4,2 509
/dev/tty2
yum 29574 root 3u unix 0xffff81000e17a5c0 3805141
socket
yum 29574 root 4w REG 253,0 14966 7308388
/var/log/yum.log
yum 29574 root 5ur REG 253,0 32847872 36503718
/var/cache/yum/development.Mirror/primary.sqlite
yum 29574 root 6r REG 253,0 100597760 7307274
/var/lib/rpm/Packages
yum 29574 root 7r REG 253,0 90112 7307275
/var/lib/rpm/Name
yum 29574 root 8r REG 253,0 659456 7307277
/var/lib/rpm/Providename
yum 29574 root 9r REG 253,0 10887168 7307279
/var/lib/rpm/Basenames
yum 29574 root 10r REG 253,0 905216 7307281
/var/lib/rpm/Requirename
[summer@potoroo ~]$ rpm -q yum
yum-3.2.14-2.fc9.noarch
[summer@potoroo ~]$ ls -l /var/run/yum.pid ;date
-rw-r--r-- 1 root root 5 2008-04-18 16:08 /var/run/yum.pid
Sat Apr 19 05:00:44 WST 2008
[summer@potoroo ~]$
The repo it's using is on my LAN.
--
Cheers
John
-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list