masterzorag's Activity

Friday, October 9, 2009

p4-clockmod: 'too long latency for HW'

if you get the 'too long latency for HW' message and it fallback into performance governor when you want to switch into ondemand or others this helps you. developers has intenctionally disabled this, but if you can compile kernel by yourself just change the value of latency 10000001 to 1000000 in arch/x86/kernel/cpu/cpufreq/p4-clockmod.c and recompile. here the snip

- policy->cpuinfo.transition_latency = 1000000; /* assumed */
+
+ /* the transition latency is set to be 1 higher than the maximum
+ * transition latency of the ondemand governor */
+ policy->cpuinfo.transition_latency = 10000001;

No comments:

Post a Comment