git: dsynth - Misc work

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 19 22:59:50 PDT 2019


commit 9c4c701f729d998232fc9c9bb64e79ab405ae3b6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 19 22:56:50 2019 -0700

    dsynth - Misc work
    
    * Try to get Skipped working, propagate the NOBUILD flag upward
      and process it as a Skipped in startbuild().
    
    * Change descriptor 0 in the forkpty()'d sub-process to /dev/null
      to try to shortcut ports which sometimes ask questions.
      (We do set BATCH as well, but some ports still ask questions).
    
    * Change the dynamic MaxWorkers adjustment to reduce MaxWorkers
      by up to 75% at (5 * ncpus) of load.  The adjustment begins
      at 0% at (1.5 * ncpus) load.

Summary of changes:
 usr.bin/dsynth/build.c  | 114 +++++++++++++++++++++++++++++++++++++++++++-----
 usr.bin/dsynth/dsynth.c |   1 +
 usr.bin/dsynth/dsynth.h |   3 +-
 3 files changed, 106 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c4c701f729d998232fc9c9bb64e79ab405ae3b6


-- 
DragonFly BSD source repository



More information about the Commits mailing list