[systemd-devel] [EXT] Re: Understanding the effect of AccuracySec=

Barry barry at barrys-emacs.org
Mon Aug 19 07:10:52 UTC 2024



> On 19 Aug 2024, at 06:55, Windl, Ulrich <u.windl at ukr.de> wrote:
> 

> Despite of the fact that my version of systemd does not know that setting, can you explain what the effect of AccuracySec= really is?

The docs https://www.man7.org/linux/man-pages/man5/systemd.timer.5.html say this

 Note that this setting is primarily a power saving option
           that allows coalescing CPU wake-ups. It should not be
           confused with RandomizedDelaySec= (see below) which adds a
           random value to the time the timer shall elapse next and
           whose purpose is the opposite: to stretch elapsing of timer
           events over a longer period to reduce workload spikes. For
           further details and explanations and how both settings play
           together, see below.
So if you have 5 timers that expire about the same time this allows them to all run at the sane time thus saving power.

Barry


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240819/8497be65/attachment.htm>


More information about the systemd-devel mailing list