I am in the process of searching the lists for this, but thought there were some sources I am missing. Where is the best documentation for cpu management of domains? Is there a QOS mechanism for cpu utilization? Thanks. Paul _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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, > AndrejHow does that control the cpu utilization? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users