19 messages in com.xensource.lists.xen-cimRe: [Xen-cim] Requirements and priori...
FromSent OnAttachments
Jim Fehlig14 Dec 2006 13:28 
Subrahmanian, Raj15 Dec 2006 14:00 
Gareth S Bestor15 Dec 2006 14:57.gif, .gif, .gif
Subrahmanian, Raj18 Dec 2006 14:12.patch
Subrahmanian, Raj19 Dec 2006 06:48 
Jim Fehlig19 Dec 2006 08:27 
Subrahmanian, Raj19 Dec 2006 09:02.patch
Subrahmanian, Raj19 Dec 2006 15:37.patch
Ewan Mellor19 Dec 2006 15:52 
Ewan Mellor19 Dec 2006 16:17 
Jim Fehlig19 Dec 2006 16:32 
Ewan Mellor19 Dec 2006 16:38 
Simon Crosby19 Dec 2006 18:54 
Subrahmanian, Raj20 Dec 2006 06:21.gz
Gareth S Bestor21 Dec 2006 11:34.gif, .gif, .gif
Gareth S Bestor21 Dec 2006 11:46.gif, .gif, .gif
Simon Crosby21 Dec 2006 21:18.gif, .gif, .gif, 6 more
Oliver Benke23 Dec 2006 05:14.pdf, .gif, .gif, 8 more
Gareth S Bestor24 Dec 2006 13:30 
Subject:Re: [Xen-cim] Requirements and priorities for SLES10 SP1
From:Ewan Mellor (ew@xensource.com)
Date:12/19/2006 04:17:03 PM
List:com.xensource.lists.xen-cim

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.