[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH] manager: show guest machine stats under Details -> Performance.



On Mon, Apr 29, 2013 at 12:23:27PM -0400, Cole Robinson wrote:
> On 04/27/2013 06:42 PM, Tadej Janež wrote:
> > This fixes rhbz #878425.
> > ---
> >  virtManager/details.py | 12 ++++++------
> >  virtManager/domain.py  |  2 +-
> >  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> Thanks, pushed now.
> 
> This screen needs some work though. The memory stats are basically useless,
> since it's a very rare operation that VM memory allocation is changed, so the
> graph will always appear to be a straight line. There is an API for fetching
> actual memory usage from inside the guest, however I think it's fairly
> heavyweight so we couldn't just plug it in to the existing graph.

There is the virDomainGetMemoryStats API which on QEMU is wired through
to the 'query-balloon' monitor command. This doesn't do calls into the
guest OS at all - the guest pushes stats down the host asynchronously
from this. So performance / scalability is on a par with the existing
APIs for querying disk stats.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]