From owner-freebsd-current@FreeBSD.ORG Tue Sep 27 06:16:51 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B29916A420 for ; Tue, 27 Sep 2005 06:16:51 +0000 (GMT) (envelope-from root@solink.ru) Received: from ns.itam.nsc.ru (ns.itam.nsc.ru [194.226.179.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA4A43D6A for ; Tue, 27 Sep 2005 06:16:47 +0000 (GMT) (envelope-from root@solink.ru) Received: from site.lan (itut.itam.nsc.ru [194.226.179.2]) by ns.itam.nsc.ru (8.13.1/8.12.8) with ESMTP id j8R6GjQa002966 for ; Tue, 27 Sep 2005 13:16:45 +0700 Received: from bocha.solink.office ([192.168.66.166]) (authenticated bits=0) by site.lan (8.12.11/8.12.11) with ESMTP id j8R6GdUw024319 for ; Tue, 27 Sep 2005 13:16:39 +0700 From: Bachilo Dmitry Organization: SoLink To: freebsd-current@freebsd.org Date: Tue, 27 Sep 2005 13:16:40 +0700 User-Agent: KMail/1.8 References: <1127801205.1268.9.camel@localhost> In-Reply-To: <1127801205.1268.9.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200509271316.41339.root@solink.ru> Subject: Re: Invalid detection CPU frequency ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 06:16:51 -0000 =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