From: "Andre Przywara" <andre.przywara@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH 0/4] [HVM] NUMA support in HVM guests
Date: Mon, 13 Aug 2007 12:01:04 +0200 [thread overview]
Message-ID: <46C02BE0.2070400@amd.com> (raw)
Hi,
these four patches allow to forward NUMA characteristics into HVM
guests. This works by allocating memory explicitly from different NUMA
nodes and create an appropriate SRAT-ACPI table which describes the
topology. Needs a decent guest kernel which uses the SRAT table to
discover the NUMA topology.
This allows to break the current de-facto limitation of guests to one
NUMA node, one can use more memory and/or more VCPUs than there are
available on one node.
Patch 1/4: introduce numanodes=n config file option.
this states how many NUMA nodes the guest should see, the default is 0,
which means to turn off most parts of the code.
Patch 2/4: introduce CPU affinity for allocate_physmap call. currently
the correct NUMA node to take the memory from is chosen by simply using
the currently scheduled CPU, this patch allows to explicitly specify a
CPU and provides XENMEM_DEFAULT_CPU for the old behavior
Patch 3/4: allocate memory with NUMA in mind.
actually look at the numanodes=n option to split the memory request up
into n parts and allocate it from different nodes. Also change the VCPUs
affinity to match the nodes.
Patch 4/4: inject created SRAT table into the guest.
create a SRAT table, fill it up with the desired NUMA topology and
inject it into the guest
Applies against staging c/s #15719.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Regards,
Andre.
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
----to satisfy European Law for business letters:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden,
Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington,
Delaware, USA)
Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
next reply other threads:[~2007-08-13 10:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 10:01 Andre Przywara [this message]
2007-09-07 8:42 ` [PATCH 0/4] [HVM] NUMA support in HVM guests Xu, Anthony
2007-09-07 12:49 ` Andre Przywara
2007-09-10 1:14 ` Xu, Anthony
2007-11-23 8:42 ` [PATCH 0/4] [HVM][RFC] " Duan, Ronghui
2007-11-23 14:23 ` [RFC] NUMA support Andre Przywara
2007-11-24 15:57 ` Duan, Ronghui
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=46C02BE0.2070400@amd.com \
--to=andre.przywara@amd.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.