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

Re: yum 3.2.23 more than 10x slower than 3.2.21?!

On Jun 26, 2009, at 10:35 AM, Seth Vidal wrote:

On Fri, 26 Jun 2009, Roberto Ragusa wrote:

I have a hint and it points to the "same rpms in more than one repo"

yum -d 5 lists a lot of

excluding for cost: firefox-3.0.11-1.fc10.i386 from updates
excluding for cost: gnome-session-2.24.3-1.fc10.i386 from updates

I see something related to cost handling fixes in the yum Changelog.

My guess is that elements are removed from an array one at a time
and everything after that is moved back one position.
Or some inefficiency of that kind.

You may be able to reproduce it by configuring two updates repos.

Grab yum from rawhide here:


see if the recent exclude changes help the problem.

Built from the src rpm because there was a python ABI change. No change.

[root fast rpmbuild]# yum --version
  Installed: rpm-4.6.1-1.fc10.x86_64 at 2009-06-06 05:29
  Built    : Fedora Project at 2009-05-18 11:26
  Committed: Panu Matilainen <pmatilai redhat com> at 2009-05-18 22:00

  Installed: yum-3.2.23-8.fc10.noarch at 2009-06-26 15:39
  Built    : None at 2009-06-26 15:39
Committed: James Antill <james at fedoraproject.org> at 2009-06-23 00:00

Installed: yum-metadata-parser-1.1.2-10.fc10.x86_64 at 2009-01-04 17:01
  Built    : Fedora Project at 2008-10-15 13:38
Committed: James Antill <james at fedoraproject.org> at 2008-10-14 22:00
[root fast rpmbuild]# time yum -d 3 list updates | grep 'time:'
Config time: 0.041
pkgsack time: 143.857
rpmdb time: 0.002
up:Obs Init time: 0.191
up:simple updates time: 0.410
up:obs time: 0.005
up:condense time: 0.000
updates time: 1.142

real	2m25.310s
user	2m24.969s
sys	0m0.287s

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