Bug 102708 - rpm -qa (and rpm everythingelse) is SLOOOOOW
Summary: rpm -qa (and rpm everythingelse) is SLOOOOOW
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-20 01:59 UTC by Stig Hackvan
Modified: 2007-04-18 16:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-20 14:26:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Stig Hackvan 2003-08-20 01:59:54 UTC
Description of problem:

i don't know what it is, but on redhat 9, rpm is profoundly (and unacceptably) 
  SLOW...  on redhat 7.3 (time rpm -qa) takes 0m0.418s real seconds, but on a
faster system with redhat 9 freshly installed, the same command (time rpm -qa)
takes 0m10.826s ...!!!

THAT'S A FACTOR OF 25!  What gives???

i have the same incredibly slow behavior on two redhat 9 systems which are
up-to-date...

  -- stig

PS: i don't think it's file fragmentation, but i tried 'rpm --rebuilddb' which
fails with "error: db4 error(16) from dbenv->remove: Device or resource busy"

Comment 1 Jeff Johnson 2003-08-20 14:26:49 UTC
rpm-4.1 verifies header digest/signature whenever headers are read.
Add --nodigest --nosignature if you want the previous behavior.


Note You need to log in before you can comment on or make changes to this bug.