CPU isolation tuning through cpuset
summary
A runtime interface exposes the RCU callback offload mask so isolation moves from boot-only to adjustable via CPU sets; the prototype is four patches (work took about two years) that let the RCU RCU no_cb CPU mask be changed at runtime and integrates as an all‑in‑one partition option rather than many split properties. Motivation is Android power saving and small boot regressions (about 2–3% measured), with further work needed to export other masks or add kernel.isolation.rcnocb style knobs.
AI-written summary · about
chapters (9)
- 0:00Introduction to topic
- 0:33Understanding CPU isolation
- 2:11CPU masks and features
- 3:34Rationale for fine tuning
- 5:17Implementing runtime changes
- 6:55API design and debate
- 12:57Comparing interface options
- 17:06Handling timers and latency
- 19:17Conclusion and next steps
related talks
23mCPU Isolation state of the art
45mRCU Office Hour
25mLinux Kernel Dynamic CPU Isolation
30mSo you want to torture RCU?
32mA mechanism to isolate CPU topology information in the Linux kernel -- CPU Namespace
42mBoF: Realtime Linux
51mTuning RT Kernel to Improve Schedule Performance with Intel Platform
41mAn Essential Relationship between Real-time and Resource Partitioning
