FreeBSD 6.1 on the ThinkPad X60s
James O'Gorman
james at netinertia.co.uk
Tue May 9 21:13:47 UTC 2006
Chris Howells wrote:
> James O'Gorman wrote:
>>>> * Dual-core CPU
>>> Does CPU speed scaling work with both cores?
>>
>> How do you check that? (This is my first non-Mac laptop...)
>
> Load the cpufreq.ko module, either at the loader prompt, or by adding
>
[snip]
>
> powernow0: <Cool`n'Quiet K8> on cpu0
I now get:
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
I've enabled powerd too so I'll see if it does anything :-)
> ... is the line from my AMD Sempron server.
>
> If it is I guess you can try enabling powerd, something like
>
> powerd_enable="YES"
>
> in /etc/rc.conf
>
> Followed by
>
> /etc/rc.d/powerd start
>
> Then the CPU frequency should be automatically reduced when the load is
> low to reduce heat and power consumption.
>
> Then something like this should give you an idea if it's working:
>
> [chris at sauron ~]$ sysctl -a dev.cpu | grep freq
> dev.cpu.0.freq: 1800
> dev.cpu.0.freq_levels: 1800/59000 1000/21700
I get:
> sysctl -a dev.cpu | grep freq
dev.cpu.0.freq: 125
dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250
1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625
There is also:
dev.est.0.freq_settings: 1667/31000 1333/22000 1000/13000
dev.est.1.freq_settings: 1667/31000 1333/22000 1000/13000
Although the dev.cpu0.freq was at 1667 earlier, so I dunno if powerd or
est has slowed it down or if it's just plain wrong! (This is while
plugged into AC.)
> (hopefully you'd see an entry for the second core also)
There are entries for dev.cpu.1, but no freq entries.
>> I've just got GNOME installed and I can't get esd to run at all, so I'm
>> guessing not. I've tried kldloading every sound module there is! Unless
>> it needs one that isn't built by default...
>
> I'd probably expect it to use the snd_ich.ko driver.
Unfortunately not. I set snd_ich_load="YES" in loader.conf, but when I
log into KDE, Arts just tells me that /dev/dsp doesn't exist.
I tried setting hw.snd.maxautovchans to 4, just in case, but no luck.
James
More information about the freebsd-mobile
mailing list