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

git: kernel - usched_dfly revamp (2), reduce token collisions


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Sep 2012 18:37:15 -0700 (PDT)

commit b0da0c887b6297fd4334569862260a8c0fee1ec6
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Sep 21 18:34:09 2012 -0700

    kernel - usched_dfly revamp (2), reduce token collisions
    
    * Add wakeup_start_delayed() and wakeup_end_delayed().  These functions
      will attempt to delay any wakeup() calls made between them.
    
      Use the functions in the unix domain socket send code.
    
    * This removes a lot of volatility from monster's 48:48 pgbench tests by
      delaying the wakeup()s related to a unix domain socket write until after
      the pool token has been released.
    
    * Adjust usched_dfly parameters.  In particular, weight2 can be higher now.

Summary of changes:
 sys/kern/kern_synch.c  |   52 +++++++++++++++++++++++++++++++++++++++++++++++-
 sys/kern/uipc_usrreq.c |    4 ++-
 sys/kern/usched_dfly.c |    6 ++--
 sys/sys/globaldata.h   |    3 +-
 sys/sys/systm.h        |    2 +
 sys/sys/thread.h       |    2 +-
 6 files changed, 62 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b0da0c887b6297fd4334569862260a8c0fee1ec6


-- 
DragonFly BSD source repository



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