All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] intel_pstate: Use the cpu load first on Atom only
@ 2015-11-23 13:06 Philippe Longepe
  2015-11-23 13:06 ` Philippe Longepe
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Philippe Longepe @ 2015-11-23 13:06 UTC (permalink / raw)
  To: linux-pm; +Cc: srinivas.pandruvada, Philippe Longepe

From: Philippe Longepe <philippe.longepe@intel.com>

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(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-11-24  1:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 13:06 [PATCH v1 0/5] intel_pstate: Use the cpu load first on Atom only Philippe Longepe
2015-11-23 13:06 ` Philippe Longepe
2015-11-23 13:06 ` [PATCH v1 1/5] cpufreq: intel_pstate: change function name for calculation for busy Philippe Longepe
2015-11-23 13:06 ` [PATCH " Philippe Longepe
2015-11-23 13:06 ` [PATCH v1 2/5] cpufreq: intel_pstate: Rename current busy calculation function Philippe Longepe
2015-11-23 13:06 ` Philippe Longepe
2015-11-23 13:06 ` [PATCH v1 3/5] cpufreq: intel_pstate: account for non C0 time Philippe Longepe
2015-11-23 13:06 ` Philippe Longepe
2015-11-23 13:06 ` [PATCH v1 4/5] cpufreq: intel_pstate: configurable busy calculation Philippe Longepe
2015-11-23 13:06 ` Philippe Longepe
2015-11-23 13:06 ` [PATCH v1 5/5] cpufreq: intel_pstate: try load instead of busy_scaled Philippe Longepe
2015-11-23 16:10   ` Doug Smythies
2015-11-23 16:26     ` Philippe Longepe
2015-11-24  1:33   ` Doug Smythies
2015-11-23 13:06 ` Philippe Longepe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.