dsynth - Add Dynamic memory load management
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 22 Aug 2019 21:16:37 +0000 (14:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 22 Aug 2019 21:16:37 +0000 (14:16 -0700)
commitfef2fc6373e88f887fa076a07c3113aa8acd8019
treee24a2c53de4ad837f0e49b34b8f1f7b110d131c1
parent3232b774bc0eb23f4c3cacb15cc30409d06d78b7
dsynth - Add Dynamic memory load management

* In addition to using the load and swap, also use the total
  estimated installed package dependencies for each worker verses
  PhysMem and reduce the number of worker slots such that this
  total is less than 1/2 physical memory.

* Fix a ^C handling bug where dsynth would try to unmount while
  still holding a file descriptor open on the filesystem it is
  trying to unmount.

* Clean up the logs a bit more.
usr.bin/dsynth/build.c
usr.bin/dsynth/config.c
usr.bin/dsynth/dsynth.h
usr.bin/dsynth/gui.c