aboutsummaryrefslogtreecommitdiff
path: root/example/isolation/readme
blob: d49d61aecd22b9fded6bb7d07954c10c3ecf70cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

README on How-to run odp app on isolated core for no_hz_full kernel mode.

- Disbale timer init in odp application.
- avoid using odp's cpuset. Let odp thread launch unpinned.
- use odp-on-isolated-cpu.sh script to pin odp dp thread to
 dplane cpuset.

- download my local test-definition repo link [1]
- copy odp_isolation binary to /usr/local/bin
- run  ./common/scripts/odp-on-isolated-cpu.sh
Or
-  ./common/scripts/odp-on-isolated-cpu.sh 1,2 "odp_isolation -l 1,2"
- Above script shows isolation duration, before / after interrupt count.

Known issue :
- x86 hw generates spurious ipi lead to break no_hz_full isolation (todo).

[1] https://git.linaro.org/people/santosh.shukla/test-definitions.git/shortlog/refs/heads/isol-v2