Invalid detection CPU frequency ?

Bachilo Dmitry root at solink.ru
Mon Sep 26 23:16:51 PDT 2005


В сообщении от Вторник 27 Сентябрь 2005 13:06 Vladimir Grebenschikov 
написал(a):
> Hi
>
> It looks strange but sometimes my notebook start on full-speed (1.7GHz)
> and sysctls output looks like:
>
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1687
> dev.cpu.0.freq_levels: 1687/-1 1476/-1 1265/-1 1054/-1 843/-1 632/-1 421/-1
> 210/-1 dev.acpi_throttle.0.%desc: ACPI CPU Throttling
> dev.acpi_throttle.0.%driver: acpi_throttle
> dev.acpi_throttle.0.%parent: cpu0
> dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1
> 3750/-1 2500/-1 1250/-1 dev.acpi_sony.0.brightness: 8
> dev.acpi_sony.0.ctr: 0
> dev.acpi_sony.0.pcr: 0
> dev.acpi_sony.0.wdp: 1281
> dev.acpi_sony.0.cdp: 1
> dev.acpi_sony.0.%desc: Sony notebook controller
> dev.acpi_sony.0.%driver: acpi_sony
> dev.acpi_sony.0.%location: handle=\_SB_.PCI0.LPCB.SNC_
> dev.acpi_sony.0.%pnpinfo: _HID=SNY5001 _UID=0
> dev.acpi_sony.0.%parent: acpi0
>
> And sometimes it starts on low speed (~500 Mhz)
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 595
> dev.cpu.0.freq_levels: 595/-1 520/-1 446/-1 371/-1 297/-1 223/-1 148/-1
> 74/-1 dev.acpi_throttle.0.%desc: ACPI CPU Throttling
> dev.acpi_throttle.0.%driver: acpi_throttle
> dev.acpi_throttle.0.%parent: cpu0
> dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1
> 3750/-1 2500/-1 1250/-1 dev.acpi_sony.0.brightness: 8
> dev.acpi_sony.0.ctr: 0
> dev.acpi_sony.0.pcr: 0
> dev.acpi_sony.0.wdp: 1281
> dev.acpi_sony.0.cdp: 1
> dev.acpi_sony.0.%desc: Sony notebook controller
> dev.acpi_sony.0.%driver: acpi_sony
> dev.acpi_sony.0.%location: handle=\_SB_.PCI0.LPCB.SNC_
> dev.acpi_sony.0.%pnpinfo: _HID=SNY5001 _UID=0
> dev.acpi_sony.0.%parent: acpi0
>
> And speed can't be raised by powerd or other.
> Looks like it happens when notebook stats or shutdowns on batteries.
> Rebooting on AC power cures situation. But anyway - I do not think it is
> normal.
>
> Any suggestions ?
>
> I run 7-CURRENT here (19 Sep 05).
>
> powerd also enbled with default setup:
> % fgrep powerd /etc/rc.conf
> powerd_enable="YES"     # Run powerd to lower our power usage.
> %

Well, it's BIOS who tells to BSD what is your CPU's speed. And when you start 
on battery, the throttle function reduces performance, and BSD gets reduced 
speed from BIOS. In my notebook's BIOS there is an option witch sets throttle 
to 50%, 25% or turns this function off. So switch it off and it will solve 
the problem.

Best Regards
Bachilo Dmitry


More information about the freebsd-current mailing list