From: Benoît Ganne Date: Tue, 28 Jan 2025 14:46:32 +0000 (+0100) Subject: vpp_config: leave kernel.shmmax alone by default X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5819e2aded521aec1c84a3b7d4c4810beac92903;p=vpp.git vpp_config: leave kernel.shmmax alone by default Linux default settings are enough, and modifying them can break other applications. Type: improvement Change-Id: I773b730802bae78b0f33ca3ff31d9ee2ffa82f89 Signed-off-by: Benoît Ganne --- diff --git a/src/vpp/conf/80-vpp.conf b/src/vpp/conf/80-vpp.conf index 8971d9a1ce9..33230236eb4 100644 --- a/src/vpp/conf/80-vpp.conf +++ b/src/vpp/conf/80-vpp.conf @@ -17,4 +17,6 @@ vm.hugetlb_shm_group=0 # If the existing kernel.shmmax setting (cat /proc/sys/kernel/shmmax) # is greater than the calculated TotalHugepageSize then set this parameter # to current shmmax value. -kernel.shmmax=2147483648 +# Linux default is 4278190079, you don't need to change it unless you +# configure more than 2039 2MB hugepages +# kernel.shmmax=2147483648