Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I posted a release of PREEMPT_RT kernel 5.10.52-rt47-v7l+
This is the first 5.10 PREEMPT_RT kernel for RPi that I think is solid enough for production use.
In earlier releases of 5.10 PREEMPT_RT kernel for RPi, while most applications were stable, it was possible to lock up a thread (jamulus server with multitheading enabled would do this). That seems to have been fixed in 5.10.52-rt47.
So how does it perform in terms of latency? I ran some tests using cyclictest: https://www.osadl.org/Create-a-latency-plot-from-cyclictest-hi.bash-script-for-latency-plot.0.html
Initial tests using cyclictest with no other load show definite latency improvement over low-latency kernel on Pi4.
For reference, I have included a plot for stock raspian kernel 5.10.17 pm Pi4. As expected, max latency is much worse (557us vs 32 us for PREEMPT_RT and 144us for PREEMPT). Avg latency (not the concern in realtime) of the stock kernel is actually better than PREEMPT.
Raspberry Pi 4 with PREEMPT_RT kernel 5.10.52-rt47:
Raspberry Pi 4 with low-latency PREEMPT kernel 5.10.52:
Raspberry Pi 4 with stock raspian kernel 5.10.17:
Raspberry Pi 3 with PREEMPT_RT kernel 5.10.52-rt47:
Raspberry Pi 3 with low-latency PREEMPT kernel 5.10.52:
Beta Was this translation helpful? Give feedback.
All reactions