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

2016-03-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openvswitch-dpdk (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dpdk in Ubuntu.

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

2016-03-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dpdk (Ubuntu) Status: New => Confirmed -- 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

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

2016-03-15 Thread Vladimir Eremin
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