<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px"><div id="yui_3_16_0_1_1457429908023_8023" dir="ltr"><font id="yui_3_16_0_1_1457429908023_8138" size="3">How to measure memory utilizatin of guest when dommemstat reports "RSS" is more than "ACTUAL"?<br><br><br>Following is the output on RHEL 6.6<br><br># dommemstat 1 <br>actual 16777216 <br>rss 16890372 <br><br># dommemstat 2 <br>actual 16777216 <br>rss 16460516<br><br>I found following article on Redhat which suggests that this is normal/expected?<br><br>https://access.redhat.com/solutions/2017943<br><br>Now we use following formula to calculate the memory utilization.<br><br>mem_util = (rss/actual)*100<br><br>now this gives more that 100% as the result.<br><br>We use the libvirt library to call the virDomainMemoryStats. (which is the same used by the "virsh dommemstat" command) <br>If we can't use the RSS as the "used memory", what else should be used to calculate the same?</font></div><div id="yui_3_16_0_1_1457429908023_8038" dir="ltr"><font size="3"><br></font></div><div id="yui_3_16_0_1_1457429908023_8047" dir="ltr"><font size="3">What is the ideal approach to report memory utilization of guest from the KVM host?</font><br></div></div></body></html>