Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] slocate masked
Date: Wed, 17 Nov 2010 21:08:54
Message-Id: 201011172135.29752.volkerarmin@googlemail.com
In Reply to: Re: [gentoo-user] slocate masked by Yohan Pereira
1 On Wednesday 17 November 2010, Yohan Pereira wrote:
2 > On Thursday 18 Nov 2010 1:17:09 am Alan McKinnon wrote:
3 > > Let's compare then. My system is 4 minutes to re-index everything from
4 > > scratch. How long does your take and how big is your filesystem?
5 >
6 > time updatedb
7 > real 1m35.163s
8 > user 0m0.815s
9 > sys 0m2.454s
10 >
11 > this was the first time i ran it after installation. i had uinstalled
12 > slocate prior to this.
13 >
14 > PRUNEPATHS="/tmp /var/tmp /root/.ccache /media/stuff/backup/gentoo32"
15 >
16 > the last folder is my 32bit chroot.
17 > and i got arround 225 gb of data. i tried running a few qurries .. seems to
18 > have indexed everything
19 >
20 > also after this i tried deleting /var/lib/mlocate/mlocate.db and then
21 > running updatedb and it hardly took a second.
22 >
23 > time updatedb
24 >
25 > real 0m0.367s
26 > user 0m0.193s
27 > sys 0m0.167s
28 >
29 > weird indeed.
30
31 no, cache.