Re: 2.4.0-test3 Why is my system swapping rather than freeing the cache ?

From: Gerhard Mack (gmack@innerfire.net)
Date: Thu Jul 13 2000 - 05:29:04 EDT

  • Next message: Rob Taylor: "RE: Object Oriented Linux"

    On 13 Jul 2000, Juan J. Quintela wrote:

    > >>>>> "gerhard" == Gerhard Mack <gmack@innerfire.net> writes:
    >
    > gerhard> Is there a reason it's going this far into swap this far? system is System
    > gerhard> is linux 2.4.0-test3
    >
    > gerhard> [root@innerfire /root]# cat /proc/meminfo
    > gerhard> total: used: free: shared: buffers: cached:
    > gerhard> Mem: 30593024 27238400 3354624 0 692224 15863808
    > gerhard> Swap: 21151744 21106688 45056
    > gerhard> MemTotal: 29876 kB
    > gerhard> MemFree: 3276 kB
    > gerhard> MemShared: 0 kB
    > gerhard> Buffers: 676 kB
    > gerhard> Cached: 15492 kB
    > gerhard> HighTotal: 0 kB
    > gerhard> HighFree: 0 kB
    > gerhard> LowTotal: 29876 kB
    > gerhard> LowFree: 3276 kB
    > gerhard> SwapTotal: 20656 kB
    > gerhard> SwapFree: 44 kB
    >
    > gerhard> On the bright side it seems to be still responsive when this far into swap
    > gerhard> and it used to be unusable when this far into swap.
    >
    > gerhard> System is linux 2.4.0-test3
    >
    > Could you test test4-preX, it has a patch that should solve that
    > problem.
    >

    Kernel 2.4.0-test4-pre6

            total: used: free: shared: buffers: cached:
    Mem: 30855168 30105600 749568 0 401408 12279808
    Swap: 21151744 18051072 3100672
    MemTotal: 30132 kB
    MemFree: 732 kB
    MemShared: 0 kB
    Buffers: 392 kB
    Cached: 11992 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 30132 kB
    LowFree: 732 kB
    SwapTotal: 20656 kB
    SwapFree: 3028 kB

    Quite a bit better didn't see SwapFree hit 0 this time though I wonder
    what my performance would be like if cached < swapfree.

            Gerhard

    --
    Gerhard Mack
    

    gmack@innerfire.net

    <>< As a computer I find your faith in technology amusing.

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu Jul 13 2000 - 05:34:39 EDT