0
edits
Changes
From IGEP - ISEE Wiki
no edit summary
$ wget http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2
Recompile your kernel with CONFIG_XENOMAI enabled and test the program with nothing special
# ./rttest
Clock resolution (ns): 1
Measurement, please wait 1 minute...
Samples: 327833
Min latency: 73 us
Max latency: 9702 us
Average latency: 80 us
Test your program and at the same time, add some workload
to the board, by running
# stress --cpu 1 --io 2 --vm 2 --vm-bytes 128M --timeout 120s &
# ./rttest
Clock resolution (ns): 1
Measurement, please wait 1 minute...
Samples: 320301
Min latency: 63 us
Max latency: 10006 us
Average latency: 85 us
Test your program again with the workload, but by running the program in the SCHED_FIFO scheduling class at priority 99
# stress --cpu 1 --io 2 --vm 2 --vm-bytes 128M --timeout 120s &
# chrt -f -r 99 ./rttest
Clock resolution (ns): 1
Measurement, please wait 1 minute...
Samples: 453705
Min latency: 18 us
Max latency: 395 us
Average latency: 30 us
=== rt-tests ===