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

Re: [Xen-users] cpu_weight and cpu_cap


  • To: "Dylan Martin" <dmartin@xxxxxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Fri, 1 Feb 2008 19:33:29 -0500
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 01 Feb 2008 16:34:03 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=vEelm0y5Fw81J8qVbjKfuKz0yEUd1h34KFN0NupvTTh7xmSEh8d6N7v7xmPKwkFpga6clmI6wtQyId1r/hUoyVXSX+eZUblzZVR+VOEfgJZnt53Qi4CLd7pOLO4FcaeOAx1VbuxvLkT0TUArJs6FYjn4rF9w3C6qffJ6RX4cfog=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Feb 1, 2008 2:46 PM, Dylan Martin <dmartin@xxxxxxxxxxxx> wrote:
I just did a search for 'cpu_cap' and another for 'cpu_weight' in the
list archives and got zero results.  Weird.

Anyway, I have a PV VM that might try and use too many resources.  How
can I use 'cpu_cap' and 'cpu_weight' to control that?  Is there any
sort of reference doc that describes these settings?  Maybe examples?
I can kindof guess what cpu_cap does, but cpu_weight could mean
anything.

Something to look at:

Usage: xm sched-credit -d <Domain> [-w[=WEIGHT]|-c[=CAP]]

Get/set credit scheduler parameters.
  -d DOMAIN, --domain=DOMAIN     Domain to modify                          
  -w WEIGHT, --weight=WEIGHT     Weight (int)                              
  -c CAP, --cap=CAP              Cap (int)                       

 

OR!

If there is a better way to manage VM prioritisation, please let me
know.  Or even more generally, any best practices to keep a VM from
making other VMS too sluggish?

Thanks!
-Dylan

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

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