aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-02-20 12:43:54 +0100
committerTibor Frank <tifrank@cisco.com>2018-02-20 12:19:59 +0000
commit3c5428b13bdf28774922b3abe370f23e3ccc5ead (patch)
treedf77911416ba06f3d61588cf05fe8eeecbf38788 /docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst
parente295c659674806cfdb2530b28323318be9ebe616 (diff)
CSIT-891: Add data sources for 1801 report
Change-Id: Ifd1bcbf376e9eff9afbb578d88df377ba301cafa Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst')
-rw-r--r--docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst b/docs/report/vpp_performance_tests/test_environment_sut_conf_2.rst
new file mode 100644
index 0000000000..482c09d5fb
--- /dev/null
+++ b/docs/report/vpp_performance_tests/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>`_.