Re: [libvirt] [PATCH v7 6/7] qemu: add cache for DomainMemoryStats

2016-07-27 Thread Dmitry Derbyshev
7/27/2016 2:14 PM, Daniel P. Berrange пишет: On Wed, Jul 27, 2016 at 01:09:38PM +0200, Pavel Hrdina wrote: On Wed, Jul 13, 2016 at 01:42:17PM +0300, Derbyshev Dmitriy wrote: From: Igor Redko Communication with qemu monitor is time-consuming and there is additional

Re: [libvirt] [PATCH v7 6/7] qemu: add cache for DomainMemoryStats

2016-07-27 Thread Daniel P. Berrange
On Wed, Jul 27, 2016 at 01:09:38PM +0200, Pavel Hrdina wrote: > On Wed, Jul 13, 2016 at 01:42:17PM +0300, Derbyshev Dmitriy wrote: > > From: Igor Redko > > > > Communication with qemu monitor is time-consuming and there is > > additional overhead for converting

Re: [libvirt] [PATCH v7 6/7] qemu: add cache for DomainMemoryStats

2016-07-27 Thread Pavel Hrdina
On Wed, Jul 13, 2016 at 01:42:17PM +0300, Derbyshev Dmitriy wrote: > From: Igor Redko > > Communication with qemu monitor is time-consuming and there is > additional overhead for converting qemu_binary->json->libvirt_binary. > > This patch tries to avoid unnecessary qmp

[libvirt] [PATCH v7 6/7] qemu: add cache for DomainMemoryStats

2016-07-13 Thread Derbyshev Dmitriy
From: Igor Redko Communication with qemu monitor is time-consuming and there is additional overhead for converting qemu_binary->json->libvirt_binary. This patch tries to avoid unnecessary qmp queries. Knowing period of balloon statistics update cycle and timestamps of last