From: Andre Przywara <andre.przywara@amd.com>
To: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Host Numa informtion in dom0
Date: Mon, 1 Feb 2010 11:23:04 +0100 [thread overview]
Message-ID: <4B66AB88.6090208@amd.com> (raw)
In-Reply-To: <8EA2C2C4116BF44AB370468FBF85A7770123904A29@orsmsx504.amr.corp.intel.com>
Kamble, Nitin A wrote:
> Hi Keir,
>
> Attached is the patch which exposes the host numa information to
> dom0. With the patch “xm info” command now also gives the cpu topology &
> host numa information. This will be later used to build guest numa support.
What information are you missing from the current physinfo? As far as I
can see, only the total amount of memory per node is not provided. But
one could get this info from parsing the SRAT table in Dom0, which is at
least mapped into Dom0's memory.
Or do you want to provide NUMA information to all PV guests (but then it
cannot be a sysctl)? This would be helpful, as this would avoid to
enable ACPI parsing in PV Linux for NUMA guest support.
Beside that I have to oppose the introduction of sockets_per_node again.
Future AMD processors will feature _two_ nodes on _one_ socket, so this
variable should hold 1/2, but this will be rounded to zero. I think this
information is pretty useless anyway, as the number of sockets is mostly
interesting for licensing purposes, where a single number is sufficient.
For scheduling purposes cache topology is more important.
My NUMA guest patches (currently for HVM only) are doing fine, I will
try to send out a RFC patches this week. I think they don't interfere
with this patch, but if you have other patches in development, we should
sync on this.
The scope of my patches is to let the user (or xend) describe a guest's
topology (either by specifying only the number of guest nodes in the
config file or by explicitly describing the whole NUMA topology). Some
code will assign host nodes to the guest nodes (I am not sure yet
whether this really belongs into xend as it currently does, or is better
done in libxc, where libxenlight would also benefit).
Then libxc's hvm_build_* will pass that info into the hvm_info_table,
where code in the hvmloader will generate an appropriate SRAT table.
An extension of this would be to let Xen automatically decide whether a
split of the resources is necessary (because there is not enough memory
available (anymore) on one node).
Looking forward to comments...
Regards,
Andre.
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2010-02-01 10:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AcqhN4DFeKntxDxZTHGQrdKilppA4Q==>
2010-01-29 23:05 ` Host Numa informtion in dom0 Kamble, Nitin A
2010-01-30 8:09 ` Keir Fraser
2010-02-01 2:21 ` Kamble, Nitin A
2010-02-01 10:23 ` Andre Przywara [this message]
2010-02-01 17:53 ` Dulloor
2010-02-01 21:39 ` Andre Przywara
2010-02-01 23:21 ` Kamble, Nitin A
2010-02-05 17:39 ` Ian Pratt
2010-02-05 20:33 ` Dan Magenheimer
2010-02-09 22:03 ` Nakajima, Jun
2010-02-10 3:25 ` Dan Magenheimer
2010-02-09 22:56 ` Nakajima, Jun
2010-02-11 15:21 ` Ian Pratt
2010-05-26 17:31 ` Bruce Edge
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=4B66AB88.6090208@amd.com \
--to=andre.przywara@amd.com \
--cc=keir.fraser@eu.citrix.com \
--cc=nitin.a.kamble@intel.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.