From owner-freebsd-current Sat Jul 7 3:43:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp44-21.dis.org [216.240.44.21]) by hub.freebsd.org (Postfix) with ESMTP id 94EF437B403 for ; Sat, 7 Jul 2001 03:43:12 -0700 (PDT) (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 Subject: HEADS UP - more ACPI updates, CPU throttling Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 07 Jul 2001 03:56:40 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message