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-cim

Re: [Xen-cim] Requirements and priorities for SLES10 SP1

To: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Subject: Re: [Xen-cim] Requirements and priorities for SLES10 SP1
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 20 Dec 2006 00:17:26 +0000
Cc: Jim Fehlig <jfehlig@xxxxxxxxxx>, xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Dec 2006 16:17:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <94C8C9E8B25F564F95185BDA64AB05F604852B1C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
References: <4581C226.2020501@xxxxxxxxxx> <94C8C9E8B25F564F95185BDA64AB05F604852B1C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Dec 15, 2006 at 05:01:10PM -0500, Subrahmanian, Raj wrote:

> > * Support for ResourcePoolConfigurationService on some pool 
> > types, e.g. ProcessorPool.This functionality will support for example 
> > removing PCPUs from the pool and dedicate to management domain, thus 
> > restricting set of PCPUs available for consumption by VMs.  Does xen
> support 
> > this?  Can we mask PCPUs such that they are not available to VMs?
> 
> At the present time, we cannot remove physical processors from the
> scheduling for VMs cleanly. We will need to modify the scheduler and
> create a new xm command  for that.
> There is a way around it. Every time we need some PCPUs taken out, we
> will need to create a dummy VM and pin those PCPUs that we want taken
> out of the scheduling to it. And destroy that VM when we want to put
> them back in the mix. It's not very clean.

I think that you've had some answers here from Emmanuel, but just so
it's clear -- there is no need to modify the scheduler to do this.  The
scheduler supports the concept of a per-VCPU set giving all the PCPUs on
which that VCPU may run.  Recent tools bugs aside, this should suffice
to remove a PCPU from a pool -- you iterate over each VM on the host
and each VCPU in the VM, and then if that VCPU is not meant to be consuming
resource from the pool in question, remove the PCPU from the VCPU's set.

Cheers,

Ewan.

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

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