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/
Home Products Support Community News


Re: [Xen-devel] Xen cpu usage limting

Hi Brian,

which version of Xen/Xenolinux are you using? the scheduler
implementation changed from 1.2 to 1.3-unstable.

On Fri, 2004-04-16 at 17:40, Brian Wolfe wrote:
> Is it possible? How? (looked for documentation, but I didn't see any.)
> I did see xen_cpuperf, but I can't get any real information from there
> either. 8-(
> I have 8 domains (including domain-0) runing on the server. If one goes to
> 100% cpu time, the system bogs. I'd like to be able to ensure that each
> instance can't keep the rest from runing...

This should definitely not happen!!! Could you provide a little more
detail on what is running in the different domains? 

In 1.2 the scheduler is a weighted proportional share scheduler (BVT)
and by default all domains get the same weight and therefore should get
the same share.

in 1.3 you have a boot-time choice between schedulers, BVT (same as in
1.2, Atropos (a soft real time scheduler based on EDF)

I have just tested with 1.3-unstable, four domains on a dual processor
machine (two domains per CPU) and BVT as the scheduler and they happily
share the CPU 50/50 if both run the equivalent of a while(1) loop.


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
Xen-devel mailing list