[lkml]   [2003]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.018 / U:13.772 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site