Attempt to avoid update/gc clustering
commit601dc7f94b110c2a0fb0237061ad4d6e65fb5847
authorKyle J. McKay <mackyle@gmail.com>
Sun, 28 Jul 2013 10:10:32 +0000 (28 03:10 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 28 Jul 2013 10:10:32 +0000 (28 03:10 -0700)
tree714beaf6137fcfaa2ad8f7572177cc38ccb84abd
parent46efbec13b03d2e3cfb046b9b6cab42319e4e48a
Attempt to avoid update/gc clustering

When updating and/or garbage collecting, what tends to happen is
that if several update/gc operations start occuring together (i.e.
one right after another), then at the next time period for them to
occur they will all occur together again (likely with a few more
joined to the group as well).

This leads to highly varying load where suddenly all the update
operations will trigger and then afterwards for a while there's
nothing to do.

Adjust the intervals upwards by a random amount of up to 25% of the
interval in an attempt to even out the distribution of activities.
Girocco/Util.pm
jobd/jobd.pl