Via C7 Processor (CPU) - cpufreq and make.conf support

Roland Smith rsmith at
Wed Oct 24 12:57:11 PDT 2007

On Wed, Oct 24, 2007 at 01:25:51PM -0600, Ross Penner wrote:
> > sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to
> > work on my system. heh, it'd probably work if I upgrade to 7.0
> Apparently I'm an idiot. the sysctl command does work. when the system
> is mostly idle, It outputs '198' and when I put a high cpu load on it,
> it outputs '397'. I'm not exactly sure what this means as I'm hoping
> it doesn't refer to the MHz. 

I'm afraid it does;

$ sysctl -d dev.cpu.0.freq
dev.cpu.0.freq: Current CPU frequency

When I see a CPU speed of 1 GHz in conky, I get:

$ sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1000

(on my athlon64)

What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
available CPU frequencies.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list