Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d38aeae
)
vpp_config: leave kernel.shmmax alone by default
86/42286/2
author
Benoît Ganne
<
[email protected]
>
Tue, 28 Jan 2025 14:46:32 +0000
(15:46 +0100)
committer
Dave Wallace
<
[email protected]
>
Fri, 31 Jan 2025 15:17:07 +0000
(15:17 +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]
>
(cherry picked from commit
5819e2aded521aec1c84a3b7d4c4810beac92903
)
src/vpp/conf/80-vpp.conf
patch
|
blob
|
history
diff --git
a/src/vpp/conf/80-vpp.conf
b/src/vpp/conf/80-vpp.conf
index
8971d9a
..
3323023
100644
(file)
--- 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