freebsd-skq/share/man
asomers 36721468a4 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
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 pthread_mutex_consistent: sort SEE ALSO by reference name 2017-03-27 19:17:30 +00:00
man4 Add support for ThingM blink(1) notification LED to uled(4). 2017-03-31 08:20:59 +00:00
man5 Consolidate random sleeps in periodic scripts 2017-04-01 04:42:35 +00:00
man6 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man7 tuning(7): fix SEE ALSO section sorting 2017-03-23 05:15:35 +00:00
man8 Remove backup_uses_rcs from rc.subr 2016-09-18 12:49:23 +00:00
man9 Document EVENTHANDLER_DEFINE(9). 2017-03-27 20:32:12 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00