From: Dave Barach Date: Tue, 28 Jan 2025 16:49:57 +0000 (-0500) Subject: vpp_config: leave vm.max_map_count alone by default X-Git-Tag: v25.10-rc0~244 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=81996c1970b7db39f1ffe7a919bbb3a3ab9a0740;p=vpp.git 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 --- 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