lkml.org 
[lkml]   [2004]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 2.6.4-rc2-mm1: vm-split-active-lists
    Nick Piggin wrote:
    > In Linux, all reclaim is driven by a memory shortage. Often it
    > is just because more memory is being requested for more file
    > cache.

    Is reclaim the same as swapping, though? I'd expect pages to be
    written to the swapfile speculatively, before they are needed for
    reclaim. Is that one of those behaviours which everyone agrees is
    sensible, but it's yet to be implemented in the 2.6 VM?

    > But presumably if you are running into memory pressure, you really
    > will need to free those free list pages, requiring the page to be
    > read from disk when it is used again.

    The idea is that you write pages to swap _before_ the memory pressure
    arrives, which makes those pages available immediately when memory
    pressure does arrive, provided they are still clean. It's speculative.

    I thought Linux did this already, but I don't know the current VM well.

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