Nov 13 – 15, 2023
America/New_York timezone

Do nothing fast: How to scale idle cpus ?

Nov 13, 2023, 9:55 AM
"James River Salon B" (Omni Richmond Hotel)

"James River Salon B"

Omni Richmond Hotel

Real-time and Scheduling MC Real-time and Scheduling MC


Mathieu Desnoyers (EfficiOS Inc.)


Following surprising benchmark results showing that adding a global raw spinlock in the idle loop significantly improves performance of the scheduler-heavy hackbench benchmark on a 192 core AMD EPYC, a month-long investigation followed to understand the root cause of this behavior.

This presentation is meant to walk the audience through the findings and the resulting solution, opening discussion on some of the still unexplained behaviors with respect to wakeup-queueing, going-to-idle frequency, task runqueue selection and migration frequency.

Primary author

Mathieu Desnoyers (EfficiOS Inc.)

Presentation materials

Diamond Sponsors

Platinum Sponsor
Gold Sponsors

Silver Sponsors

Catchbox Sponsor
Livestream Sponsors

T-Shirt Sponsor
Conference Services Provided by