public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: Craig Schlenter <craig@qualica.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: strange swap behaviour - test11pre4
Date: 03 Jan 2001 20:49:25 +0100	[thread overview]
Message-ID: <m3ofxo35tz.fsf@linux.local> (raw)
In-Reply-To: <20010103123230.C23323@qualica.com> <20010103160802.A8544@qualica.com>
In-Reply-To: <20010103160802.A8544@qualica.com>

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/

      reply	other threads:[~2001-01-03 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 10:32 strange swap behaviour - test11pre4 Craig Schlenter
2001-01-03 14:08 ` Craig Schlenter
2001-01-03 19:49   ` Christoph Rohland [this message]

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=m3ofxo35tz.fsf@linux.local \
    --to=cr@sap.com \
    --cc=craig@qualica.com \
    --cc=linux-kernel@vger.kernel.org \
    /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