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

Re: [Xen-devel] Xen cpu usage limting



Xen schedules domains on the available CPUs pre-emptively, so CPU usage 
limiting should work just fine.

The default scheduler (BVT) is configured to provide an equal share of a CPU 
to each of the domains running on it.  You can change the weights so that 
domains will get larger or smaller shares (there are some options in 
xc_dom_control.py).

A single domain shouldn't be able to bog down the others on the system by its 
CPU usage in the default configuration.  In fact, the plan is that disk and 
network usage will also be controllable so that you can give some guarantees 
on the slice of the machine a domain receives.  [I think there are controls in 
place for network, mechanisms for disk are being worked on]  I'll be checking 
in a little documentation about the CPU schedulers next week.  Eventually, we 
should have some kind of "friendly" user interface for controlling them.

To solve your current problem, a little more information would be handy (e.g. 
what release you're using, what scheduler you're using, anything else that's 
odd about the configuration, what configuration the domains have (what is it 
that is consuming 100% CPU in the domain, are the domains sharing any external 
resources that could cause performance problems), anything else you can think 
of).

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.