When hugepages is enabled shmmax is not changed

Bug #1496746 reported by Liam Young
6
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

Liam Young (gnuoy)
Changed in nova-compute (Juju Charms Collection):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
Liam Young (gnuoy) wrote :

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.

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.