Re: /proc/sys/vm/freepages not writable.

From: Rik van Riel (riel@conectiva.com.br)
Date: Sun Sep 17 2000 - 14:09:52 EDT

  • Next message: Andries Brouwer: "Re: ufs fs at 2.2.x and 2.4.x"

    On Sun, 17 Sep 2000, Andi Kleen wrote:
    > On Sun, Sep 17, 2000 at 02:35:42PM -0300, Rik van Riel wrote:
    > > Also, the fact that the new VM keeps a list of directly
    > > reclaimable inactive pages around that varies according
    > > to the amount of VM activity should make tweaking this
    > > value no longer needed...
    >
    > So there is no way to force the VM to keep lots of pages around
    > for interrupt intensive load (like gigabit networking?) Is
    > there a way to enforce that the inactive list is always well
    > filled ?

    1. The inactive_target is 1 second worth of allocations, minus
       the amount of frees in 1 second, averaged over a minute
    2. When the amount of really free pages gets low, a separate
       thread moves inactive_clean pages to the free list (so no
       chance of kswapd not doing this because it's blocked on disk)

    regards,

    Rik

    --
    "What you're running that piece of shit Gnome?!?!"
           -- Miguel de Icaza, UKUUG 2000
    

    http://www.conectiva.com/ http://www.surriel.com/

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



    This archive was generated by hypermail 2b29 : Sun Sep 17 2000 - 14:13:27 EDT