Re: Is it possible to speed up yum.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-06-18 at 23:43 -0400, seth vidal wrote:
> On Wed, 2008-06-18 at 16:19 -0430, Patrick O'Callaghan wrote:
> > > 
> > > and send the output along.
> > 
> > # yum -d3 info yum | grep 'time:'
> > Config time: 0.182
> > rpmdb time: 0.000
> > pkgsack time: 7.505
> 
> It's taking 7.5 seconds to put the package sack together and it's not
> downloading ANYTHING? Not even the mirrorlists again or rechecking the
> repomd.xml?

Yes.

> I ask b/c the same version on my not-exceptionally-fast laptop is:
> 
> yum -d3 info yum | grep 'time:'
> Config time: 0.106
> rpmdb time: 0.000
> pkgsack time: 0.345

Interesting.

I ran it again a few times, first doing an update:

[root@bree S3]# yum update
Loaded plugins: fastestmirror, protectbase, refresh-packagekit
Loading mirror speeds from cached hostfile
 * livna-development: mirror.atrpms.net
 * livna: mirror.atrpms.net
 * google: dl.google.com
 * fedora: ftp.usf.edu
 * adobe-linux-i386: linuxdownload.adobe.com
 * localrepo:
 * updates: ftp.usf.edu
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
[root@bree S3]# yum -d3 info yum | grep 'time:'
Config time: 0.163
rpmdb time: 0.000
pkgsack time: 2.526
[root@bree S3]# yum -d3 info yum | grep 'time:'
Config time: 0.168
rpmdb time: 0.000
pkgsack time: 1.690
[root@bree S3]# yum -d3 info yum | grep 'time:'
Config time: 0.162
rpmdb time: 0.000
pkgsack time: 6.976
[root@bree S3]# yum -d3 info yum | grep 'time:'
Config time: 0.163
rpmdb time: 0.000
pkgsack time: 1.774
[root@bree S3]#

These runs were one after the other in quick succession. What's notable
is the large variance in pkgsack time.

poc

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux