[Bug 1507921] Re: When hugepages is set vm.max_map_count is not automatically adjusted

Vladimir Eremin veremin at mirantis.com
Tue Mar 15 13:21:47 UTC 2016


For openvswitch-dpdk, vm.max_map_count should be adjusted at least for
2*nr_hugepages + some padding for other apps, e.g.:

    max_map_count="$(awk -v padding=65530 '{total+=$1}END{print total*2+padding}' /sys/devices/system/node/node*/hugepages/hugepages-*/nr_hugepages)"
    sysctl -q vm.max_map_count=${max_map_count:-65530}

** Also affects: dpdk (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: openvswitch-dpdk (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dpdk in Ubuntu.
https://bugs.launchpad.net/bugs/1507921

Title:
  When hugepages is set  vm.max_map_count is not automatically adjusted

To manage notifications about this bug go to:
https://bugs.launchpad.net/falkor/+bug/1507921/+subscriptions



More information about the Ubuntu-server-bugs mailing list