<div dir="ltr"><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:1080px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-"><div id="gmail-:2gk" class="gmail-ii gmail-gt gmail-adO" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:2gj" class="gmail-a3s gmail-aiL" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div><br class="gmail-Apple-interchange-newline">I think we have a big problem, scheduler is able to allocate more memory than actual physical memory in the compute node, the same statistics are also there in database.</div><div>For example : if we have a physical memory of 125GB in a node, the total memory allocated to all the instances(virsh dommemstat of all vms) in that host is more than physical memory say around 147GB, being ram_allocation_ratio defined as 1 and reserve_host_memory_mb defined as required.</div><div><br></div><div>How can nova allocates more memory than actual?</div><div><br></div><div>Statistics from database</div><div><br></div><div>+-----------+----------------+-------------+----------------------+<br>| memory_mb | memory_mb_used | free_ram_mb | ram_allocation_ratio |<br>+-----------+----------------+-------------+----------------------+<br>|    128897 |         154624 |      -25727 |                    1 |<br>+-----------+----------------+-------------+----------------------+<br></div><div>we are using openstack stein</div><div><br></div><div>Regards,</div><div>Akkina</div></div><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><div id="gmail-:2gz" class="gmail-ajR" tabindex="0" style="background-color:rgb(232,234,237);border:none;clear:both;line-height:6px;outline:none;width:24px;border-radius:5.5px"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="background: url("https://www.gstatic.com/images/icons/material/system/2x/more_horiz_black_20dp.png") 50% 50% / 20px no-repeat; height: 11px; opacity: 0.7; width: 24px;"></div></div></div></div><div class="gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><br class="gmail-Apple-interchange-newline"></div>