From owner-freebsd-current@FreeBSD.ORG Fri May 30 08:32:40 2003 Return-Path: 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 76A5F37B401 for ; Fri, 30 May 2003 08:32:40 -0700 (PDT) Received: from grassmarket.ucs.ed.ac.uk (grassmarket.ucs.ed.ac.uk [129.215.166.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60AD243FBF for ; Fri, 30 May 2003 08:32:38 -0700 (PDT) (envelope-from s9905155@sms.ed.ac.uk) Received: from fourtytwo.brucec.backnet (12266209.resnet.ed.ac.uk [10.6.0.100] (may be forged))h4UFWYT05001; Fri, 30 May 2003 16:32:34 +0100 (BST) Received: from fourtytwo.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) h4UFWa4v016814; Fri, 30 May 2003 16:32:36 +0100 (BST) (envelope-from bruce@fourtytwo.brucec.backnet) Received: (from bruce@localhost)h4UFWac0016813; Fri, 30 May 2003 16:32:36 +0100 (BST) Date: Fri, 30 May 2003 16:32:36 +0100 From: Bruce Cran To: "Sebastian Yepes [ESN]" Message-ID: <20030530153236.GB16758@fourtytwo.brucec.backnet> References: <200305301352.16822.esn@x123.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305301352.16822.esn@x123.info> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: ?full cpuspeed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 30 May 2003 15:32:40 -0000 On Fri, May 30, 2003 at 01:52:16PM +0000, Sebastian Yepes [ESN] wrote: > Hi all i have a Dell inspiron 8500 Notebook that have SpeedStep > when i am on AC power i just love my notebook, but when i gen on Battery > i can't even see a dvd & and my X run verry slow.. > > is there and way to force fbsd to use 'hw.acpi.cpu.current_speed=8' when i am > on battery.. by the way 'hw.acpi.cpu.current_speed' is read only.. > > -- sysctl -- > > --AC Power-- > hw.acpi.cpu.max_speed: 8 > hw.acpi.cpu.current_speed: 8 > hw.acpi.cpu.performance_speed: 8 > hw.acpi.cpu.economy_speed: 4 > > --Battery Power-- > hw.acpi.cpu.max_speed: 8 > hw.acpi.cpu.current_speed: 4 > hw.acpi.cpu.performance_speed: 8 > hw.acpi.cpu.economy_speed: 4 > There are two possible problems here. If you power on on AC and switch over to battery, you can set the hw.acpi.cpu.economy_speed to 8 to get the full CPU speed. If you power on using battery though, Dell have made it so you'll only ever be able to use 60% CPU speed, regardless if you later switch to AC. For example, my 2.0GHz i8500 boots up as 1.2GHz and is detected as such by FreeBSD. The economy_speed sysctl will then throttle it further to 600MHz. -- Bruce Cran