Hi All:
On my ferarri 5000 AMD turion 64x2 laptop, the conservative frequency governor was working but not as fast as I would have liked.
To speed it up, I put this line in my /etc/conf.d/local.start:
cat /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate_min > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate
Problem is, my sampling_rate_min was 3200000 or 3.2 seconds which means my CPU would need to be more than 80% for over 3 seconds before anything would happen. AND, you just can't push say 1000000 into sampling_rate, it will reject it. Same if you tried that with sampling_rate_min.
Ok, this is Linux and I have the source, its hack time......
and our victim is, cpufreq_conservative.c.
In that file you will find this line:
#define DEF_SAMPLING_RATE_LATENCY_MULTIPLIER (1000)
I changed that value to 100 which basically means my min sampling rate should drop from 3.2 seconds to 0.32 seconds. The file is very well commented so you can have a read as to what does what.
Recompiled the modules, loaded them up and bang, worked like a charm. Now my laptop's frequency reacts nice an quick to any increased load.
Cheers,
John


