DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: powerd - Do a more sophisticated domain scan, use kern.usched_global_cpumask


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Feb 2011 00:03:21 -0800 (PST)

commit 65db32a706a835e9c5ab6bfcda96f85ae31cdf04
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]