[Yum-devel] speeding up searchNevra in rpmsack

seth vidal skvidal at linux.duke.edu
Thu Oct 12 15:32:39 UTC 2006

On Thu, 2006-10-12 at 01:40 -0400, Jay Soffian wrote:
> On Oct 12, 2006, at 1:36 AM, Jay Soffian wrote:
> > Works fine if you disable verification (and is a lot faster to boot).
> BTW, in rpm/macros
> #   The checking overhead is ~11ms per header for digests/signatures;
> #   each header from the database is checked only when first encountered
> #   for each database open.
> Seems that now that yum is opening/closing database a lot this  
> (albeit small) performance hit is going to add up unless you disable  
> the checks when they aren't needed. Maybe?

so I tested out the code w/signature verification disabled.

The crash still happens, just not as quickly.


More information about the Yum-devel mailing list