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

Re: [Xen-users] How to dynamically change the Cap value for credit scheduler


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Thu, 28 May 2009 12:16:44 +0700
  • Delivery-date: Wed, 27 May 2009 22:17:28 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, May 27, 2009 at 4:08 AM, falcon_jerboa <qzhu@xxxxxxxxxxx> wrote:
>
> Hi, I have the following problem to solve. Let's say guest domain 1(guest1)
> is allocated with 30% of the physical CPU by running the command " xm
> sched-credit -d guest1 -c 30). Then at some point of the application
> processing hosted in guest1, I need to increase its CPU share from 30% to
> 60%. How can I do this? First, guest1 should notify Xen hypervisor that it
> needs a CPU share change. Then Xen hypervisor makes the change
> automatically(not running the command manually).

No automated way of doing this.
Why do you set the cap if you want it to increase automatically
anyway? That would make the cap meaningless.
If you set the cap to 100, it would use the amount of CPU up to the
equivalent of 1 CPU core. This is the maximum value, so if it only
needs 30% then it only uses 30%, and no more.

-- 
Fajar

_______________________________________________
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®.