Ask Your Question

how hugepages settings are configured via Fuel?

asked 2016-10-31 13:46:43 -0500

karthikeayan gravatar image

updated 2016-10-31 13:48:20 -0500

I can see hugepages values are configured in /etc/default/grub after openstack deployment in compute nodes. I am looking to understand how Fuel is pushing this data and configuring hugepages in these nodes.

Is it just changing the /etc/default/grub configuration file and rebooting the node? Or is it passing hugepages values through grub at the time of node booting?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2016-11-02 07:20:05 -0500

yottatsa gravatar image

updated 2016-11-02 07:27:23 -0500

Amount of hugepages allocation is calculated on per-node basis using 3 controls: 2MB and 1GB HPs for nova, and memory for DPDK (in case if you use it). Then nailgun spread chosen amount over NUMA nodes.

To actually configure hugepages for compute instances:

  1. nailgun configures linux cmdline to add hugepages on boot time
  2. puppet configures sysfs to distribute 2M hugepages over NUMA nodes

So if you want to change the values, you can either update them via UI, or edit both /etc/default/grub and /etc/sysfs.d/hugepages.conf, then run update-grub and /etc/init.d/sysfsutils restart. 2M hugepages could be reallocated without reboot.

See more on (

edit flag offensive delete link more

answered 2016-11-01 17:48:33 -0500

Don gravatar image

That would only affect the fuel node. Is that what you want to do or modify the other nodes being installed by Fuel?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-31 13:46:43 -0500

Seen: 189 times

Last updated: Nov 02 '16