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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to