[Yum-devel][PATCH] 3.0.2 hitlist

seth vidal skvidal at linux.duke.edu
Tue Nov 14 03:51:02 UTC 2006


On Mon, 2006-11-13 at 22:40 -0500, James Bowes wrote:
> Hi Terje:

> > My results are:
> > 
> >  - yum cvs with rpmsack.py reverted to 2.9.6 : real 0m8.044s 
> >  - yum 3.0-6                                 : real 1m12.265s
> > 
> > Almost a order of magnitude slower...
> 
> My times weren't as impressive; buildindex rpmsack was only about 4s 
> elapsed vs CVS at 4.5s elapsed. These times were the same with and 
> without my changes, by the way.

we know that look ups to the rpmdb may well be slower with the newer
code b/c we have to frequently open/close the rpmdb. Whereas before we
could just leave it open. I didn't think the difference would be as
dramatic as what Terje posted.

Terje,
 Can you run your test again with 3.0.1 or CVS 3_0_X and compare? When I
did the same test I ran after the header index cache it had sped up
dramatically vs 2.9.7.

thanks,
-sv





More information about the Yum-devel mailing list