rt_test
Test kernel real-time
Install the test script
The test scripts are in rm_bringup, click here, Just pull this repository locally.
Install script dependencies
sudo apt install rt-tests stress gnuplot
Run the test
Go to the script folder and run the live test script
cd rm_bringup/scripts
sudo sh . /rh-test.sh
Wait for the test to complete.
Wait for the test to finish, the test result will generate an image and put it in the test script folder
The following image shows the comparison before and after installing the live patch, you can clearly see that the live performance has been greatly improved after installing the patch.
Analysis.
- more samples on the left side usually means lower latency
- more clustered samples means less chatter
- maximum latency should not deviate too far from the average (usually below 100us)