Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 16:04:38 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nate Lawson <nate@root.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Nate Lawson <njl@FreeBSD.org>
Subject:   RE: cvs commit: src/sys/dev/acpica acpi_cpu.c
Message-ID:  <XFMail.20030114160438.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0301141210050.39326-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Jan-2003 Nate Lawson wrote:
> On Tue, 14 Jan 2003, John Baldwin wrote:
>> On 14-Jan-2003 Nate Lawson wrote:
>> > njl         2003/01/14 11:39:41 PST
>> > 
>> >   Modified files:
>> >     sys/dev/acpica       acpi_cpu.c 
>> >   Log:
>> >   For the cpu throttling message, s/enabled/available
>> >   
>> >   Requested by:   many
>> 
>> Albeit lying.  If it were just available but not enabled, then the
>> CPU wouldn't slow down when I pulled the power cord of out my laptop.
>> However, when I pull the power cord out of my laptop, the CPU does
>> slow down.  Thus, it would seem rather obvious that CPU throttling
>> is most certainly enabled and not just available.
> 
> But not active (until subsequent actions occur).  Feel free to correct
> this if you can think of a better way to communicate the concept.

What's wrong with 'enabled'?  And technically, it is active.  In
'performance' mode the CPU defaults to be throttled at 100%.  If
you changed hw.acpi.cpu.performance_speed to 6, then the CPU would
run at 75% even with the power cord plugged in.  Perhaps the best
thing would be to have the bootup message display the current throttle
level after saying that it is enabled?  I.e., something like:

acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
acpi_cpu: Current speed: 100%

??

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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