aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configuration
diff options
context:
space:
mode:
authorLukas Stockner <lstockner@genesiscloud.com>2024-06-04 16:14:55 +0200
committerDamjan Marion <dmarion@0xa5.net>2024-06-05 12:28:27 +0000
commit63ff7a63250c714048b8f9cf5920a8f5713c2a81 (patch)
tree8d3112a0864e833c6319f733e04b1e098cda9b43 /docs/configuration
parentf4972f9232b45357db6266e07993b967fc87b172 (diff)
buffers: support per-numa-domain buffer size
Currently, buffers-per-numa is used for all NUMA domains, and there's no way to allocate different amounts for each domain. Therefore, this adds a per-NUMA-domain buffer config section, which currently has a single option to set the number of buffers. If it's not specified or set to zero, the code falls back to buffers-per-numa as before. Type: improvement Change-Id: If35d7a9eff6f8d1d78063ea7873dbf50780d0ec3 Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/reference.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/configuration/reference.rst b/docs/configuration/reference.rst
index 598e195af13..d288a6d7788 100644
--- a/docs/configuration/reference.rst
+++ b/docs/configuration/reference.rst
@@ -497,6 +497,9 @@ The buffers Section
buffers-per-numa 128000
default data-size 2048
page-size default-hugepage
+ numa 1 {
+ buffers 64000
+ }
}
buffers-per-numa number
@@ -532,6 +535,31 @@ Set the page size for buffer allocation
page-size default
page-size default-hugepage
+numa <numa index> { .. }
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Settings specific to a single NUMA domain.
+
+.. code-block:: console
+
+ buffers {
+ numa 0 {
+ buffers 32768
+ }
+ }
+
+buffers <n>
+^^^^^^^^^^^^^^^
+
+The number of buffers allocated for this specific NUMA domain.
+Default is 0, which falls back to the value configured in **buffers-per-numa**.
+
+.. code-block:: console
+
+ numa 0 {
+ buffers 32768
+ }
+
The dpdk Section
----------------