Comment 5 for bug 955918

Revision history for this message
Alana (alana012) wrote :

For the case with cpufreq on 12.04.3 using the 3.8 kernel LTS enablement stack, I've found that the /sys/devices/system/cpu/cpufreq/ondemand folder doesn't exist on boot. It seems to appear some time later. Maybe 30 - 60 s after boot. I have resorted to putting the below in /etc/rc.local and not use sysfsutils:

until [ -d "/sys/devices/system/cpu/cpufreq/ondemand" ]; do
    sleep 1
done

echo -n "25" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo -n "10" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor