dsynth - Get skips working, etc
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Aug 2019 17:23:29 +0000 (10:23 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Aug 2019 17:26:36 +0000 (10:26 -0700)
commit3699ee094c6e0c9ea7a280d480eb355bf65a1c32
tree388fc5c7122598142be0da6fa2548264d596b7a9
parentbb060a4b52c65e63f40e3a5613446cd956bc350f
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.
usr.bin/dsynth/build.c
usr.bin/dsynth/bulk.c
usr.bin/dsynth/dsynth.h
usr.bin/dsynth/gui.c
usr.bin/dsynth/subs.c