freebsd-dev/etc/defaults
Alan Somers 86571b9c01 Consolidate random sleeps in periodic scripts
Multiple periodic scripts sleep for a random amount of time in order to
mitigate the thundering herd problem. This is bad, because the sum of
multiple uniformly distributed random variables approaches a normal
distribution, so the problem isn't mitigated as effectively as it would be
with a single sleep.

This change creates a single configurable anticongestion sleep. periodic
will only sleep if at least one script requires it, and it will never sleep
more than once per invocation. It also won't sleep if periodic was run
interactively, fixing an unrelated longstanding bug.

PR:		217055
PR:		210188
Reviewed by:	cy
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D10211
2017-04-01 04:42:35 +00:00
..
bluetooth.device.conf Bluetooth SIG is being difficult and keep moving specification 2008-05-27 17:46:32 +00:00
devfs.rules Unhide /dev/zfs in devfsrules_jail. 2012-03-16 21:30:26 +00:00
Makefile DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples. 2016-03-11 23:45:09 +00:00
Makefile.depend DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples. 2016-03-11 23:45:09 +00:00
periodic.conf Consolidate random sleeps in periodic scripts 2017-04-01 04:42:35 +00:00
rc.conf Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00