CSIT-891: Add data sources for 1801 report
[csit.git] / docs / report / vpp_performance_tests / test_environment_sut_conf_2.rst
1
2 **Host CFS optimizations (QEMU+VPP)**
3
4 Applying CFS scheduler tuning on all Qemu vcpu worker threads (those are
5 handling testpmd - pmd threads) and VPP PMD worker threads. List of VPP PMD
6 threads can be obtained e.g. from:
7
8 ::
9
10     $ for psid in $(pgrep vpp)
11     $ do
12     $     for tid in $(ps -Lo tid --pid $psid | grep -v TID)
13     $     do
14     $         echo $tid
15     $     done
16     $ done
17
18 Or:
19
20 ::
21
22     $ cat /proc/`pidof vpp`/task/*/stat | awk '{print $1" "$2" "$39}'
23
24 Applying Round-robin scheduling with highest priority
25
26 ::
27
28     $ for psid in $(pgrep vpp)
29     $ do
30     $     for tid in $(ps -Lo tid --pid $psid | grep -v TID)
31     $     do
32     $         chrt -r -p 1 $tid
33     $     done
34     $ done
35
36 More information about Linux CFS can be found in: `Sched manual pages
37 <http://man7.org/linux/man-pages/man7/sched.7.html>`_.