From mboxrd@z Thu Jan 1 00:00:00 1970 From: "G. Milos" Subject: xm create weight=x Date: Tue, 10 Aug 2004 17:19:42 +0100 (BST) Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <200408090038400796.00D660DC@mail.gmx.de> <200408092245170093.0089E7E4@mail.gmx.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: In-Reply-To: <200408092245170093.0089E7E4@mail.gmx.de> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org I've just added a new option to the xm create command. The weight of a domain (CPU share) can be set with 'weight=something' parameter (something can be a float). It also works if weight is specified in the config file (xmdefaults). Schedulers which do not have notion of weight (e.g. RRobin) ignore the weight argument. For the default scheduler (BVT) the weights are inversed and then stored in an integer field (mcu_advance = 10 / weight). To achieve good resolution it is therefore good to use relativelly small walues for the weight parameter. Finally - the scheduling parameters can be changed using: xm bvt xm fbvt xm rrobin xm atropos (if it worked) calls, depending on which scheduler is currently used. All the test reports are welcomed, directly to me or to the list. Cheers Gregor ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285