Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-10 Thread Dietmar Maurer
> > > 2. wait for the (kernel-based) auto-ballooning feature, which is on the > > > works > > > > Do you have more information on that? Any links? > > No, no links. What's being worked right now is a notification mechanism for > the kernel to inform user-space about memory pressure: > > htt

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-10 Thread Luiz Capitulino
On Sat, 8 Dec 2012 06:26:05 + Dietmar Maurer wrote: > > 2. wait for the (kernel-based) auto-ballooning feature, which is on the > > works > > Do you have more information on that? Any links? No, no links. What's being worked right now is a notification mechanism for the kernel to infor

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-09 Thread Alexandre DERUMIER
Best Regards, Alexandre Derumier --- Mail original - De: "Luiz Capitulino" À: "Dietmar Maurer" Cc: aligu...@us.ibm.com, a...@us.ibm.com, qemu-devel@nongnu.org, mdr...@linux.vnet.ibm.com Envoyé: Vendredi 7 Décembre 2012 19:54:44 Objet: Re: [Qemu-devel] [RFC 3/3] docs: documen

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-07 Thread Dietmar Maurer
> 2. wait for the (kernel-based) auto-ballooning feature, which is on the > works Do you have more information on that? Any links?

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-07 Thread Luiz Capitulino
On Fri, 7 Dec 2012 15:01:36 + Dietmar Maurer wrote: > > > Is it possible to extent those statistic to include buffer/cache values? > > > > Yes, should be possible but the kernel virtio-balloon driver has to be > > extended too (and I suspect this kind of change goes into the kernel first). >

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-07 Thread Dietmar Maurer
> > Is it possible to extent those statistic to include buffer/cache values? > > Yes, should be possible but the kernel virtio-balloon driver has to be > extended too (and I suspect this kind of change goes into the kernel first). The current statistics are quite useless without that information,

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-07 Thread Luiz Capitulino
On Fri, 7 Dec 2012 05:30:17 + Dietmar Maurer wrote: > > +The memory statistics are: > > + > > + o stat-swap-in > > + o stat-swap-out > > + o stat-major-faults > > + o stat-minor-faults > > + o stat-free-memory > > + o stat-total-memory > > I want to implement an automatic ballooning policy,

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-06 Thread Dietmar Maurer
> +The memory statistics are: > + > + o stat-swap-in > + o stat-swap-out > + o stat-major-faults > + o stat-minor-faults > + o stat-free-memory > + o stat-total-memory I want to implement an automatic ballooning policy, so I need to know the amount of free RAM inside the guest. But it seem that t

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-06 Thread mdroth
On Thu, Dec 06, 2012 at 01:31:09PM -0200, Luiz Capitulino wrote: > On Thu, 6 Dec 2012 13:24:11 + > "Daniel P. Berrange" wrote: > > > On Tue, Dec 04, 2012 at 01:04:48PM -0200, Luiz Capitulino wrote: > > > Signed-off-by: Luiz Capitulino > > > --- > > > docs/virtio-balloon-stats.txt | 73 > >

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-06 Thread Luiz Capitulino
On Thu, 6 Dec 2012 13:24:11 + "Daniel P. Berrange" wrote: > On Tue, Dec 04, 2012 at 01:04:48PM -0200, Luiz Capitulino wrote: > > Signed-off-by: Luiz Capitulino > > --- > > docs/virtio-balloon-stats.txt | 73 > > +++ > > 1 file changed, 73 insertions(

Re: [Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-06 Thread Daniel P. Berrange
On Tue, Dec 04, 2012 at 01:04:48PM -0200, Luiz Capitulino wrote: > Signed-off-by: Luiz Capitulino > --- > docs/virtio-balloon-stats.txt | 73 > +++ > 1 file changed, 73 insertions(+) > create mode 100644 docs/virtio-balloon-stats.txt > > diff --git a/doc

[Qemu-devel] [RFC 3/3] docs: document virtio-balloon stats

2012-12-04 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- docs/virtio-balloon-stats.txt | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 docs/virtio-balloon-stats.txt diff --git a/docs/virtio-balloon-stats.txt b/docs/virtio-balloon-stats.txt new file mode 100644 in