Skip to content

System Latency OS 5.2.1 rt1

vdeo edited this page May 21, 2020 · 3 revisions

Tools

Latency tests use rt-tests' cyclictest to deploy as many threads as there are cores. Stress tests (heavy load) use stress-ng. Test script is in bin directory:

runtestrt XXXX Y
# XXXX: test index. Output fies will containt this index
# Y stress mode. 0: no stress. 1: stress

Note that this is an extreme test case where all cores are occupied and there is no "idle" compute resource where pthreads can go. Typical performance for a cacao setup should be significanty better.

Kernel 5.2.1-rt1 PREEMPT RT

uname -a
Linux scexaortc 5.2.1-rt1 #1 SMP PREEMPT RT Mon Jul 15 06:56:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Note: cpupower does not install on custom kernel. Using following script to change to/from "performance"

echo "$1" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

No load - performance

alt text

Heavy load - performance

alt text

No load - performance + setlatency 0

alt text

Heavy load - performance + setlatency 0

alt text

30 threads (instead of 36)

No load - performance

alt text

Heavy load - performance

alt text

No load - performance, no memory locking

alt text

Heavy load - performance, no memory locking

alt text

Clone this wiki locally