Re: [libvirt] Globally Reserve Resources for Host

2012-11-29 Thread Dusty Mabe
On Wed, Nov 28, 2012 at 3:26 PM, Daniel P. Berrange wrote: > On Wed, Nov 28, 2012 at 02:27:53PM -0500, Dusty Mabe wrote: >> On Wed, Nov 14, 2012 at 11:22 AM, Dusty Mabe wrote: >> > On Thu, Nov 1, 2012 at 11:32 PM, Dusty Mabe wrote: > Sorry for not replying before. I've been thinking about this

Re: [libvirt] Globally Reserve Resources for Host

2012-11-28 Thread Daniel P. Berrange
On Wed, Nov 28, 2012 at 02:27:53PM -0500, Dusty Mabe wrote: > On Wed, Nov 14, 2012 at 11:22 AM, Dusty Mabe wrote: > > On Thu, Nov 1, 2012 at 11:32 PM, Dusty Mabe wrote: > > > > > > I think i have a very minimal implementation of what I proposed in my > > original email ("reserving resources for h

Re: [libvirt] Globally Reserve Resources for Host

2012-11-28 Thread Dusty Mabe
On Wed, Nov 14, 2012 at 11:22 AM, Dusty Mabe wrote: > On Thu, Nov 1, 2012 at 11:32 PM, Dusty Mabe wrote: > > > I think i have a very minimal implementation of what I proposed in my > original email ("reserving resources for host"). It is not quite as > featureful as what you discussed with danpb

Re: [libvirt] Globally Reserve Resources for Host

2012-11-14 Thread Dusty Mabe
On Thu, Nov 1, 2012 at 11:32 PM, Dusty Mabe wrote: > On Thu, Nov 1, 2012 at 11:09 AM, Eric Blake wrote: >> Basically, you would create a virGroupPtr that describes the entire >> resources you are willing to allow to VMs, then ensure that all VMs are >> members of that virGroupPtr. > > Thanks for

Re: [libvirt] Globally Reserve Resources for Host

2012-11-01 Thread Dusty Mabe
On Thu, Nov 1, 2012 at 11:09 AM, Eric Blake wrote: > On 11/01/2012 07:16 AM, Dusty Mabe wrote: >> >> Does anyone think this functionality would be useful? This is primarily to >> prevent the host from being starved when the allocation of guests have the >> host overcommitted/oversubscribed. > > Ye

Re: [libvirt] Globally Reserve Resources for Host

2012-11-01 Thread Eric Blake
On 11/01/2012 07:16 AM, Dusty Mabe wrote: > Hi, > > I am interested in the capability to globally reserve resources(cpu and > memory) for a KVM host. I know you can configure memory limits for each > guest (http://libvirt.org/formatdomain.html#elementsMemoryTuning), but > would like the ability to

[libvirt] Globally Reserve Resources for Host

2012-11-01 Thread Dusty Mabe
Hi, I am interested in the capability to globally reserve resources(cpu and memory) for a KVM host. I know you can configure memory limits for each guest (http://libvirt.org/formatdomain.html#elementsMemoryTuning), but would like the ability to reserve host cpu and memory without having to activel