lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 27 Jul 2007 02:46:11 +0200
From:	"Jesper Juhl" <jesper.juhl@...il.com>
To:	"Andika Triwidada" <andika@...il.com>
Cc:	"Rene Herman" <rene.herman@...il.com>,
	"Robert Deaton" <false.hopes@...il.com>,
	linux-kernel@...r.kernel.org, "ck list" <ck@....kolivas.org>,
	linux-mm@...ck.org
Subject: Re: updatedb

On 26/07/07, Andika Triwidada <andika@...il.com> wrote:
> On 7/26/07, Rene Herman <rene.herman@...il.com> wrote:
> > On 07/25/2007 07:15 PM, Robert Deaton wrote:
> >
> > > On 7/25/07, Rene Herman <rene.herman@...il.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@...gon:/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@...gon:/home/juhl# updatedb

root@...gon:/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@...il.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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ