sugov_iowait_boost(9)
π sugov_iowait_boost(9) β like, the Kernel API Manual bestie β¨
okay so picture this: it's giving kernel scheduler, it's giving cpufreq, and this one little function is out here updating the IO boost status of a CPU. that's it, that's the vibe. π¦
β¨ NAME β¨
sugov_iowait_boost β Updates the IO boost status of a CPU. no cap, that's literally the whole job. π
πΈ SYNOPSIS πΈ
void sugov_iowait_boost (struct sugov_cpu *sg_cpu , u64 time , unsigned
int flags );
π«Ά ARGUMENTS π«Ά
sg_cpuβ the sugov data for the CPU to boost. like, the actual little data bundle for whichever CPU we're hyping up πtimeβ the update time, handed to us by the caller. respectfully, we did not pick this timestamp, they did βflagsβSCHED_CPUFREQ_IOWAITif the task is waking up after an IO wait. that's the flag that says "bestie just came back from IO" π
π₯ DESCRIPTION π₯
okay so here's the lore. every single time a task wakes up after an IO operation, the CPU utilization can be boosted to a certain utilization. and the way that certain utilization doubles at each "frequent and successive" wakeup from IO?? iconic behaviour honestly. β¨
and the range on this thing? it goes from IOWAIT_BOOST_MIN all the way up to the utilization of the maximum OPP. so it starts cute and small and can climb to the tippy top π
but here's the catch bestie, listen β to keep that doubling going, an IO boost has to be requested at least once per tick. miss a tick and it's over, we restart from the utilization of the minimum OPP. no doubling, no drama, just back to the bottom π that's the rule, periodt.
π SEE ALSO π
- Kernel file
./kernel/sched/cpufreq_schedutil.cβ the source file, the main character itself π get_capacity_ref_freq(9)get_next_freq(9)sugov_iowait_reset(9)sugov_iowait_apply(9)
go read those too, they're all in the same friend group π§
aaaand that's the page!! mwah π this little drop of kernel wisdom came from ./kernel/sched, dated October 2026 β so yeah, take that timestamp and remember us by it ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms