[lkml]   [2003]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: cache limit
    On Tue, Aug 19, 2003 at 10:28:58AM -0400, Anthony R. wrote:
    > >>another program needs more memory, so it shouldn't swap, but that is not
    > >>the
    > >>behaviour I am seeing.
    > >>
    > >>Can anyone help point me in the right direction?
    > >>
    > >>
    > >
    > >I'd say stop allocating insane amounts of swap.
    > >Frankly, with 2G you may run without swap at all.
    > >
    > >
    > I'm not sure how you knew I had 2GB of swap. ;)
    > I just always thought it was a good idea to have some just in case.
    > I did not know having swap would actually, in some cases, degrade
    > performance.
    > Are you saying that, if I turn off swap, the amount of cache used will
    > be the same, but that when other programs need more memory, the kernel
    > will take it from cache? If so, I will try, since that would be
    > an ideal solution.

    And the -aa and rmap kernels do that with swap on too.

    If you test them and they don't for your workload, please get back to the
    list and let use know.

    It is well known that the stock 2.4 VM is WAY behind -aa and rmap in terms
    of reactiveness and correct choices.
    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:47    [W:0.597 / U:3.152 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site