git: powerd - Do a more sophisticated domain scan, use kern.usched_global_cpumask
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Feb 2 00:04:20 PST 2011
commit 65db32a706a835e9c5ab6bfcda96f85ae31cdf04
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Feb 1 23:59:22 2011 -0800
powerd - Do a more sophisticated domain scan, use kern.usched_global_cpumask
* Do a more sophisticated domain scan, cpu domains do not necessarily start
at 0.
* Handle the case where multiple cpus may belong to a single domain.
* Dynamically adjust kern.usched_global_cpumask to the number of cpus we
are running at max frequency, leaving the remaining cpus set at their
lowest frequency and left mostly idle.
* Tested on the 48-core monster and phenom x 6.
Summary of changes:
usr.sbin/powerd/powerd.c | 169 +++++++++++++++++++++++++++++++++++----------
1 files changed, 131 insertions(+), 38 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65db32a706a835e9c5ab6bfcda96f85ae31cdf04
--
DragonFly BSD source repository
More information about the Commits
mailing list