When hugepages is enabled shmmax is not changed
Bug #1496746 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Landscape Server | ||||||
Cisco-odl |
Fix Released
|
High
|
Björn Tillenius | |||
nova-compute (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
When enabling hugepages Shared Memory Max must be greator or equal to the total size of hugepages.
For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
Related branches
lp:~gnuoy/charm-helpers/1496746
- James Page: Approve
-
Diff: 158 lines (+79/-7)4 files modifiedcharmhelpers/core/hugepage.py (+8/-1)
charmhelpers/core/strutils.py (+30/-0)
tests/core/test_hugepage.py (+26/-6)
tests/core/test_strutils.py (+15/-0)
lp:~gnuoy/charms/trusty/nova-compute/1496746
- Chris Glass (community): Approve
-
Diff: 1265 lines (+810/-65)17 files modifiedhooks/charmhelpers/contrib/network/ufw.py (+5/-6)
hooks/charmhelpers/contrib/openstack/amulet/deployment.py (+23/-9)
hooks/charmhelpers/contrib/openstack/amulet/utils.py (+359/-0)
hooks/charmhelpers/contrib/openstack/context.py (+52/-7)
hooks/charmhelpers/contrib/openstack/templating.py (+28/-1)
hooks/charmhelpers/contrib/openstack/utils.py (+177/-1)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+2/-11)
hooks/charmhelpers/core/host.py (+32/-16)
hooks/charmhelpers/core/hugepage.py (+8/-1)
hooks/charmhelpers/core/kernel.py (+68/-0)
hooks/charmhelpers/core/strutils.py (+30/-0)
hooks/nova_compute_utils.py (+1/-0)
metadata.yaml (+1/-1)
tests/charmhelpers/contrib/amulet/deployment.py (+4/-2)
tests/charmhelpers/contrib/amulet/utils.py (+9/-0)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+9/-10)
unit_tests/test_nova_compute_utils.py (+2/-0)
Changed in nova-compute (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
no longer affects: | nova |
no longer affects: | landscape |
Changed in nova-compute (Juju Charms Collection): | |
status: | Confirmed → Fix Released |
milestone: | none → 15.10 |
To post a comment you must log in.
Looking at https:/ /www.kernel. org/doc/ Documentation/ vm/hugetlbpage. txt the pagesize option that is used to mount the hugepages should be set in bytes not human readable equivalent and that makes working out shmmax much easier too.