[Rpm-maint] Feature request: Improved speed for 'rpm -qa'
Bill Nottingham
notting at redhat.com
Tue Dec 19 01:27:21 UTC 2006
Axel Liljencrantz (liljencrantz at gmail.com) said:
> Would it be possible to make 'rpm -qa' fast? As in take less than a
> second on modern systems? On my regular machine (2 GHz, 1000
> packages), 'time rpm -qa >/dev/null' takes about 6 seconds on a cold
> cache, 4 on a warm cache. On my older machine (300 MHz, 650 packages),
> the same opertation takes around 40 seconds on a cold cache and 25 on
> a warm cache.
Turn off sig checking on queries (see /usr/lib/rpm/macros.)
Bill
More information about the Rpm-maint
mailing list