Skip to contentSkip to conversation

cpufreq_conservative: alter default responsiveness

PATCH New Alexander Clouter 1 participant 1 message Mar 22, 2006 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 cpufreq_conservative: alter default responsiveness

The sensible approach to making conservative less responsive than ondemand :) As mentioned in patch [1/4]. We do not want conservative to shoot through all the frequencies, its point (by default) is to slowly move through them.

By default its ten times less responsive.

drivers/cpufreq/cpufreq_conservative.c renamed from drivers/cpufreq/cpufreq_conservative.c.orig +1 -1
@@ -509,7 +509,7 @@
 			if (latency == 0)
 				latency = 1;
 
-			def_sampling_rate = latency *
+			def_sampling_rate = 10 * latency *
 					DEF_SAMPLING_RATE_LATENCY_MULTIPLIER;
 
 			if (def_sampling_rate < MIN_STAT_SAMPLING_RATE)