diff options
author | Philippe Longepe <philippe.longepe@intel.com> | 2015-12-04 19:40:35 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-10 03:17:40 +0300 |
commit | 63d1d656a5232f2f189b217b50542eadcf9d74ae (patch) | |
tree | 92372ee9b437e67a6a49c1749dde06b1fb5b3564 /drivers/cpufreq/mt8173-cpufreq.c | |
parent | e70eed2b64545ab5c9d2f4d43372d79762f1b985 (diff) | |
download | linux-63d1d656a5232f2f189b217b50542eadcf9d74ae.tar.xz |
cpufreq: intel_pstate: Account for IO wait time
In cases where we have many IOs, the global load becomes low and the
load algorithm will decrease the requested P-State. Because of that,
the IOs overheads will increase and impact the IO performances.
To improve IO bound work, we can count the io-wait time as busy time
in calculating CPU busy.
This change uses get_cpu_iowait_time_us() to obtain the IO wait time value
and converts time into number of cycles spent waiting on IO at the TSC
rate. At the moment, this trick is only used for Atom.
Signed-off-by: Philippe Longepe <philippe.longepe@intel.com>
Signed-off-by: Stephane Gasparini <stephane.gasparini@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/mt8173-cpufreq.c')
0 files changed, 0 insertions, 0 deletions