lkml.org 
[lkml]   [2003]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Over used cache memory?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans