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

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

 



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 :|

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux