From owner-acpi-jp@jp.freebsd.org  Sat Jul  7 19:43:15 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA95810;
	Sat, 7 Jul 2001 19:43:15 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mass.dis.org (dhcp44-21.dis.org [216.240.44.21])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA95803
	for <acpi-jp@jp.freebsd.org>; Sat, 7 Jul 2001 19:43:13 +0900 (JST)
	(envelope-from msmith@mass.dis.org)
Received: from mass.dis.org (localhost [127.0.0.1])
	by mass.dis.org (8.11.4/8.11.3) with ESMTP id f67AueY05009;
	Sat, 7 Jul 2001 03:56:40 -0700 (PDT)
	(envelope-from msmith@mass.dis.org)
Message-Id: <200107071056.f67AueY05009@mass.dis.org>
X-Mailer: exmh version 2.1.1 10/15/1999
To: current@freebsd.org
cc: acpi-jp@jp.freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 07 Jul 2001 03:56:40 -0700
From: Mike Smith <msmith@freebsd.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1160
Subject: [acpi-jp 1160] HEADS UP - more ACPI updates, CPU throttling
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: msmith@freebsd.org


I've committed another round of ACPI changes to -current.

The major addition is CPU throttling support.  This is implemented using
ACPI, not any vendor-specific technology, so it should work on any
platform that exports the relevant information.  By default, the CPU will
run at 100% in 'performance' mode and 50% in 'economy' mode, however these
levels can be adjusted with the following sysctls:

	hw.acpi.cpu.max_speed: 8
	hw.acpi.cpu.current_speed: 8
	hw.acpi.cpu.performance_speed: 8
	hw.acpi.cpu.economy_speed: 4

max_speed is the highest setting (fastest) (read only)
current_speed is the current CPU throttling setting (read only)
performance_speed is the target setting in 'performance' mode (read/write)
economy_speed is the target setting in 'economy' mode (read/write)

Future enhancements may involve interactions with the scheduler or load
average calculations to reduce power consumption when the system is idle
or lightly loaded, hence the tunable levels being 'targets'.

As with previous updates, any comments/feedback are welcome.


-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E


