aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/reference.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/configuration/reference.rst b/docs/configuration/reference.rst
index 2759d47d54b..9378ce5b589 100644
--- a/docs/configuration/reference.rst
+++ b/docs/configuration/reference.rst
@@ -466,6 +466,20 @@ CPU cores while skipping "skip-cores" CPU core(s) and main thread's CPU core
workers 2
+relative
+^^^^^^^^^
+
+Apply thread pinning configuration with respect to the available logical cores
+in the current control group CPU set.
+By default, VPP applies the thread pinning configuration with respect to the
+available logical cores on host (e.g. '/sys/devices/system/cpu/online'). With
+the 'relative' keyword, the thread pinning configuration is applied with respect
+to the available logical cores (obtained with sched_getaffinity).
+
+.. code-block:: console
+
+ relative
+
scheduler-policy other | batch | idle | fifo | rr
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^