blob: 8fdf184cf83936a760102483fb0bf15ca9e34149 [file] [log] [blame]
John DeNisco68b0ee32017-09-27 16:35:23 -04001# Number of 2MB hugepages desired
2vm.nr_hugepages=1024
3
4# Must be greater than or equal to (2 * vm.nr_hugepages).
5vm.max_map_count=3096
6
7# All groups allowed to access hugepages
8vm.hugetlb_shm_group=0
9
10# Shared Memory Max must be greator or equal to the total size of hugepages.
11# For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
12# If the existing kernel.shmmax setting (cat /sys/proc/kernel/shmmax)
13# is greater than the calculated TotalHugepageSize then set this parameter
14# to current shmmax value.
15kernel.shmmax=2147483648