Summary: | RFE: Allow for random startup delay (or even spread) in timer units | ||
---|---|---|---|
Product: | systemd | Reporter: | freedesk.apriori |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | enhancement | ||
Priority: | medium | CC: | alexandre, gerd, mh+freedesktop-bugzilla, pahan, radek, zdzichu |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
freedesk.apriori
2014-08-03 09:23:55 UTC
systemd could compute a random factor using the host + job ID as a seed for AccuracySec or for something new ("AccuracySec2" ? I have no idea) Any news on that? Does anybody has workaround? Thanks This would indeed be useful as it would eliminate the need for the usual sleep $RANDOM semantics that is used in load-generating cron jobs. If a lot of VMs start running their cron jobs in parallel, this generates a painful load spike on the VM host that could be mitigated by adding some randomness. Please consider implementing this. Greetings Marc This has been implemented a while back with RandomDelaySec= (In reply to Lennart Poettering from comment #4) > This has been implemented a while back with RandomDelaySec= I may have misunderstood something here but... This was originally submitted as RandomDelaySec= (2015-11-19): https://github.com/systemd/systemd/pull/1944 however, it was then renamed to RandomizedDelaySec= (2015-11-27): https://github.com/systemd/systemd/pull/2040 The online man page for systemd.timer currently uses RandomSec= (2016-02-02): http://www.freedesktop.org/software/systemd/man/systemd.timer.html however, the 'random' feature narrowly missed the 228 release (2015-11-18) so it's not in the current versions man page. Any help in clearing this up would be greatly appreciated, it would be great to get ahead of 229! It got renamed in git: 6f5d79986a9c98b9cacc83f865fed957e4e6e4e6 The final name is RandomizedDelaySec=. Sorry for the confusion. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.