lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: strange swap behaviour - test11pre4
From
Date
Craig Schlenter <craig@qualica.com> writes:

> [snip, vmstat stuff, me]
> > There is a perl program running (80 Meg's in size, 20 Megs
> > resident) that is chatting to a database and building up a large
> > hash in memory. The machine has 64M of RAM. The bit that doesn't
> > make sense is why the cache is so large - the VM seems to have got
> > stuck paging in stuff from swap repeatedly (bits of the perl
> > program it would seem). Surely it should shrink the cache to
> > provide more breathing room or am I being an idiot about this?
>
> $idiot++;

You probably got fooled by the new vm: All shm pages are now in the
page cache and thus appear as 'cached'. But they cannot be shrinked
away...

So I would vote for $idiot--; ;-)

Greetings
Christoph

P.S: I expect this to become an FAQ

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.026 / U:4.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site