Skip to content

cpufreq: Use idle micro-accounting information in ondemand governor

[email protected] cpufreq 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6cpufreq: Add cpu number parameter to __cpufreq_driver_getavg()arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c drivers/cpufreq/cpufreq.c drivers/cpufreq/cpufreq_ondemand.c +1 more+11 -50 replies
2/6cpufreq: Change load calculation in ondemand for software coordinationdrivers/cpufreq/cpufreq_ondemand.c+35 -300 replies
3/6cpufreq: get_cpu_idle_time() changes in ondemand to suit idle-microaccountingdrivers/cpufreq/cpufreq_ondemand.c+15 -140 replies
4/6cpufreq_ondemand: Parameterize down differentialdrivers/cpufreq/cpufreq_ondemand.c+9 -20 replies
5/6cpufreq: Changes to get_cpu_idle_time_us(), to be used in ondemand governorinclude/linux/tick.h kernel/time/tick-sched.c+11 -20 replies
6/6cpufreq: Add idle microaccounting in ondemand governordrivers/cpufreq/cpufreq_ondemand.c+45 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/6] cpufreq: Use idle micro-accounting information in ondemand governor

Currently, ondemand governor uses jiffy based idle statistics which is very coarse grained. As a result, ondemand uses a big gaurd band around CPU utilization while calculating the next freq.

This patchset lets ondemand use idle microaccounting when available (when tickless feature is present) and switches to a smaller gaurd band. This lets us do more aggressive power savings in partial idle workloads.