jobd: add load checks and load-based pausing with --load-triggers
authorJan Krüger <jk@jk.gs>
Wed, 24 Nov 2010 17:42:39 +0000 (18:42 +0100)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 31 May 2013 11:37:01 +0000 (04:37 -0700)
commitd464f6523e7141f7c9ae0d724579ba3f1e5da05c
treee99b3ddb8e8680e22e0e8c159a541869f20f6361
parentafcefd1414aefee1ee3563ec57b99e0f5ab8e9e8
jobd: add load checks and load-based pausing with --load-triggers

Introduce new option to enable load checks (currently on Linux only):
starting new jobs will be suspended if system load goes above a certain
threshold, and it will be resumed once system load drops below a
separate threshold. This allows the system to recover from high loads
more easily.

Signed-off-by: Jan Krüger <jk@jk.gs>
jobd/jobd.pl