[Yum-devel] How to make depsolving twice as fast...

James Antill james.antill at redhat.com
Sat Mar 29 06:22:41 UTC 2008


 Maybe this was more obvious to others, but:

yum --enablerepo=development upgrade

...takes about twice as long (and uses about 100MB more) as:

yum --disablerepo=* --enablerepo=development upgrade

...full stats. are[1]:

 All repos.
 ----------

Config time: 0.258
repo time: 0.002
rpmdb time: 0.000
pkgsack time: 0.817
up:Obs Init time: 1.399
up:simple updates time: 0.952
up:obs time: 0.005
up:condense time: 0.004
updates time: 5.374
DBG:======== YumBaseCli.doCommands c70d90 Peak[383.59MB] Size[383.59MB] RSS[162.59MB]
Depsolve time: 34.475
DBG: <= main 30ed93cf30 46.7856
DBG:==== main 30ed93cf30 Peak[472.62MB] Size[463.62MB] RSS[242.89MB]

 development only repos.
 -----------------------

Config time: 0.259
repo time: 0.001
rpmdb time: 0.000
pkgsack time: 0.293
up:Obs Init time: 0.445
up:simple updates time: 0.355
up:obs time: 0.005
up:condense time: 0.003
updates time: 2.229
DBG:======== YumBaseCli.doCommands c70d90 Peak[330.49MB] Size[330.49MB] RSS[109.67MB]
Depsolve time: 18.521
DBG: <= main 30ed93cf30 24.9855
DBG:==== main 30ed93cf30 Peak[376.85MB] Size[368.16MB] RSS[147.05MB]


[1] Above is simplified somewhat, as I have livnda-development and
development-debuginfo ... but it's the same basic problem.

-- 
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080329/a76b5297/attachment.pgp 


More information about the Yum-devel mailing list