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

Chris Friesen chris.friesen at windriver.com
Mon Feb 8 20:04:26 UTC 2016


On 02/08/2016 01:47 PM, Serguei Bezverkhi (sbezverk) wrote:
> 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.

As far as I know there is no generic way to specify a VM with a mix of regular 
and huge pages.

Can you do this with your bare hypervisor?

Chris



More information about the OpenStack-dev mailing list