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] Migration and Node parameter

To: Stefan de Konink <stefan@xxxxxxxxx>
Subject: Re: [Xen-devel] Migration and Node parameter
From: Andre Przywara <andre.przywara@xxxxxxx>
Date: Mon, 6 Oct 2008 21:40:53 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 06 Oct 2008 12:41:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48EA0BEC.6070308@xxxxxxxxx>
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: <48EA0BEC.6070308@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080421)
Stefan de Konink wrote:
    def domain_migrate(self, domid, dst, live=False, port=0, node=-1,
ssl=None):
        """Start domain migration.
...
        @keyword node: use node number for target
        @type node: int
> ...
What does the node parameter do in this context?

This means the NUMA node the new guest should be created on. Newer Xen versions create guests on a single node and choose the least used one. If later the system load changes, it can become imbalanced in respect to equal load on all nodes. In this situation you can manually move a guest to another NUMA node. (NUMA literature often uses the term "NUMA domain" instead of node, but for obvious reason I try to avoid this term in Xen) Using localhost migration for this purpose isn't the smartest solution, but was fairly easy to implement ... and works.
See unstable c/s 17148 for the code.

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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