aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2025-01-28 11:49:57 -0500
committerDave Wallace <dwallacelf@gmail.com>2025-01-30 21:00:49 +0000
commitd38aeaea4c538f840f1e074c0f70b01c3bc048ad (patch)
tree6d9ec86d2f92ca152916009bf1c238a0d7ebdf23 /src
parentb68c1f26137692278ed7d335fd0e217a30331b99 (diff)
vpp_config: leave vm.max_map_count alone by default
Do not set vm.max_map_count to 3096 by default. That value is an order of magnitude smaller than current distro defaults, and causes seemingly "random" severe application failures; known to occur when running Brave, Firefox, and VirtualBox to name but a few. Type: fix Change-Id: Ibe7518d92c3be9a4704972c9d504777776f924dc Signed-off-by: Dave Barach <dave@barachs.net> (cherry picked from commit 81996c1970b7db39f1ffe7a919bbb3a3ab9a0740)
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