dsynth - Add Dynamic memory load management

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 22 August 2019 21:16 EDT

- 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.

fef2fc6373 dsynth - Add Dynamic memory load management
usr.bin/dsynth/build.c | 131 ++++++++++++++++++++++++++++++++++++------------
usr.bin/dsynth/config.c | 16 +++++-
usr.bin/dsynth/dsynth.h | 3 ++
usr.bin/dsynth/gui.c | 13 ++++-
4 files changed, 130 insertions(+), 33 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share