Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 16:32:36 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        "Sebastian Yepes [ESN]" <esn@x123.info>
Cc:        current@freebsd.org
Subject:   Re: ?full cpuspeed?
Message-ID:  <20030530153236.GB16758@fourtytwo.brucec.backnet>
In-Reply-To: <200305301352.16822.esn@x123.info>
References:  <200305301352.16822.esn@x123.info>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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