summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-06 18:08:23 +0200
committerGitHub <noreply@github.com>2023-07-06 18:08:23 +0200
commitc13f310dc805f1c877584cb905a9c044db53be83 (patch)
treec6ed23579a8d39c8301b43f68a92465242c29bad /data
parent67cb7e4f48595d6e0e33aac8e1934cc93f68a5d7 (diff)
parent0e223427e572b4372be832b5e3723c4b4336024b (diff)
downloadvyos-1x-c13f310dc805f1c877584cb905a9c044db53be83.tar.gz
vyos-1x-c13f310dc805f1c877584cb905a9c044db53be83.zip
Merge pull request #2074 from zdc/T1797-sagitta
VPP: T1797: Optimizations for VPP memory allocation during startup
Diffstat (limited to 'data')
-rw-r--r--data/templates/vpp/sysctl.conf.j215
1 files changed, 0 insertions, 15 deletions
diff --git a/data/templates/vpp/sysctl.conf.j2 b/data/templates/vpp/sysctl.conf.j2
deleted file mode 100644
index 2207e2e38..000000000
--- a/data/templates/vpp/sysctl.conf.j2
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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
-
-# All groups allowed to access hugepages
-vm.hugetlb_shm_group=0
-
-# Shared Memory Max must be greater or equal to the total size of hugepages.
-# For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
-# 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