aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/conf/startup.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/conf/startup.conf')
-rw-r--r--src/vpp/conf/startup.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index 0be10d5ba19..eb2cf09c889 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -32,6 +32,18 @@ socksvr {
default
}
+# memory {
+ ## Set the main heap size, default is 1G
+ # main-heap-size 2G
+
+ ## Set the main heap page size. Default page size is OS default page
+ ## which is in most cases 4K. if different page size is specified VPP
+ ## will try to allocate main heap by using specified page size.
+ ## special keyword 'default-hugepage' will use system default hugepage
+ ## size
+ # main-heap-page-size 1G
+#}
+
cpu {
## In the VPP there is one main thread and optionally the user can create worker(s)
## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically