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] CPU affinity reset during save/restore

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] CPU affinity reset during save/restore
From: Jiri Denemark <jdenemar@xxxxxxxxxx>
Date: Fri, 14 Nov 2008 12:12:37 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Nov 2008 03:13:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9b80e85d-47c8-4dbc-9b2b-b10b2bb945a9@default>
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: <20081113084027.GA18897@xxxxxxxxxx> <9b80e85d-47c8-4dbc-9b2b-b10b2bb945a9@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
> So after thinking about it, I decided not to implement
> this as IMHO affinity decisions are best left to higher
> level management tools.

Well, yes, you are right affinity decisions should be made by management
tools. However, I think this is more targeted into a static world, where a
static set of domains is running on a host, affinity is set in each domain's
configuration file and when dom0 is rebooted, domUs are automatically saved
and restored. Which is when the affinity should be restored too.

Moreover, such behavior does not really interfere with any higher level
management tool, as it can always repin cpus after restoring or migrating a
domain, as this process would probably be under that tool's control anyway.

Of course, if domains are migrated manually, one would have to repin cpus
manually, too.

Jirka

-- 
Experience is what causes a person to make new mistakes instead of old ones.

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

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