summaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/configuring
diff options
context:
space:
mode:
authorJieqiang Wang <jieqiang.wang@arm.com>2019-10-22 20:09:16 +0800
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-12-18 22:47:42 +0000
commitaffa05532dddf8cc0a1bdb452a7555cc7f9dc691 (patch)
tree806e8b1caae41b25515bd3b9b36779eca08c320e /docs/gettingstarted/users/configuring
parent53131d2a2667a28b64d8a862d070b6402e7732bb (diff)
docs: add physmem section in configuration parameters
physmem section is listed in 'Advanced Parameters', which has two parameters, base-addr and max-size, for pmalloc module in VPP. Type:feature Change-Id: I7beef40603b864e4c8f3cf0fa716de74036cfdcc Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Diffstat (limited to 'docs/gettingstarted/users/configuring')
-rw-r--r--docs/gettingstarted/users/configuring/startup.rst34
1 files changed, 30 insertions, 4 deletions
diff --git a/docs/gettingstarted/users/configuring/startup.rst b/docs/gettingstarted/users/configuring/startup.rst
index 6ec2b97e219..51a22f08c55 100644
--- a/docs/gettingstarted/users/configuring/startup.rst
+++ b/docs/gettingstarted/users/configuring/startup.rst
@@ -1328,7 +1328,7 @@ meaning the NAT is not deterministic.
deterministic
nat64 bib hash buckets <n>
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^
Sets the number of hash buckets in each of the two in/out NAT64 BIB bi-hash
tables. Defaults to 1024 buckets.
@@ -1338,7 +1338,7 @@ tables. Defaults to 1024 buckets.
nat64 bib hash buckets 1024
nat64 bib hash memory <n>
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^
Sets the allocated memory size (in bytes) for each of the two in/out NAT64
BIB bi-hash tables. Defaults to 134217728 (128 << 20) bytes,
@@ -1349,7 +1349,7 @@ which is roughly 128 MB.
nat64 bib hash memory 134217728
nat64 st hash buckets <n>
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^
Sets the number of hash buckets in each of the two in/out NAT64 session table
bi-hash tables. Defaults to 2048 buckets.
@@ -1359,7 +1359,7 @@ bi-hash tables. Defaults to 2048 buckets.
nat64 st hash buckets 2048
nat64 st hash memory <n>
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^
Sets the allocated memory size (in bytes) for each of the two in/out NAT64 session
table bi-hash tables. Defaults to 268435456 (256 << 20) bytes, which is roughly
@@ -1397,6 +1397,32 @@ Default is 2.04 seconds.
interval 3.5
+physmem Section
+---------------
+
+Configuration parameters used to specify base address and maximum size of
+the memory allocated for the pmalloc module in VPP. pmalloc is a NUMA-aware,
+growable physical memory allocator. pmalloc allocates memory for the DPDK
+memory pool.
+
+base-addr <address>
+^^^^^^^^^^^^^^^^^^^
+
+Specify the base address for pmalloc memory space.
+
+.. code-block:: console
+
+ base-addr 0xfffe00000000
+
+max-size <n>G | <n>M | <n>K | <n>
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Set the memory size for pmalloc memory space. The default is 16G.
+
+.. code-block:: console
+
+ max-size 4G
+
tapcli Section
--------------