From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: Andika Triwidada <andika@gmail.com>
Cc: Rene Herman <rene.herman@gmail.com>,
Robert Deaton <false.hopes@gmail.com>,
linux-kernel@vger.kernel.org, ck list <ck@vds.kolivas.org>,
linux-mm@kvack.org
Subject: Re: updatedb
Date: Fri, 27 Jul 2007 02:46:11 +0200 [thread overview]
Message-ID: <9a8748490707261746p638e4a98p3cdb7d9912af068a@mail.gmail.com> (raw)
In-Reply-To: <7e0bae390707252323k2552c701x5673c55ff2cf119e@mail.gmail.com>
On 26/07/07, Andika Triwidada <andika@gmail.com> wrote:
> On 7/26/07, Rene Herman <rene.herman@gmail.com> wrote:
> > On 07/25/2007 07:15 PM, Robert Deaton wrote:
> >
> > > On 7/25/07, Rene Herman <rene.herman@gmail.com> wrote:
> >
> > >> And there we go again -- off into blabber-land. Why does swap-prefetch
> > >> help updatedb? Or doesn't it? And if it doesn't, why should anyone
> > >> trust anything else someone who said it does says?
> >
> > > I don't think anyone has ever argued that swap-prefetch directly helps
> > > the performance of updatedb in any way
> >
> > People have argued (claimed, rather) that swap-prefetch helps their system
> > after updatedb has run -- you are doing so now.
> >
> > > however, I do recall people mentioning that updatedb, being a ram
> > > intensive task, will often cause things to be swapped out while it runs
> > > on say a nightly cronjob.
> >
> > Problem spot no. 1.
> >
> > RAM intensive? If I run updatedb here, it never grows itself beyond 2M. Yes,
> > two. I'm certainly willing to accept that me and my systems are possibly not
> > the reference but assuming I'm _very_ special hasn't done much for me either
> > in the past.
>
> Might be insignificant, but updatedb calls find (~2M) and sort (~26M).
> Definitely not RAM intensive though (RAM is 1GB).
>
That doesn't match my box at all :
root@dragon:/home/juhl# free
total used free shared buffers cached
Mem: 2070856 1611548 459308 0 59312 740760
-/+ buffers/cache: 811476 1259380
Swap: 987988 0 987988
root@dragon:/home/juhl# updatedb
root@dragon:/home/juhl# free
total used free shared buffers cached
Mem: 2070856 1724204 346652 0 144708 745328
-/+ buffers/cache: 834168 1236688
Swap: 987988 0 987988
This is a Slackware Linux 12.0 system.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2007-07-27 0:46 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 15:30 howto get a patch merged (WAS: Re: -mm merge plans for 2.6.23) Kacper Wysocki
2007-07-25 16:01 ` Rene Herman
2007-07-25 17:15 ` Robert Deaton
2007-07-26 3:59 ` updatedb Rene Herman
2007-07-26 6:23 ` updatedb Andika Triwidada
2007-07-26 7:49 ` updatedb Rene Herman
2007-07-26 9:37 ` updatedb Andika Triwidada
2007-07-27 0:46 ` Jesper Juhl [this message]
2007-07-27 6:00 ` updatedb Rene Herman
2007-07-27 7:54 ` updatedb Mike Galbraith
2007-07-27 8:28 ` updatedb Rene Herman
2007-07-27 9:26 ` updatedb Mike Galbraith
2007-07-27 11:09 ` updatedb Rene Herman
2007-07-27 11:48 ` updatedb Mike Galbraith
2007-07-27 12:28 ` updatedb Rene Herman
2007-07-27 13:32 ` updatedb Tilman Schmidt
2007-07-26 6:39 ` updatedb Bongani Hlope
2007-07-26 6:56 ` updatedb Rene Herman
2007-07-26 7:08 ` updatedb Bongani Hlope
2007-07-26 8:01 ` updatedb Rene Herman
2007-07-26 21:25 ` updatedb Bongani Hlope
2007-07-26 9:58 ` updatedb Björn Steinbrink
2007-07-26 10:23 ` updatedb Björn Steinbrink
2007-07-26 11:00 ` updatedb Rene Herman
2007-07-26 13:54 ` Re: howto get a patch merged (WAS: Re: -mm merge plans for 2.6.23) Jos Poortvliet
2007-07-25 16:07 ` Ingo Molnar
2007-07-25 16:40 ` [ck] " Michael Chang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a8748490707261746p638e4a98p3cdb7d9912af068a@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=andika@gmail.com \
--cc=ck@vds.kolivas.org \
--cc=false.hopes@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rene.herman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox