diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-02-26 04:37:24 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-31 19:11:34 -0400 |
commit | 98104ee28f451024170a9dfb7bec31bfcb7e7c14 (patch) | |
tree | 039dc6414b1d59f2f0199473bb598f99f432b047 | |
parent | 4d5dcc4211f9def4281eafb54b8ed483862e8135 (diff) |
cpufreq: governor: Set MIN_LATENCY_MULTIPLIER to 20
Currently MIN_LATENCY_MULTIPLIER is set defined as 100 and so on a system with
transition latency of 1 ms, the minimum sampling time comes to be around 100 ms.
That is quite big if you want to get better performance for your system.
Redefine MIN_LATENCY_MULTIPLIER to 20 so that we can support 20ms sampling rate
for such platforms.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/cpufreq_governor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.h b/drivers/cpufreq/cpufreq_governor.h index c83cabf14b2f..27b588aeacc1 100644 --- a/drivers/cpufreq/cpufreq_governor.h +++ b/drivers/cpufreq/cpufreq_governor.h | |||
@@ -34,7 +34,7 @@ | |||
34 | */ | 34 | */ |
35 | #define MIN_SAMPLING_RATE_RATIO (2) | 35 | #define MIN_SAMPLING_RATE_RATIO (2) |
36 | #define LATENCY_MULTIPLIER (1000) | 36 | #define LATENCY_MULTIPLIER (1000) |
37 | #define MIN_LATENCY_MULTIPLIER (100) | 37 | #define MIN_LATENCY_MULTIPLIER (20) |
38 | #define TRANSITION_LATENCY_LIMIT (10 * 1000 * 1000) | 38 | #define TRANSITION_LATENCY_LIMIT (10 * 1000 * 1000) |
39 | 39 | ||
40 | /* Ondemand Sampling types */ | 40 | /* Ondemand Sampling types */ |