Ask Your Question
0

how hugepages settings are configured via Fuel?

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

karthikeayan gravatar image

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

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
1

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

yottatsa gravatar image

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

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 https://review.openstack.org/#/c/282367/
  2. puppet configures sysfs to distribute 2M hugepages over NUMA nodes https://review.openstack.org/#/c/288310/

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 http://specs.openstack.org/openstack/fuel-specs/specs/9.0/support-hugepages.html (http://specs.openstack.org/openstack/...)

edit flag offensive delete link more
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 147 times

Last updated: Nov 02 '16