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-devel

Re: [Xen-devel] Xen cpu usage limting

To: "Brian Wolfe" <brianw@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen cpu usage limting
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Fri, 16 Apr 2004 18:32:42 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Apr 2004 18:33:14 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Message from "Brian Wolfe" <brianw@xxxxxxxxxxxx> of "Fri, 16 Apr 2004 12:14:24 CDT." <41802.216.166.50.35.1082135664.squirrel@xxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I was also wondering if there is a way to assign a percentage of cpu time
> to a domain. Eg guarantee domain 3 gets 25% of the cpu time no matter how
> many other domains are in there, or how much cpu time they want.

The Atropos scheduler allows you to specify that a domain should receive x 
nanoseconds of CPU time per y nanoseconds of real time, i.e. what share of the 
CPU a domain gets and how regularly it gets scheduled.  Don't overcommit the 
CPU, though (i.e. reserve more than [100 minus a small margin for overheads] 
percent in total across all domains).

You can select Atropos using sched=atropos as a boot param to Xen.  The 
administrator tools (xc_dom_control.py and friends) don't have support for 
actually configuring it yet (though there's some library calls available in 
the Python Xc module if you want to write your own script) but I'll be 
checking in basic support early next week.

Cheers,

Mark



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel