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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 19 04:45:22 PDT 2012


commit 6b4d33c2d54b1b79b79917b37b4e0f636208d860
Author: Matthew Dillon <dillon at 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


More information about the Commits mailing list