[lkml]   [2005]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] Fine-grained memory priorities and PI
    On Dec 15, 2005, at 07:45, Con Kolivas wrote:
    > I have some basic process-that-called the memory allocator link in
    > the -ck tree already which alters how aggressively memory is
    > reclaimed according to priority. It does not affect out of memory
    > management but that could be added to said algorithm; however I
    > don't see much point at the moment since oom is still an uncommon
    > condition but regular memory allocation is routine.

    My thought would be to generalize the two special cases of writeback
    of dirty pages or dropping of clean pages under memory pressure and
    OOM to be the same general case. When you are trying to free up
    pages, it may be permissible to drop dirty mbox pages and kill the
    postfix process writing them in order to satisfy allocations for the
    mission-critical database server. (Or maybe it's the other way
    around). If a large chunk of the allocated pages have priorities and
    lossless/lossy free functions, then the kernel can be much more
    flexible and configurable about what to do when running low on RAM.

    Kyle Moffett

    I lost interest in "blade servers" when I found they didn't throw
    knives at people who weren't supposed to be in your machine room.
    -- Anthony de Boer

    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-12-15 14:02    [W:0.021 / U:13.168 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site