AMD Family 10h cpufreq driver

From: G. Otsuji <annona2_at_gmail.com>
Date: Sun, 07 Sep 2008 09:36:03 +0900
Hello ,
I have AMD Phenom x4 9850 BE cpu ,but 
there was no sysctl oid dev.cpu.0.freq_levels.
so I read the BKDG (bios and kernel developer guide for AMD Family 10h)
and finally I reached some result.
I wrote pstate.c cpufreq driver module. attached in this mail.
I have tested this module on i386 current/stable, amd64 current/stable.
and make -j20 buildworld can be done with running powerd.
This module has capability to down clock to 400MHz.
but It's slow, so echo "debug.cpufreq.lowest=1200" >>/boot/loader.conf.
and the reuslt is as follows.
$ sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 2500/-1 2400/-1 2300/-1 2200/-1 2100/-1 2000/-1 
1900/-1 1800/-1 1700/-1 1600/-1 1500/-1 1400/-1 1300/-1 1200/-1

I have enjoying this module in a few days but It's OK.

AMD Family 10h cpu_id's are 100f23,100f2a,100f22.
I don't have Opteron 13XX 23XX 83XX,Phenom X3, and other Phenom X4,And MP system.
if you have these cpu's , i would like you to try this module.
feel free to contact me.

Sincerely,
G. Otsuji <annona2_at_gmail.com>





Received on Sat Sep 06 2008 - 23:04:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC