git: dsynth - Automatically run at nice 10 by default

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 30 19:06:33 PDT 2020


commit 6d1478d998efb81077a0fbf83f96513af0a1865c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Apr 30 18:56:30 2020 -0700

    dsynth - Automatically run at nice 10 by default
    
    * dsynth now automatically nices sub-processes to +10.  This is a
      good middle-of-the-road nice to ensure that dsynth does not interfere
      with other system tasks too much (beyond the massive amount of memory
      and cpu these builds burn normally).
    
      We don't want to nice it too high or the scheduler won't have enough
      room for its normal dynamic priority management.
    
    * This feature may be disabled via -N.

Summary of changes:
 usr.bin/dsynth/build.c  | 8 +++++++-
 usr.bin/dsynth/dsynth.1 | 7 ++++++-
 usr.bin/dsynth/dsynth.c | 7 ++++++-
 usr.bin/dsynth/dsynth.h | 2 ++
 usr.bin/dsynth/subs.c   | 6 ++++++
 5 files changed, 27 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d1478d998efb81077a0fbf83f96513af0a1865c


-- 
DragonFly BSD source repository



More information about the Commits mailing list