aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vpp/conf/80-vpp.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vpp/conf/80-vpp.conf b/src/vpp/conf/80-vpp.conf
index 2207e2e3824..8971d9a1ce9 100644
--- a/src/vpp/conf/80-vpp.conf
+++ b/src/vpp/conf/80-vpp.conf
@@ -1,8 +1,13 @@
# Number of 2MB hugepages desired
vm.nr_hugepages=1024
-# Must be greater than or equal to (2 * vm.nr_hugepages).
-vm.max_map_count=3096
+# The vm max_map_count must be greater than or equal to (2 * vm.nr_hugepages).
+
+# The system default is often an order of magnitude greater than the
+# value below. If you uncomment this stanza and reboot as-is, watch
+# out for seemingly "random" severe application failures; known to
+# occur in Brave, Firefox, and VirtualBox to name but a few.
+# vm.max_map_count=3096
# All groups allowed to access hugepages
vm.hugetlb_shm_group=0