git: dsynth - Reduce the pkg dependency memory target heuristic

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Apr 21 23:43:41 PDT 2020


commit c029abb086c374f95592d755b4b8bd10bdc13c74
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Apr 21 23:40:47 2020 -0700

    dsynth - Reduce the pkg dependency memory target heuristic
    
    * Reducing the memory target will cause dsynth to clamp down on
      the number of builders a bit more when they enough of them
      have large pkg dependency footprints.  These dependencies
      are stored in tmpfs filesystems and having too many builders
      installing pkg ddpenencies at the same time can cause excessive
      paging to swap.
    
      Reduced from PhysMem / 3 to PhysMem / 4.
    
    * When CCache is enabled, reduce the memory target even further
      to PhysMem / 5.

Summary of changes:
 usr.bin/dsynth/config.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c029abb086c374f95592d755b4b8bd10bdc13c74


-- 
DragonFly BSD source repository


More information about the Commits mailing list