Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the development and implementation of scx_chaos, a deliberately chaotic scheduler built on the sched_ext API that intentionally introduces scheduling inefficiencies for testing purposes. Learn how this innovative scheduler, developed by Jake Hillion from Meta, builds upon scx_p2dq to add features like random delays, CPU frequency reduction, mutex inversion, and kprobe slowdowns to help identify race conditions and contention points in systems. Discover the classes of kernel bugs that can be uncovered using chaotic scheduling techniques, understand the challenges and insights gained from building a scheduler on top of another existing scheduler, and examine the unique difficulties involved in implementing chaotic features within the sched_ext framework. Gain insights into how this unconventional approach to scheduling can be used as a powerful debugging and testing tool, including whether kernel selftests can withstand the intentional chaos introduced by this scheduler.
Syllabus
scx_chaos: Pushing the sched_ext API to schedule badly - Jake Hillion (Meta)
Taught by
Linux Plumbers Conference