From: Keir Fraser <keir@xensource.com>
To: Ryan Harper <ryanh@us.ibm.com>, xen-devel@lists.xensource.com
Subject: Re: [RFC][PATCH 1/2] export NUMA topology from xen
Date: Tue, 10 Apr 2007 10:12:22 +0100 [thread overview]
Message-ID: <C2411386.CFF0%keir@xensource.com> (raw)
In-Reply-To: <20070410010929.GF28281@us.ibm.com>
On 10/4/07 02:09, "Ryan Harper" <ryanh@us.ibm.com> wrote:
> nr_nodes : 4
> mem_chunks : node0:0x0000000000000000-0x0000000190000000
> node1:0x0000000190000000-0x0000000300000000
> node2:0x0000000300000000-0x0000000470000000
> node3:0x0000000470000000-0x0000000640000000
> node_to_cpu : node0:0-7
> node1:8-15
> node2:16-23
> node3:24-31
>
> I've also reworked the the physinfo call to contain an array of
> cpu_to_node elements rather than node_to_cpu to support machines larger
> than 64-way. I convert the array back to node_to_cpu for brevity in
> xm info display.
The same would make sense for memory regions (i.e., have a list of
memory-regions and include a node identifier for each one, rather than
mapping node-id to memory-region) as this would allow to have multiple
memory regions per node quite easily. But actually I'm not convinced that
allowing dom0 to read out the physical addresses of memory regions is at all
useful -- why would anyone care which particular physical address ranges
belong to a particular node? The hypercall to find amount of free memory per
node seems more useful, and probably sufficient by itself.
-- Keir
next prev parent reply other threads:[~2007-04-10 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-10 1:09 [RFC][PATCH 1/2] export NUMA topology from xen Ryan Harper
2007-04-10 9:12 ` Keir Fraser [this message]
2007-04-24 15:22 ` Ryan Harper
2007-06-06 16:07 ` Ryan Harper
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=C2411386.CFF0%keir@xensource.com \
--to=keir@xensource.com \
--cc=ryanh@us.ibm.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.