<p dir="ltr">Thanks for the clarification. I will probe more into dommemstat.<br>
</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 18, 2016, 3:21 PM Eric Blake <<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/18/2016 01:36 PM, Connor Osborn wrote:<br>
> When I run `virsh dominfo <domain>` I get the following:<br>
><br>
> Id:             455<br>
> Name:           instance-000047e0<br>
> UUID:           50722aa0-d5c6-4a68-b4ef-9b27beba48aa<br>
> OS Type:        hvm<br>
> State:          running<br>
> CPU(s):         4<br>
> CPU time:       123160.4s<br>
> Max memory:     33554432 KiB<br>
> Used memory:    33554432 KiB<br>
<br>
That says that the host allows up to 32G memory to be consumed by the<br>
guest, and that no ballooning has taken place so the guest is free to<br>
use it all.  It doesn't mean that the guest is actually using it, though.<br>
<br>
> The domain is not at 100% memory capacity. How can I diagnose this further?<br>
<br>
You're asking the wrong interface.  dominfo only tells you how much of<br>
the memory balloon is in use (here, none), and does not ask how much<br>
memory the guest claims to be using.<br>
<br>
'virsh memtune' and 'virsh dommemstat' ask different questions, and may<br>
be able to give you more insight into the guest's current memory usage<br>
(but it might also be something you can't learn without guest cooperation).<br>
<br>
--<br>
Eric Blake   eblake redhat com    +1-919-301-3266<br>
Libvirt virtualization library <a href="http://libvirt.org" rel="noreferrer" target="_blank">http://libvirt.org</a><br>
<br>
</blockquote></div>