From: kanoj@google.engr.sgi.com (Kanoj Sarcar)
To: Mark_H_Johnson.RTS@raytheon.com
Cc: Andrea Arcangeli <andrea@suse.de>,
linux-mm@kvack.org, riel@nl.linux.org, torvalds@transmeta.com
Subject: Re: 2.3.x mem balancing
Date: Wed, 26 Apr 2000 10:43:30 -0700 (PDT) [thread overview]
Message-ID: <200004261743.KAA16088@google.engr.sgi.com> (raw)
In-Reply-To: <852568CD.0057D4FC.00@raylex-gh01.eo.ray.com> from "Mark_H_Johnson.RTS@raytheon.com" at Apr 26, 2000 11:03:58 AM
> In the context of "memory balancing" - all processors and all memory is NOT
> equal in a NUMA system. To get the best performance from the hardware, you
> prefer to put "all" of the memory for each process into a single memory unit -
> then run that process from a processor "near" that memory unit. This seemingly
> simple principle has a lot of problems behind it. What about...
> - shared read only memory (e.g., libraries) [to clone or not?]
> - shared read/write memory [how to schedule work to be done when load >> "local
> capacity"]
> - when memory is low, which pages should I remove?
> - when I start a new job, even when there is lots of free memory, where should
> I load the job?
The problem is, every app has different requirements, and performs best under
different resource (cpu/memory) scheduling policies. IRIX provides a tool
called "dplace", that will allow performance experts specify which threads
of a program should be run on cpus on which node, and how different sections
of the address space should have their pages allocated (that is, on which
nodes; possible policies: firsttouch, ie, allocate the page on the node
which has the processor that first accesses that page, roundrobin, ie,
round robin the allocations across all nodes, etc etc).
Linux is a little away from providing such flexible options, specially
since it is not even possible to pin a process to a cpu or node yet.
The page allocation strategies are of course much more work to implement.
For global issues like "when memory is low, which pages should I remove"
the problem is a little more complex. Having a kswapd per node is an option,
although I think it is too early to decide that. I am hoping we can get
a multinode system up soon, and investigate these issues.
Kanoj
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-04-26 17:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-26 16:03 Mark_H_Johnson.RTS
2000-04-26 17:06 ` Andrea Arcangeli
2000-04-26 17:36 ` Kanoj Sarcar
2000-04-26 21:58 ` Andrea Arcangeli
2000-04-26 17:43 ` Kanoj Sarcar [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-26 19:06 frankeh
[not found] <Pine.LNX.4.21.0004250401520.4898-100000@alpha.random>
2000-04-25 16:57 ` Linus Torvalds
2000-04-25 17:50 ` Rik van Riel
2000-04-25 18:11 ` Jeff Garzik
2000-04-25 18:33 ` Rik van Riel
2000-04-25 18:53 ` Linus Torvalds
2000-04-25 19:27 ` Rik van Riel
2000-04-26 0:26 ` Linus Torvalds
2000-04-26 1:19 ` Rik van Riel
2000-04-26 1:07 ` Andrea Arcangeli
2000-04-26 2:10 ` Rik van Riel
2000-04-26 11:24 ` Stephen C. Tweedie
2000-04-26 16:44 ` Linus Torvalds
2000-04-26 17:13 ` Rik van Riel
2000-04-26 17:24 ` Linus Torvalds
2000-04-27 13:22 ` Stephen C. Tweedie
2000-04-26 14:19 ` Andrea Arcangeli
2000-04-26 16:52 ` Linus Torvalds
2000-04-26 17:49 ` Andrea Arcangeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200004261743.KAA16088@google.engr.sgi.com \
--to=kanoj@google.engr.sgi.com \
--cc=Mark_H_Johnson.RTS@raytheon.com \
--cc=andrea@suse.de \
--cc=linux-mm@kvack.org \
--cc=riel@nl.linux.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox