git: dsynth - Adjust load calculations

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Feb 11 22:45:33 PST 2020


commit 32fc5bbf8173af34daedfc892161747ff99b82ab
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Feb 11 11:20:56 2020 -0800

    dsynth - Adjust load calculations
    
    * Change the load cap from 5.0 x ncpus to 4.0 x ncpus.
    
    * Add vmtotal.t_pw to the 1-minute load.  This adds in any processes
      waiting on a page-fault in an attempt to not improperly increase the
      job cap due to low swap-thrashing-caused load averages.

Summary of changes:
 usr.bin/dsynth/build.c  | 26 +++++++++++++++++++++++++-
 usr.bin/dsynth/dsynth.h |  3 +++
 2 files changed, 28 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32fc5bbf8173af34daedfc892161747ff99b82ab


-- 
DragonFly BSD source repository



More information about the Commits mailing list