aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/introduction/test_environment_sut_conf_2.rst
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-07-28 15:34:25 +0000
committerTibor Frank <tifrank@cisco.com>2018-07-31 07:16:08 +0000
commite25e0711933aec46e40600c0d73797efe5e510b0 (patch)
tree10ef1a16eb8c42c920120b3271684f98f60d5c6b /docs/report/introduction/test_environment_sut_conf_2.rst
parenteb9350bdb4ef5ca075832fe9bad6af11c75d6c8d (diff)
Update report doc for rls1807
Change-Id: I713fe9b4a1a2830d6267c1dfc9b0442bf08b8ab4 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit ee1321d27bc39baab5bc2615834fd7392b79a160)
Diffstat (limited to 'docs/report/introduction/test_environment_sut_conf_2.rst')
-rw-r--r--docs/report/introduction/test_environment_sut_conf_2.rst37
1 files changed, 37 insertions, 0 deletions
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
index 0000000000..482c09d5fb
--- /dev/null
+++ b/docs/report/introduction/test_environment_sut_conf_2.rst
@@ -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>`_.