WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 3/4] hvm: NUMA guest: allocate memory and pin cpu

To: Andre Przywara <andre.przywara@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH 3/4] hvm: NUMA guest: allocate memory and pin cpus according to guestnodes number
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Fri, 04 Jul 2008 17:45:54 +0900
Cc:
Delivery-date: Fri, 04 Jul 2008 01:46:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <486DD8C2.2030000@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <486DD8C2.2030000@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Andre,

Your patch includes tab-indent in the following lines.

XendDomainInfo.py
+                    if numnodes == 0:
+                       return nodeload.index( min(nodeload) )  <-- here

+                    if self.image.guestnodes > 1:
+                       needmem = needmem / self.image.guestnodes  <-- here

Best regards,
 Kan

Fri, 4 Jul 2008 10:01:06 +0200, Andre Przywara wrote:

>This patch introduces a new config file option called guestnodes.
>Depending on the specified number (which can be 0 (the default) to
>return to current behavior) a set of suitable nodes (which have enough
>memory and are the least used ones) is selected and memory allocation is
>split evenly across these host nodes. CPU affinity is set accordingly.
>
>Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
>
>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
>
>-------------------------------text/plain-------------------------------
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>