From: Christoph Lameter <clameter@sgi.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Paul Jackson <pj@sgi.com>, linux-mm@kvack.org, ak@suse.com
Subject: Re: [RFC] split zonelist and use nodemask for page allocation [1/4]
Date: Fri, 21 Apr 2006 08:06:05 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0604210800470.26525@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20060420235616.b2000f7f.pj@sgi.com>
One thing that also may be good to implement is to get away from traveling
lists for allocations.
Most of the time you will have multiple nodes at the same distance for
an allocation. It would be best if we either could do a round robin on
those nodes or check the amount of memory free and allocate from the one
with the most memory free. This means that the nodelist would not work and
that the algorithm for selecting a remote node would get more complex.
Also when going off node: It may be good to increase the amount that
cannot be touched to reserve more memory for local allocations.
I think there are definitely some challenges here as Paul pointed out.
However, I think we may be at a dead end with the zonelist. Going away
from the zonelist would also enable the consolidation of policy and cpuset
restrictions. If the page allocator can take a list of nodes from which
allocations are allowed then the cpuset hooks may no longer be necessary.
However, this is certainly not immediately doable but needs careful
thought and performance measurement to insure that we avoid regressions.
--
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-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2006-04-21 15:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-21 4:11 [RFC] split zonelist and use nodemask for page allocation [1/4] KAMEZAWA Hiroyuki
2006-04-21 4:41 ` Christoph Lameter
2006-04-21 6:17 ` Paul Jackson
2006-04-21 6:49 ` KAMEZAWA Hiroyuki
2006-04-21 6:56 ` Paul Jackson
2006-04-21 8:05 ` KAMEZAWA Hiroyuki
2006-04-21 15:06 ` Christoph Lameter [this message]
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=Pine.LNX.4.64.0604210800470.26525@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=ak@suse.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=pj@sgi.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;
as well as URLs for NNTP newsgroup(s).