Comment 3 for bug 462284

Revision history for this message
rumen (rumen) wrote :

Hi all I have found the problem. The value of
/sys/devices/system/cpu/cpu*/cpufreq/ondemand/sampling_rate
is too low it is set to 10000 which is the min value. In 8.10 and 8.04 this value is 80000.
I have changed it to 40000 something in the middle and the problem is gone.

I have changed the /etc/init.d/ondemand adding:
--------------------
for CPU_SRATE in /sys/devices/system/cpu/cpu*/cpufreq/ondemand/sampling_rate
 do
  [ -f $CPU_SRATE ] || continue
  echo -n 40000 > $CPU_SRATE
 done
------------------

I do not know where the values are set by default maybe in the kernel itself?!
I would like to address the developers and ask them to set this variable to a more reasonable value. It should not be hard to fix if you know where to look.
10x!