Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2001 03:56:40 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        current@freebsd.org
Cc:        acpi-jp@jp.freebsd.org
Subject:   HEADS UP - more ACPI updates, CPU throttling
Message-ID:  <200107071056.f67AueY05009@mass.dis.org>

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

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




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