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

git: kernel - Add usched_dfly algorith, set as default for now (5)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Sep 2012 04:45:22 -0700 (PDT)

commit 6b4d33c2d54b1b79b79917b37b4e0f636208d860
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Sep 19 04:41:27 2012 -0700

    kernel - Add usched_dfly algorith, set as default for now (5)
    
    * Do a better job pushing threads to the correct cpu.  Keep the load
      factor live even when the thread goes to sleep, until some other thread
      tries to go to sleep on the same cpu.
    
    * Handle an edge case where a cpu-bound thread needs to be moved to
      another cpu.
    
    * Pull once a second and on-demand.

Summary of changes:
 sys/kern/kern_synch.c  |    7 ++-
 sys/kern/usched_dfly.c |  179 ++++++++++++++++++++++++++++-------------------
 sys/sys/globaldata.h   |    3 +-
 3 files changed, 115 insertions(+), 74 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b4d33c2d54b1b79b79917b37b4e0f636208d860


-- 
DragonFly BSD source repository



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