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
Bugs, which is subscribed to 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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs