lkml.org 
[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: new OOM heuristic failure (was: Re: VM: qsbench)

    [ Cc'd to linux-kernel just in case other people are wondering ]

    On Wed, 31 Oct 2001, Bernt Hansen wrote:
    >
    > Do I need to rebuild my systems with my swap partitions >= my physical
    > memory size for the 2.4.x kernels? All of my systems have total swap
    > space less than their physical memory size and are running 2.4.13 kernels.

    No. With the two-liner patch on linux-kernel, your old setup should work
    as-is.

    And performance will be fine, _except_ if you regularly actually have your
    swap usage up in the 75%+ range. But if you do work that typically puts a
    lot of pressure on swap, and you find that you almost always end up using
    clearly more than half your swapspace, that implies that you should
    consider perhaps reconfiguring so that you have a bigger swap partition.

    When I pointed out the performance problems to Lorenzo, I specifically
    meant only that one load that he is testing - the fact that the load fills
    up the swap device implies that for _that_ load, performance could be
    improved by making sure he has enough swap to cover it.

    I bet Lorenzo doesn't even come _close_ to 80% full swap under normal
    usage, so he probably wouldn't see any performance impact normally. It's
    just that when you report VM benchmarks, maybe you want to try to improve
    the numbers..

    [ It's equally valid to say that Lorenzo's numbers are _especially_
    interesting exactly because they also test the behaviour when we need to
    start pruning the swap cache, though. So I'm in no way trying to
    criticise his benchmark - I think the qsort benchmark is actually one of
    the more valid VM patterns we have ever had as a benchmark, and I
    really like how it mixes random accesses with non-random ones ]

    So don't worry.

    Linus

    -
    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:12    [W:5.483 / U:1.568 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site