F9beta update takes forever

John Summerfield debian at herakles.homelinux.org
Wed Apr 30 02:26:54 UTC 2008


seth vidal wrote:
> On Tue, 2008-04-29 at 21:31 +0800, John Summerfield wrote:
> 
>> That's a shame. I have the equivalent to '-d 3' in yum.conf since you 
>> mentioned it last time, and the output wasn't that great. It's gone 
>> though, I can't find it in any of my "xterms."
> 
> the output is just adding a handful of debug information and it outputs
> all the times that each of the operations take.
> 
>> There are no updates pending at present, but I guess that when there 
>> are, I should precede the update with "yum clean <something>."  Is there 
>> anything better than "all" from your POV?
> 
> You don't need to 'yum clean all' you can just 'yum clean packages'
This is what I did:
[root at potoroo ~]# time (yum clean packages && yum update -d 3 -y ) 2>&1 
| tee /tmp/yum-update-2008-04-30
Loaded plugins: refresh-packagekit, refresh-updatesd
Config time: 0.184
Yum Version: 3.2.14
COMMAND: yum clean packages
Installroot: /
Ext Commands:

    packages
4018 package files removed
Loaded plugins: refresh-packagekit, refresh-updatesd
Config time: 0.170
Yum Version: 3.2.14
COMMAND: yum update -d 3 -y
Installroot: /
...

Complete!

real    22m24.203s
user    2m11.413s
sys     0m24.832s
[root at potoroo ~]#

[root at potoroo ~]# grep -i time: /tmp/yum-update-2008-04-30
Config time: 0.184
Config time: 0.170
rpmdb time: 0.000
pkgsack time: 0.934
up:Obs Init time: 2.308
up:simple updates time: 0.866
up:obs time: 0.005
up:condense time: 0.000
updates time: 6.952
Depsolve time: 49.684
rpm_check_debug time: 1.624
Transaction Test time: 29.972
Transaction time: 450.790
[root at potoroo ~]#



Crude measure of disk speed:

[root at potoroo ~]# hdparm -t /dev/sda

/dev/sda:
  Timing buffered disk reads:  208 MB in  3.00 seconds =  69.28 MB/sec
[root at potoroo ~]#




-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- 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:-)




More information about the test mailing list