git: dsynth - Stabilization
dillon at crater.dragonflybsd.org
Thu Aug 22 17:57:57 PDT 2019
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Aug 22 17:32:51 2019 -0700
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
* 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.
Summary of changes:
usr.bin/dsynth/build.c | 120 ++++++++++++++++++++++++++++--------------------
usr.bin/dsynth/bulk.c | 15 +++---
usr.bin/dsynth/config.c | 13 ++++--
usr.bin/dsynth/dsynth.1 | 14 ++++++
usr.bin/dsynth/dsynth.c | 21 +++++++--
usr.bin/dsynth/dsynth.h | 7 ++-
usr.bin/dsynth/gui.c | 21 +++++++++
usr.bin/dsynth/mount.c | 4 +-
usr.bin/dsynth/subs.c | 16 +++++++
9 files changed, 162 insertions(+), 69 deletions(-)
DragonFly BSD source repository
More information about the Commits