Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 13:16:40 +0700
From:      Bachilo Dmitry <root@solink.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: Invalid detection CPU frequency ?
Message-ID:  <200509271316.41339.root@solink.ru>
In-Reply-To: <1127801205.1268.9.camel@localhost>
References:  <1127801205.1268.9.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F7=D4=CF=D2=CE=C9=CB 27 =F3=C5=CE=
=D4=D1=C2=D2=D8 2005 13:06 Vladimir Grebenschikov=20
=CE=C1=D0=C9=D3=C1=CC(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=3D\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0
> 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/=
=2D1
> 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/=
=2D1
> 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=3D\_SB_.PCI0.LPCB.SNC_
> dev.acpi_sony.0.%pnpinfo: _HID=3DSNY5001 _UID=3D0
> 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=3D\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0
> 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/=
=2D1
> 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=3D\_SB_.PCI0.LPCB.SNC_
> dev.acpi_sony.0.%pnpinfo: _HID=3DSNY5001 _UID=3D0
> 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=3D"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 sta=
rt=20
on battery, the throttle function reduces performance, and BSD gets reduced=
=20
speed from BIOS. In my notebook's BIOS there is an option witch sets thrott=
le=20
to 50%, 25% or turns this function off. So switch it off and it will solve=
=20
the problem.

Best Regards
Bachilo Dmitry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509271316.41339.root>