diff options
author | 2025-01-28 11:49:57 -0500 | |
---|---|---|
committer | 2025-01-30 21:00:49 +0000 | |
commit | d38aeaea4c538f840f1e074c0f70b01c3bc048ad (patch) | |
tree | 6d9ec86d2f92ca152916009bf1c238a0d7ebdf23 /src | |
parent | b68c1f26137692278ed7d335fd0e217a30331b99 (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.conf | 9 |
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 |