Andre Przywara
2008-Mar-14 14:34 UTC
[Xen-devel] [PATCH] Allow explicit NUMA placements of guests
Hi, this patch introduces a new config file option (numanodes=[x]) to specify a list of valid NUMA nodes for guests. This will extend (but not replace) the recently introduced automatic placement. If several nodes are given, the current algorithm will choose one of them. If none of the given nodes has enough memory, this will fall back to the automatic placement. 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, Wilschdorfer Landstr. 101, 01109 Dresden, Germany Register Court Dresden: HRA 4896, General Partner authorized to represent: AMD Saxony LLC (Wilmington, Delaware, US) General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
John Levon
2008-Mar-16 14:09 UTC
Re: [Xen-devel] [PATCH] Allow explicit NUMA placements of guests
On Fri, Mar 14, 2008 at 03:34:11PM +0100, Andre Przywara wrote:> diff -r f33328217eee -r 6ca722ad5208 tools/python/xen/xend/XendConfig.py > --- a/tools/python/xen/xend/XendConfig.py Mon Mar 10 22:51:57 2008 +0000 > +++ b/tools/python/xen/xend/XendConfig.py Fri Mar 14 15:18:32 2008 +0100 > @@ -152,6 +152,7 @@ XENAPI_CFG_TYPES = { > ''memory_dynamic_min'': int, > ''memory_dynamic_max'': int, > ''cpus'': list, > + ''numanodes'': list,You need to update the API document and the changelog if you''re extending it... regards john _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel