SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches
pa...
Elan Ruusamäe
glen at delfi.ee
Fri Jan 7 18:00:11 CET 2005
On Friday 07 January 2005 18:53, Paweł Żurowski wrote:
> Dnia 07-01-2005, pią o godzinie 17:34 +0100, Bartosz Taudul napisał(a):
> > On Fri, Jan 07, 2005 at 06:21:08PM +0200, Elan Ruusamäe wrote:
> > > but perhaps default=yes ? :)
> >
> > It's of no use to most people probably. And rpm -qa is IMO fast enough.
> >
> > [17:32 wolf at bajzel:~]% time rpm -qa > /dev/null
> > rpm -qa > /dev/null 0,33s user 0,16s system 15% cpu 3,200 total
> > [17:32 wolf at bajzel:~]% time rpm -qa > /dev/null
> > rpm -qa > /dev/null 0,31s user 0,06s system 99% cpu 0,373 total
>
> [pawel at aktyn ~]$ time rpm -qa > /dev/null
> rpm -qa > /dev/null 2,70s user 0,89s system 7% cpu 49,305 total
> [pawel at aktyn ~]$ time rpm -qa > /dev/null
> rpm -qa > /dev/null 2,68s user 0,84s system 7% cpu 46,982 total
# time rpm -qa > /dev/null
real 0m5.491s
user 0m1.178s
sys 0m0.279s
# time rpm -qa > /dev/null
real 0m1.315s
user 0m1.159s
sys 0m0.135s
# rpm -qa|wc -l
546
--
glen
More information about the pld-devel-en
mailing list