<div dir="ltr">My instances are using much more memory that expected.  The amount free memory (free + cached) is under 3G on my servers even though the compute nodes are configured to reserve 32G.  <div><br></div><div>Here's my setup:<div>Release: Ice House<br></div><div>Server mem: 256G</div><div>Qemu version: 2.0.0+dfsg-2ubuntu1.1</div><div>Networking: Contrail 1.20</div><div>Block storage: Ceph 0.80.7</div><div>Hypervisor OS: Ubuntu 12.04</div><div>memory over-provisioning is disabled</div><div>kernel version: 3.11.0-26-generic</div><div><br></div><div>On nova.conf</div><div><div>reserved_host_memory_mb = 32768</div></div><div><br></div><div>Info on instances:</div><div>- root volume is file backed (qcow2) on the hypervisor local storage</div><div>- each instance has a rbd volume mounted from Ceph</div><div>- no swap file/partition</div><div><br></div><div>I've confirmed, via nova-compute.log, that nova is respecting the reserved_host_memory_mb directive and is not over-provisioning.  On some hypervisors, nova-compute says there's 4GB available for use even though the OS has less that 4G left (free +cached)!</div><div><br></div><div>I've also summed up the memory from /etc/libvir/qemu/*.xml files and the total looks good.<br></div><div><br></div><div>Each hypervisor hosts about 45-50 instances.</div><div><br></div><div>Is there good way to calculate the actual usage of each QEMU process?</div><div><br></div><div>PS: I've tried free, summing up RSS, and smem but none of them can tell me where's the missing mem.</div><div><br></div><div>thx</div><div>mike</div></div></div>