On Wednesday 30 July 2008, Alex Schuster wrote:
> emerge -C slocate && emerge mlocate && time updatedb && time updatedb
>
> mlocate is supposed to be compatible with slocate, but the updatedb
> command runs much faster.
Your test doesn't proof anything!! Many information are cached and
available for some time, this is a desirable feature and a good use of
the system memory. Your conclusion may be wrong, or right, or ... who
knows?
This is what I have with slocate:
aemaeth ~ # time updatedb ; time updatedb
real 3m1.687s
user 0m2.209s
sys 0m7.339s
real 0m7.005s
user 0m2.054s
sys 0m3.005s
Cheers
Francesco
--
Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.08 Bogomips Total
aemaeth