[openstack-dev] [nova] ram size and huge page number for VM

Serguei Bezverkhi (sbezverk) sbezverk at cisco.com
Mon Feb 8 19:47:56 UTC 2016


Hello,

I using the latest Liberty and I am trying to bring up a VM with some numa options configured using flavor. Specifically I need to give this VM 16GB of RAM and in addition  it will need to use 12x1GB huge pages. What I found out, there is no way in a flavor to specify RAM size and separately number of huge pages, only size is avaialbe, so to achieve what I needed I had to specify RAM size of 30GB. It would not be that bad, but instead of taken 16GB from server's RAM and 12 GB from Huge pages it has taken whole 30GB out of the server's total huge pages pool. Huge waist!!! 

Anybody hit similar requirement and found a reasonable solution? Greatly appreciate any feedback.

Thank you

Serguei



More information about the OpenStack-dev mailing list