Enhanced SpeedStep driver available

Colin Percival colin.percival at wadham.ox.ac.uk
Tue Aug 17 00:10:45 PDT 2004


At 17:19 16/08/2004, Arne Schwabe wrote:
>Colin Percival <colin.percival at wadham.ox.ac.uk> writes:
>>   Thanks to everyone who has been sending me data about their
>> processors (and in particular, the 90nm versions), I now have
>> a first draft of a Enhanced SpeedStep driver available.  [...]
>
>[2:14]arne at kamino:~/tmp/estctrl% sudo sysctl hw.est_curfreq=1600
>hw.est_curfreq: 600 -> 600
>[2:14]arne at kamino:~/tmp/estctrl% sudo sysctl hw.est_curfreq=1600
>hw.est_curfreq: 1600 -> 1600
>
>For some reason, the message when I set cpu freq higher does not work

I think I know what cases this: It takes a few microseconds for the
processor to change frequencies, and sysctl(8) is checking the new
value too soon.  I've added a small delay before returning from the
sysctl handler; this should make it impossible for this race to occur.

I've put an updated version online; could you try it and tell me if
this problem goes away?

Colin Percival




More information about the freebsd-mobile mailing list