diff options
author | Damjan Marion <damarion@cisco.com> | 2020-09-11 22:18:35 +0200 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-09-18 09:07:32 +0000 |
commit | 1965f750bf5f399a11c75d7ba14a52a504c69227 (patch) | |
tree | a770b90732f7e4aa060497b49d4129a3bd6e8a5b /src/vpp/conf/startup.conf | |
parent | bdbb0c5436b52b4dc6c35d05f227cdf934306d83 (diff) |
vpp: make main heap page size configurable from startup.conf
Type: improvement
Change-Id: I190c6896152c626aa7cb1055cfce5d9cfcd5b68b
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp/conf/startup.conf')
-rw-r--r-- | src/vpp/conf/startup.conf | 12 |
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 |