SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches
Andrzej Krzysztofowicz
ankry at green.mif.pg.gda.pl
Fri Jan 7 20:00:21 CET 2005
Elan =?iso-8859-2?q?Ruusam=E4e?= wrote:
> 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
Depends on machine and system.
# time rpm -qa >/dev/null
real 3m26.692s
user 0m11.690s
sys 0m3.330s
# time rpm -qa >/dev/null
real 2m28.389s
user 0m11.190s
sys 0m3.070s
# rpm -qa |wc -l
9528
"maximum Ac"
--
=======================================================================
Andrzej M. Krzysztofowicz ankry at mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology
More information about the pld-devel-en
mailing list