DragonFlyBSD/src 7f0eca5usr.bin/dsynth build.c dsynth.c

dsynth - Stabilization

* Rejigger the dynamic load management calculations and fix bugs in
  how the restrictions based on pkgdep memory use are calculated.

  The pkgdep memory mechanism now supports both slow-start and
  slow-approach.  The slow-approach mechanism begins when pkgdep
  memory use goes about 1/2 the target (typically 1/4 physical memory).

  In slow-approach mode, the number of workers is increased at a
  rate of 1 every 30 seconds instead of 1 every 5 seconds in order
  to give workers time to install the packages and fill in the estimated
  memory use.  The idea is that this then allows paging to ramp up
  more slowly instead of getting 'shocked' by a dozen slots all
  issuing install-pkgs at the same time.

* Add -m gb  (in gigabytes), to override the default pkgdep memory
  target.

* For now stop mounting /usr/src in the workers.

* NCurses disablement now works as expected.

* Calculate 1 gigabyte as 1GiB.

* Fix a bug in bulk accounting that could sometimes cause the bulk
  scans to block indefinitely.
DeltaFile
+71-49usr.bin/dsynth/build.c
+17-4usr.bin/dsynth/dsynth.c
+21-0usr.bin/dsynth/gui.c
+16-0usr.bin/dsynth/subs.c
+8-7usr.bin/dsynth/bulk.c
+14-0usr.bin/dsynth/dsynth.1
+8-5usr.bin/dsynth/config.c
+5-2usr.bin/dsynth/dsynth.h
+2-2usr.bin/dsynth/mount.c
+162-699 files

UnifiedSplitRaw