WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] cpu_weight and cpu_cap

To: "Dylan Martin" <dmartin@xxxxxxxxxxxx>
Subject: Re: [Xen-users] cpu_weight and cpu_cap
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=yb4Gver6NWImLeh96zBpaCBLVHkjySWJVkLnBYhkaac=; b=N2qiZ1mBljtp53RI+m89MKGCAdYEulcTvElVihZchU8it9IAEdPN7YUrNlhjQLOnUVsD5D9OMrPVaxbliDgpdiITFFsXHN5b5q7Gjv6ZqkjCwYpOcLGtXVAE6zqst23JIUocmt3V1fDOYhqeqiEOYkrXlrf6N+H2T0CkscGYeSM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e1a4c7f60802011146p2476e58dl3f9ea525a80a9b0c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <e1a4c7f60802011146p2476e58dl3f9ea525a80a9b0c@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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
<Prev in Thread] Current Thread [Next in Thread>