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

Re: [Xen-users] cpu management

Paul Peeler wrote:
On Fri, 2006-04-07 at 15:26 +0200, Andrej Radonic wrote:
Paul Peeler wrote:
Is there a way to define how much of the cpu a particular domU is
allowed to use? I know you can specify which cpu/cpus it uses, but it
would be nice to be able to say "25% of CPU0" and allow it to use more
if it is available.
Hi Paul,

yes (of course), something like that.

There is the "memory" parameter in the domU's config file. This is the default as well as max RAM assigned to a domU at boot time. At runtime you can use "xm mem-set <domain> <megabytes>" to dynmically adjust allocated RAM, but only up to the initial value.

All this is accomplished via the "balloon" driver.

Cheers,
Andrej


How does that control the cpu utilization?
Hi  Paul,

sorry - completely misread your posting. I thought you were referring to memory, not CPU.

AFAIK to this end there is the "bvt" scheduler. You will find info on this in the xm man page. Never used it so I am sorry I can't tell you anything more. (but I'd be happy to hear from you about it if you succeed because I will get to this topic in a few days).

Bye,

Andrej


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>