]> www.infradead.org Git - linux.git/commit
cpufreq: Change default transition delay to 2ms
authorQais Yousef <qyousef@layalina.io>
Mon, 5 Feb 2024 02:25:00 +0000 (02:25 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Feb 2024 15:50:30 +0000 (16:50 +0100)
commite13aa799c2a6a0be23294b630109d23940cf8079
tree3cde3bebe59a744bc5663251cdfa9cbfcb97bd05
parentb26ffbf800ae3c8d01bdf90d9cd8a37e1606ff06
cpufreq: Change default transition delay to 2ms

10ms is too high for today's hardware, even low end ones. This default
end up being used a lot on Arm machines at least. Pine64, mac mini and
pixel 6 all end up with 10ms rate_limit_us when using schedutil, and
it's too high for all of them.

Change the default to 2ms which should be 'pessimistic' enough for worst
case scenario, but not too high for platforms with fast DVFS hardware.

Signed-off-by: Qais Yousef <qyousef@layalina.io>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c