Subject: Re: speedstepping on amd64 - why not?
To: Juan RP <juan@xtrarom.org>
From: Tonnerre LOMBARD <tonnerre@bsdprojects.net>
List: tech-kern
Date: 04/22/2007 11:11:56
--a+b56+3nqLzpiR9O
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Salut,
On Sun, Apr 22, 2007 at 03:57:32AM +0200, Tonnerre LOMBARD wrote:
> dev.cpu.0.freq: 1997
> dev.cpu.0.freq_levels: 1997/-1 1747/-1 1497/-1 1248/-1 998/-1 748/-1 499/-1 249/-1
> dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1
Apparently, FreeBSD retrieves the list of possible frequencies through ACPI
and also uses ACPI to manipulate them, because it has been a while since
Intel released voltage specifications for all of their CPUs. There is a
ACPI throttling driver, but porting this would probably mean a lot of work
(Which we will have to go through, maybe, but later).
I wonder if there's a way to measure the currently used CPU voltage under
FreeBSD? If so, then I could just add a frequency table for my CPU for the
time being. (If I have to manipulate the kernel to output the CPU frequency,
that's fine too.)
Any hints?
Tonnerre
--a+b56+3nqLzpiR9O
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)
iQIVAwUBRism2+1mMGan/TnWAQJtZw/+KwSErE7VriFu0pzRmmrFPY1Ip97T8klX
aKfPqrpwjLowmu0ptgdua4FAkv5Gbd9UN0kn+R5pvjn7qb07CiynJZw6r1ATJq6T
sXSXc5F2ZPWQt/uTgtjUzDjB9Lz7U7r+bSSaAug5p7K3g8hGZLNymmUYL4IpSD3J
BMB66YnvXJQ36fmi+jtHFPeqy7S0tfK7Z6YFU7lv9UwOxdzufEEDX09BW8dcq0Nk
SsGIsNAVbna36pcnBbxlZXIzisxhdcGRGozFC2A2Eb4yqqQkE77x8quOSmXdGw49
C4IvkoYEOWndUTgFHAS/6Cr8l+uEi7IR3S71dGGyUkLZr/OwFQQmLi00offAqF5/
iFlk6aQG8D1r0ekWAir7bmGtWWhiiPFKbXWSPQ+ljGhx4CB1wOSZy8MRF7IIscVQ
nUOmsNHmxhPgPtk6Z44CoIS/6k5LzprYwI4hBw3ChA+V7NNgUA4LG0Y0BQhqTGqu
l78mteevWPbF4nVVAHS1bfeKwb0gJdj1ZkSfwB/7TzRBx7/fjYfOanPRkquiZiKr
ku0mgatP0PMr12U9qNncU3Kt4zSUV7VH+P87Gy50Hl5Is2b+sEAQOwvR3UQWIa+i
6/iuWd6mgLKPaor9KnZuvy7WVXDiuBJNAR6NqF28xG6scr/dX8GdLkRsbZMK1lZm
R4mZiQ43qyk=
=ccHk
-----END PGP SIGNATURE-----
--a+b56+3nqLzpiR9O--