mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jlnance@unity.ncsu.edu
To: linux-kernel@vger.kernel.org
Subject: Re: Over used cache memory?
Date: Thu, 6 Nov 2003 08:40:31 -0500	[thread overview]
Message-ID: <20031106134031.GA2720@ncsu.edu> (raw)
In-Reply-To: <3FAA1056.6020003@aitel.hist.no>

On Thu, Nov 06, 2003 at 10:11:50AM +0100, Helge Hafting wrote:
> 
> Yes - _use_ the memory for something else. 
> 1. All unused memory will be put to good use as cache.
> 2. Memory is taken from the cache whenever you need it for
>   something else, so (1) is not a problem at all.

This is the way it is susposed to work, but I am working on a problem
where this does not seem to be happening.  We have a machine with 6G
of ram.  It reads some huge files (~5G) and cache fills up.  Then
it starts to process the data and goes into a swap storm because it
can not get any memory for the process because it all is in the cache.
If you run top, you see kswapd stuck at the top.

If anyone has any ideas about this, I would love to hear them.

Thanks,

Jim

  reply	other threads:[~2003-11-06 13:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-06  8:05 Wee Teck Neo
2003-11-06  8:25 ` Nick Piggin
2003-11-06  8:59 ` Jerry Lundström
2003-11-06  9:11 ` Helge Hafting
2003-11-06 13:40   ` jlnance [this message]
2003-11-06 14:14     ` Gianni Tedesco
2003-11-06 21:47       ` jlnance
2003-11-06  9:15 Wee Teck Neo
2003-11-06 19:07 ` Jose Luis Domingo Lopez
2003-11-06 19:57   ` Maciej Zenczykowski
2003-11-06 20:50     ` Daniel Gryniewicz
     [not found] <BAY4-F18tJyMmxsywxZ00005d1a@hotmail.com>
2003-11-06  9:16 ` Jerry Lundström
2003-11-06  9:33 Wee Teck Neo

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=20031106134031.GA2720@ncsu.edu \
    --to=jlnance@unity.ncsu.edu \
    --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

all inboxes | Powered by JetHome®