Industrial Native Real-Time Linux OS Solution

Setup and Tuning Guide

ID Date Version Classification
634647 01/01/2021 1.0 Public
Document Table of Contents

Perform Real-Time Test

1. Test while in idle status.

$ sudo taskset -c 3 cyclictest -smp 99 -a 3 -n -i 250 -D 1d -H 100 --histfile=hist.log

Bind “cyclictest” to core 3, use nanosleep and 250us cycle to do stress test for one day.

2. Test under extra high CPU/GPU/IO/Disk/Scheduler workload.

$ sudo taskset -c 3 cyclictest -smp 99 -a 3 -n -i 250 -D 1d -H 100 --histfile=hist.log

$ sudo taskset -c 1 glmark2 –-run-forever

$ stress -q -i 4 -q -c 4 -q -d 4 --hdd-bytes 20M -q -m 4 --vm-bytes 10M

$ while true; do sudo taskset -c 1 hackbench -s 512 -l 200 -g 20 -f 50 -P; done