summaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/configuring
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-11-23 16:25:21 +0100
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-11-24 15:56:08 +0100
commit61559029dacaac95b410fcb39e93134ee4858591 (patch)
tree04af1a895c008f9f9b2cce70faf80e2b4e1ae65d /docs/gettingstarted/users/configuring
parentf06b3bdd9232e722c04062de58da5b45a115bc34 (diff)
buffers: add page-size config
Type: feature Add a `buffers {page-size}` parameter to specify page size for buffers. This also fixes an issue with the parsing in unformat_log2_page_size. Change-Id: I7d7b1fa0bb7febaa7509cf2c625882f07eeafaad Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'docs/gettingstarted/users/configuring')
-rw-r--r--docs/gettingstarted/users/configuring/startup.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/gettingstarted/users/configuring/startup.rst b/docs/gettingstarted/users/configuring/startup.rst
index 69d6ee5e3ea..e594b6a08a4 100644
--- a/docs/gettingstarted/users/configuring/startup.rst
+++ b/docs/gettingstarted/users/configuring/startup.rst
@@ -579,6 +579,7 @@ The buffers Section
buffers {
buffers-per-numa 128000
default data-size 2048
+ page-size default-hugepage
}
buffers-per-numa number
@@ -601,6 +602,19 @@ Size of buffer data area, default is 2048
default data-size 2048
+page-size number
+^^^^^^^^^^^^^^^^
+
+Set the page size for buffer allocation
+
+.. code-block:: console
+
+ page-size 4K
+ page-size 2M
+ page-size 1G
+ page-size default
+ page-size default-hugepage
+
The dpdk Section
----------------