lkml.org 
[lkml]   [2000]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [RFT] [PATCH] memory zone balancing

On Mon, 3 Jan 100, Kanoj Sarcar wrote:

> Okay, here is a reworked version. Note that this version does not
> do per-zone balancing, since experiments show that we need to tune
> per-zone watermarks properly before we can start doing that. I am
> working on coming up with a good estimate of per-zone watermarks.
> Basically, I am trying to answer the question: if there are d dmapages,
> r regular pages and h highmem pages, for a total of d+r+h pages,
> what should the watermarks be for each zone?

i think this is pretty much 'type-dependent'. In earlier versions of the
zone allocator i added a zone->memory_balanced() function (but removed it
later because it first needed the things your patch adds). Then every zone
can decide for itself wether it's balanced. Eg. the DMA zone is rather
critical and we want to keep it free aggressively (part of that is already
achieved by placing it at the end of the zone chain), the highmem zone
might not need any balancing at all, the normal zone wants some high/low
watermark stuff.

Ingo


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.048 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site