vpp_config: leave kernel.shmmax alone by default 61/42261/3
authorBenoît Ganne <[email protected]>
Tue, 28 Jan 2025 14:46:32 +0000 (15:46 +0100)
committerDave Wallace <[email protected]>
Thu, 30 Jan 2025 21:02:44 +0000 (21:02 +0000)
Linux default settings are enough, and modifying them can break other
applications.

Type: improvement

Change-Id: I773b730802bae78b0f33ca3ff31d9ee2ffa82f89
Signed-off-by: Benoît Ganne <[email protected]>
src/vpp/conf/80-vpp.conf

index 8971d9a..3323023 100644 (file)
@@ -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