Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
software:linux:realtime:benchmark:cyclictest [2019-02-08 15:26] – angelegt mgehrig2 | software:linux:realtime:benchmark:cyclictest [2023-04-11 11:07] (aktuell) – gelöscht Urs Graf | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | |||
- | ===== Cyclictest ===== | ||
- | The Cyclictest starts several tasks, which are called periodically. | ||
- | The effective period duration is measured and the jitter is displayed. | ||
- | |||
- | * [[https:// | ||
- | |||
- | A presentation from the " | ||
- | The presentation can be watched on [[https:// | ||
- | The PPT slides can be downloaded {{: | ||
- | |||
- | ==== Installation ==== | ||
- | < | ||
- | sudo apt-get install build-essential libnuma-dev | ||
- | cd rt-tests | ||
- | git checkout -b tmp tags/v1.0 | ||
- | make all | ||
- | </ | ||
- | |||
- | ==== Cross compile ==== | ||
- | TODO | ||
- | |||
- | To install the Cyclictest on a MPC follow [[software: | ||
- | |||
- | ==== Quickstart ==== | ||
- | < | ||
- | sudo ./ | ||
- | </ | ||
- | |||
- | 5 threads are created, which are called periodically. | ||
- | After a few minutes, the maximum latency can be roughly estimated. | ||
- | |||
- | |||
- | ==== Extensive Measurement ==== | ||
- | In order to benchmark the realtime performance of a system well appropriately, | ||
- | The frequency of different latencies can be counted and displayed in a histogram. | ||
- | |||
- | === Start Benchmark === | ||
- | < | ||
- | |||
- | [{{ : | ||
- | |||
- | | -Sp80 |S = alle cores; p = priority**-**80 (Realtime)| | ||
- | | -l86400000 | ||
- | | -i1000 | ||
- | | -h1000 | ||
- | | -q |quiet| | ||
- | ^ Measurement time: |l86400000*i1000 = 86400e6us = 86400s = 24h| | ||
- | |||
- | All measurements longer than '' | ||
- | |||
- | To plot the histogram this Matlab script {{: | ||
- | |||
- | The homepage of [[https:// | ||