From: "Vahid Kazempour" Subject: Define caps and weights per-VCPU in credit scheduler! Date: Tue, 14 Oct 2008 17:48:02 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0410253017==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0410253017== Content-Type: multipart/alternative; boundary="----=_Part_19539_23264833.1224031682589" ------=_Part_19539_23264833.1224031682589 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, As far as I know in credit scheduler we can only define weights and caps for each VM, and the scheduler apply these credits to all VCPUs belongs to the VM (i.e. if we setting a limit in the form of cap it will affect all VCPUs in the VM). Considering a scenario that we have heterogeneous cores in the system (fast and slow cores) and VMs are competing on fast cores. One policy for fare sharing of fast cores is to share them based on the number of VCPUs. This may require to define different limits on CPU usage for each VCPU which is not necessarily same for all VCPUs belong to a VM. In this scenario does it make sense to have weights and caps in credit scheduler based on VCPUs instead of VMs? Is it possible to define different per-VCPU limits for a single VM without modifying the scheduler code? Thanks, -- Vahid Kazempour ------=_Part_19539_23264833.1224031682589 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi all,

As far as I know in credit scheduler we can only define weights and caps for each VM, and the scheduler apply these credits to all VCPUs belongs to the VM (i.e. if we setting a limit in the form of cap it will affect all VCPUs in the VM).

Considering a scenario that we have heterogeneous cores in the system (fast and slow cores) and VMs are competing on fast cores.
One policy for fare sharing of fast cores is to share them based on the number of VCPUs. This may require to define different limits on CPU usage for each VCPU which is not necessarily same for all VCPUs belong to a VM. In this scenario does it make sense to have weights and caps in credit scheduler based on VCPUs instead of VMs?  Is it possible to define different per-VCPU limits for a single VM without modifying the scheduler code?

Thanks,

--
Vahid Kazempour

------=_Part_19539_23264833.1224031682589-- --===============0410253017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0410253017==--