|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] XEN Proposal
On Thu, Dec 11, 2008 at 3:13 PM, George Dunlap <dunlapg@xxxxxxxxx> wrote:
> It seems like what you really want is to cap the number of credits the
> VMs can get, and then take them offline when their credits go negative
> (instead of competing for resources in a "best-effort" fashion). :-)
Actually, it turns out this functionality is already present.
xm sched-credit -d [domid] -c 30
will "cap" the domain to 30% of one cpu, even if there are no other
cpus running. You should be able to utilize that directly, no
development needed.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|