[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Relation between vcpu and sched-credit -c (caping parameter)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Jordi Segues" <jordisd.mailing@xxxxxxxxx>
  • Date: Tue, 3 Apr 2007 18:53:49 +0200
  • Delivery-date: Tue, 03 Apr 2007 09:52:50 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ul9QRsBMtrte9Rx4GPWsxeFpEizewLfQ5LbrSIMa3nXamLHGZOsrChVgioyAoLErv0EyIe0sBhbzriknoSK0fpPkQ+s0RpCyWXkWE9VjGe9sj6FuI4+3XiPKUnDLwu7vLdQpC7ezV7YJvp5D/jitvv4ENjf9F1GYMc2XkNv0ASE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I'm playing with xen 3.0, and cpu load balancing between domUs.

So to resume,

- VCPU are used to divide processors in order to allow some domUs to
use a bigger part of the processor than other domUs, or some
processors in parallel.
- xm sched-credit -d domu -w 512 increases the priority of the domu (the weight)
- xm sched-credit -d domu -c 50 (cap) fixes the max processor
percentage a domu can use.

So the cap option is a physical CPU percentage I've seen in the manual.
But I don't understand its relation with VCPUs allocated to the domu
in wich we modify caping.

Is the cap parameter proportional to the VCPUs allocated, or
proportional to the total CPU power? Because if a domu does'nt have
acces to a CPU (in case a VCPU is not pinned to it), why would the
caping parameter be relationed to it?

I don't know if I am clear, please let me know.
Thanks a lot.

Cordialy,

Jordi.S

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.