Linux-kernel mailing list archive 2000-01,: Re: [RFC] [RFT] [PATCH] memory zone balancing

# Re: [RFC] [RFT] [PATCH] memory zone balancing

Rik van Riel (riel@nl.linux.org)
Tue, 4 Jan 2000 04:23:31 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jean-Philippe GRIMALDI: "[PATCH] SB PnP"
- Previous message: jeng: "How can I get the dump of physical address during execution time?"
- In reply to: Kanoj Sarcar: "Re: [RFC] [RFT] [PATCH] memory zone balancing"
- Next in thread: Ingo Molnar: "Re: [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?

d+r+h > limit
d > limit/2
r > limit/4
h > limit/8

DMA pages should always be present, regular pages for
storing pagetables and stuff need to be there too, higmem
pages we don't really care about.

Btw, I think we probably want to increase freepages.min
to 512 or even more on machines that have >1GB of memory.
The current limit of 256 was really intended for machines
with a single zone of memory...

(but on <1GB machines I don't know if it makes sense to
raise the limit much more ... maybe we should raise the
limit automagically if the page alloc/io rate is too
high?)

regards,

Rik

    --
    The Internet is not a network of computers. It is a network
    of people. That is its real strength.

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

- Next message: Jean-Philippe GRIMALDI: "[PATCH] SB PnP"
- Previous message: jeng: "How can I get the dump of physical address during execution time?"
- In reply to: Kanoj Sarcar: "Re: [RFC] [RFT] [PATCH] memory zone balancing"
- Next in thread: Ingo Molnar: "Re: [RFC] [RFT] [PATCH] memory zone balancing"