git: dsynth - Get skips working, etc

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 20 10:26:39 PDT 2019


commit 3699ee094c6e0c9ea7a280d480eb355bf65a1c32
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 20 10:23:29 2019 -0700

    dsynth - Get skips working, etc
    
    * Get 'Skipped' working, and print a nice depdency chain for the reason
      why a packge got skipped.
    
    * Added swap% to the dynamic worker reduction algorithm.  It startsr at
      10% swap used and maxes out at a 75% reduction with 40% of swap used.
    
    * Add a slow-start feature so dsynth does not try to load all workers
      at startup simultaneously.  This gives the swap% and loadavg worker
      reduction code a chance to activate before the system becomes totally
      smashed.
    
    * Cache the 0*.log logfile descirptors instead of open/write/close.

Summary of changes:
 usr.bin/dsynth/build.c  | 168 ++++++++++++++++++++++++++++++++----------------
 usr.bin/dsynth/bulk.c   |   2 +
 usr.bin/dsynth/dsynth.h |   2 +
 usr.bin/dsynth/gui.c    |  29 ++++-----
 usr.bin/dsynth/subs.c   |  85 ++++++++++++++++++------
 5 files changed, 192 insertions(+), 94 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3699ee094c6e0c9ea7a280d480eb355bf65a1c32


-- 
DragonFly BSD source repository


More information about the Commits mailing list