[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: powerd - Initial load monitor and cpu frequency adjustment daemon
From: Matthew Dillon <dillon () crater ! dragonflybsd ! org>
Date: 2010-06-28 21:38:05
Message-ID: 201006282138.o5SLc58N032758 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit cc537f99eefe3e1190b0d2388ead346180e9ea24
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Mon Jun 28 14:36:24 2010 -0700
powerd - Initial load monitor and cpu frequency adjustment daemon
This daemon uses the hw.acpi.cpu.px_dom* sysctls to adjust the frequency
for all cpus based on the system cpu load.
For this initial implementation the daemon simply sets cpus to the maximum
frequency when the 1-second load exceeds 25% of one cpu and sets the cpus
to the minimum frequency when the 10-second load drops below 12%.
Summary of changes:
usr.sbin/powerd/Makefile | 10 ++
usr.sbin/powerd/powerd.8 | 36 +++++++
usr.sbin/powerd/powerd.c | 255 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 301 insertions(+), 0 deletions(-)
create mode 100644 usr.sbin/powerd/Makefile
create mode 100644 usr.sbin/powerd/powerd.8
create mode 100644 usr.sbin/powerd/powerd.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc537f99eefe3e1190b0d2388ead346180e9ea24
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic