dsynth - Automatically run at nice 10 by default

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 1 May 2020 02:04 EDT

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

6d1478d998 dsynth - Automatically run at nice 10 by default
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(-)

Upstream: gitweb.dragonflybsd.org


  • Share