From d35f7f0988cc891dac29be0ae2b343d13f03f985 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Ganne?= Date: Tue, 28 Jan 2025 15:46:32 +0100 Subject: [PATCH] vpp_config: leave kernel.shmmax alone by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Linux default settings are enough, and modifying them can break other applications. Type: improvement Change-Id: I773b730802bae78b0f33ca3ff31d9ee2ffa82f89 Signed-off-by: Benoît Ganne --- src/vpp/conf/80-vpp.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.16.6