Skip to content

intel_pstate: Use the cpu load first on Atom only

Philippe Longepe linux-pm 1 version New

Get series with b4
b4 am 1448284006-13596-2-git-send-email-philippe.longepe@linux.intel.com

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/5] intel_pstate: Use the cpu load first on Atom only

From: Philippe Longepe <[email protected]>

This patch serie aims to use the load as the input of the PID.

The load is defined by cpu_load = 100 * (delta_mperf / delta_tsc) since mperf is counting at HFM during C0 state and TSC is counting at the same frequency during all C-States.

The load gives very good power improvements on Android manly for gaming use cases.
Also include the IOBoost improvement that converts time spent in iowait into mperf cycles to avoid performance degradation during IOs use cases.

Measured on a Cherrytrail with this algorithm:

Power (in J) Power with patch Power Gain
Candycrush Saga (30sec) 46.7 14.5 221.6%
Circular ProgressBar 10.4 3.2 226.12%
SmartBench 76 54.3 40%
FishTank 226 116 95%
AnTuTu5.6 315 311 2.7%

Philippe Longepe (5):
cpufreq: intel_pstate: change function name for calculation for busy
cpufreq: intel_pstate: Rename current busy calculation function
cpufreq: intel_pstate: account for non C0 time
cpufreq: intel_pstate: configurable busy calculation
cpufreq: intel_pstate: try load instead of busy_scaled

 drivers/cpufreq/intel_pstate.c | 56 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 48 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.1