Update report doc for rls1807
[csit.git] / docs / report / introduction / test_environment_sut_conf_2.rst
diff --git a/docs/report/introduction/test_environment_sut_conf_2.rst b/docs/report/introduction/test_environment_sut_conf_2.rst
new file mode 100644 (file)
index 0000000..482c09d
--- /dev/null
@@ -0,0 +1,37 @@
+
+**Host CFS optimizations (QEMU+VPP)**
+
+Applying CFS scheduler tuning on all Qemu vcpu worker threads (those are
+handling testpmd - pmd threads) and VPP PMD worker threads. List of VPP PMD
+threads can be obtained e.g. from:
+
+::
+
+    $ for psid in $(pgrep vpp)
+    $ do
+    $     for tid in $(ps -Lo tid --pid $psid | grep -v TID)
+    $     do
+    $         echo $tid
+    $     done
+    $ done
+
+Or:
+
+::
+
+    $ cat /proc/`pidof vpp`/task/*/stat | awk '{print $1" "$2" "$39}'
+
+Applying Round-robin scheduling with highest priority
+
+::
+
+    $ for psid in $(pgrep vpp)
+    $ do
+    $     for tid in $(ps -Lo tid --pid $psid | grep -v TID)
+    $     do
+    $         chrt -r -p 1 $tid
+    $     done
+    $ done
+
+More information about Linux CFS can be found in: `Sched manual pages
+<http://man7.org/linux/man-pages/man7/sched.7.html>`_.