Gentoo Archives: gentoo-user

From: Francesco Talamona <ti.liame@×××××.it>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [OT] updatedb/locate - reasons to use
Date: Wed, 30 Jul 2008 17:23:34
Message-Id: 200807301923.29295.ti.liame@email.it
In Reply to: Re: [gentoo-user] [OT] updatedb/locate - reasons to use by Alex Schuster
1 On Wednesday 30 July 2008, Alex Schuster wrote:
2 > emerge -C slocate && emerge mlocate && time updatedb && time updatedb
3 >
4 > mlocate is supposed to be compatible with slocate, but the updatedb
5 > command runs much faster.
6
7 Your test doesn't proof anything!! Many information are cached and
8 available for some time, this is a desirable feature and a good use of
9 the system memory. Your conclusion may be wrong, or right, or ... who
10 knows?
11
12 This is what I have with slocate:
13
14 aemaeth ~ # time updatedb ; time updatedb
15
16 real 3m1.687s
17 user 0m2.209s
18 sys 0m7.339s
19
20 real 0m7.005s
21 user 0m2.054s
22 sys 0m3.005s
23
24 Cheers
25 Francesco
26
27 --
28 Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16
29 CEST 2008
30 One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.08 Bogomips Total
31 aemaeth