Towards PREEMPT_RT for the Full Task Isolation
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Thursday, 2022-06-23· at 16:05· Room 201/202 (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
Kernel-level isolation via prctl activates a minimal-change PREEMPT_RT patchset that cancels RCU callback work and selectively blocks scheduler noise using Marcelo’s test-isolation series, measured with rt-tests allslat, ftrace and the voice-noise tracer while running stress-ng and tunde workloads on ARM64 (Raspberry Pi) and Intel Xeon KVM. Results show median latency drops ~2 µs on ARM64 and ~10 µs on Xeon but peak latency still reaches ~200 µs on ARM64. The implementation works for many sources of noise yet requires adding per-CPU IPI suppression and handling other kernel workers one by one.
AI-written summary · about
chapters (7)
- 0:00Introduction to isolation
- 2:27Problem and scope
- 5:49Historical context
- 11:56Evolution of patch sets
- 17:19Modern isolation techniques
- 20:44Benchmarking and methodology
- 25:58Results and conclusions
related talks
35mPreempt-RT Raspberry Pi Linux
50mLow-Latency Real-Time (RT) Kernel: The Cornerstone of Arm's 5G ORAN Strategy
47mWhat Every Driver Developer Should Know about RT
26mTuning Real-Time Linux for ARM SoCs
50mMaintaining a Real Time Stable Kernel
34mPREEMPT_RT isn't Just for Lasers: The Perfect Match
26mTuning Real-Time Linux for ARM SoCs
36mPreempt-RT Latency Benchmarking of the Cortex-A53 Processor
