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 (3), fix estcpu


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Sep 2012 19:01:27 -0700 (PDT)

commit bc55d64fabb369afb8b8b6a30341793ecea21278
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Sep 22 18:57:06 2012 -0700

    kernel - usched_dfly revamp (3), fix estcpu
    
    * Fix the estcpu calculation, which previously assumed only a single
      runq (in usched_dfly there is a runq per cpu).
    
    * Add a global atomic int accounting for all running and runnable lwp's.
    
    * Fix cpu-hogging issues for bursty processes by creating a fast-decay-mode
      for estcpu when a thread first starts up, or after it has been asleep
      for more than 1 seconds.

Summary of changes:
 sys/kern/kern_synch.c  |   33 +++++---------
 sys/kern/usched_dfly.c |  117 ++++++++++++++++++++---------------------------
 sys/sys/usched.h       |    3 +-
 3 files changed, 64 insertions(+), 89 deletions(-)

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


-- 
DragonFly BSD source repository



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