2006-02-24 14:26:39

by Alexander Clouter

[permalink] [raw]
Subject: [patch 1/2] cpufreq_conservative: align codebase with ondemand for consistancy

Something I had been meaning to do for a while. The codebases between
ondemand and conservative have strayed and as Venkatesh has far more Clue(tm)
than I am going to adjust my code to look more like his :)

Another reason to do this is ages ago, knowingly, I did a piss poor attempt
at making conservative less responsive by knocking up
DEF_SAMPLING_RATE_LATENCY_MULTIPLIER by two orders of magnitude. I did fix
this ages ago but in my dis-organisation I must have toasted the diff and
left it the way it was. About two weeks ago a user contacted me saying he
was having problems with the conservative governor with his AMD Athlon XP-M
2800+ as /sys/devices/system/cpu/cpu0/cpufreq/conservative showed
sampling_rate_min 9950000
sampling_rate_max 1360065408

Nine seconds to decide about changing the frequency....not too responsive :)

N.B. only one bug remains, well on my machine, if anyone can see the cause
then let me know. On my IBM T40p the cpu frequency only drops when
the mouse moves (bizarre interrupt issue?). *Very* strange never the
less...

Not using PREEMPT or DYNTICKS...any suggestions would be welcomed, no
one else has reported the problem though.

Signed-off-by: Alexander Clouter <[email protected]>


Attachments:
(No filename) (1.22 kB)
01_cpufreq-update.diff (4.69 kB)
Download all attachments