git: dsynth - Add Dynamic memory load management

Matthew Dillon dillon at
Thu Aug 22 14:19:03 PDT 2019

commit fef2fc6373e88f887fa076a07c3113aa8acd8019
Author: Matthew Dillon <dillon at>
Date:   Thu Aug 22 14:16:37 2019 -0700

    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.

Summary of changes:
 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(-)

DragonFly BSD source repository

More information about the Commits mailing list