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] xen affinity in an SMP system

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen affinity in an SMP system
From: "Mark A. Williamson" <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 11 Oct 2004 01:20:40 +0100
Cc: "James Harper" <JamesH@xxxxxxxxxxxxxxxx>
Delivery-date: Mon, 11 Oct 2004 01:23:42 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D3BE1B1@trantor>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D3BE1B1@trantor>
Reply-to: mark.williamson@xxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7
> As I understand it, a domain is tied to a specific CPU on startup, and
> if it can be changed, it can only be changed manually. Is that right?

Yup, it's changed manually using an xm command (probably "xm pincpu [dom] 
[cpu]" but I've never used it and could be wrong ;-).

> Is it possible to have xen (or xend) check at regular intervals and move
> a domain to another physical CPU depending on current load?

Currently this isn't done but it's perfectly feasible.  Sensible options are:
1) Have an scheduler in Xen that will migrate domains about at run time.
2) Have the load balancer task in Xend.

2 is possibly the easiest to do and arguably the most flexible since it makes 
it easy to provide pluggable balancing policy modules.  1 would make sure 
that CPUs remain idle for the minimum time possible.

It's possible that one (or both) of these solutions will get implemented at 
some stage, although (I suspect) not in time for 2.0 which is looking pretty 
imminent.  I don't know of anybody local who's volunteered to do this, 
however.

Cheers,
Mark

>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel