Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. This is FASCINATING.

This is FASCINATING.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
220 Indlæg 120 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • veronica@mastodon.onlineV veronica@mastodon.online

    @hzulla Similar problem for servers and clusters with on the hour spikes in compute. It was a big issue in my previous job. Especially around 14:00 when most data sources we used had been updated.

    amethyst@hachyderm.ioA This user is from outside of this forum
    amethyst@hachyderm.ioA This user is from outside of this forum
    amethyst@hachyderm.io
    wrote sidst redigeret af
    #20

    @veronica @hzulla

    Yeah, I know at my last place we had to add deliberate a deliberate couple minutes of jitter to user-scheduled jobs because clients would all choose the same time!

    veronica@mastodon.onlineV D 2 Replies Last reply
    0
    • hzulla@infosec.exchangeH hzulla@infosec.exchange

      This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

      https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

      knowprose@mastodon.socialK This user is from outside of this forum
      knowprose@mastodon.socialK This user is from outside of this forum
      knowprose@mastodon.social
      wrote sidst redigeret af
      #21

      @hzulla wow! Great find!

      1 Reply Last reply
      0
      • timwardcam@c.imT timwardcam@c.im

        @DamonHD @hzulla Nobody has told me to offset my #HomeAssistant automations - so I haven't! And it wouldn't be enforceable anyway, would it?

        triploidtree@mastodon.ieT This user is from outside of this forum
        triploidtree@mastodon.ieT This user is from outside of this forum
        triploidtree@mastodon.ie
        wrote sidst redigeret af
        #22

        @TimWardCam @DamonHD @hzulla the solcast forecasting plugin does this. Too many installs hammering the api at the same time. Not the same as the grid, but still, noticeable

        1 Reply Last reply
        0
        • hzulla@infosec.exchangeH hzulla@infosec.exchange

          This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

          https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

          krnlg@mastodon.socialK This user is from outside of this forum
          krnlg@mastodon.socialK This user is from outside of this forum
          krnlg@mastodon.social
          wrote sidst redigeret af
          #23

          @hzulla Props for the very excellent photo of the researchers investigating, halfway down the article 😄

          1 Reply Last reply
          0
          • hzulla@infosec.exchangeH hzulla@infosec.exchange

            This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

            https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

            budududuroiu@hachyderm.ioB This user is from outside of this forum
            budududuroiu@hachyderm.ioB This user is from outside of this forum
            budududuroiu@hachyderm.io
            wrote sidst redigeret af
            #24

            @hzulla * jitter *

            1 Reply Last reply
            0
            • hzulla@infosec.exchangeH hzulla@infosec.exchange

              This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

              https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

              yo8rzz@mastodon.radioY This user is from outside of this forum
              yo8rzz@mastodon.radioY This user is from outside of this forum
              yo8rzz@mastodon.radio
              wrote sidst redigeret af
              #25

              @hzulla Our power grid is 50 Hz, so I shall make them run every 20 msec.

              1 Reply Last reply
              0
              • jak2k@mastodon.deJ jak2k@mastodon.de

                @benjamineskola @hzulla It wouldn't create a small spike at the minute mark. Most Linux distributions use SystemD and its timers have this randomization built-in and considered while timer scheduling: https://www.freedesktop.org/software/systemd/man/latest/systemd.timer.html#RandomizedDelaySec=

                benjamineskola@hachyderm.ioB This user is from outside of this forum
                benjamineskola@hachyderm.ioB This user is from outside of this forum
                benjamineskola@hachyderm.io
                wrote sidst redigeret af
                #26

                @jak2k ‘defaults to 0’

                itgrrl@infosec.exchangeI 1 Reply Last reply
                0
                • hzulla@infosec.exchangeH hzulla@infosec.exchange

                  This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

                  https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

                  N This user is from outside of this forum
                  N This user is from outside of this forum
                  namnodorel@mastodon.social
                  wrote sidst redigeret af
                  #27

                  @hzulla I've heard something similar about maintenance tasks phones do before. When they're not used at night, there is low activity to reduce battery usage. But then in the morning when you start using your phone again, update checks etc. happen. However because people tend to set their alarms to similar times, the internal schedule adds random padding to when those tasks run to avoid servers getting overloaded with the traffic spike.

                  1 Reply Last reply
                  0
                  • hzulla@infosec.exchangeH hzulla@infosec.exchange

                    This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

                    https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

                    andrewg@mastodon.ieA This user is from outside of this forum
                    andrewg@mastodon.ieA This user is from outside of this forum
                    andrewg@mastodon.ie
                    wrote sidst redigeret af
                    #28

                    @hzulla When stopped at traffic lights recently I noticed that all the indicators in the queue of cars behind me were perfectly synchronised. Because of course they were, they were in a precise 1s software-driven loop; nothing uses physical relay/capacitor blinkies any more.

                    1 Reply Last reply
                    0
                    • hzulla@infosec.exchangeH hzulla@infosec.exchange

                      It is such an obvious cause once you think about it, and yet before you hear about this, no software developer or maintainer ever considers the possible effects of e.g. a default Debian cron job setting on the global electricity grid.

                      gbargoud@masto.nycG This user is from outside of this forum
                      gbargoud@masto.nycG This user is from outside of this forum
                      gbargoud@masto.nyc
                      wrote sidst redigeret af
                      #29

                      @hzulla

                      At google, the internal cron service has a "@" option in the crontab which effectively hashes the name and uses that to pick a value for the entry so it's stable for a given job but globally distributed.

                      So instead of `0 0 0 * * *` for running a job daily at midnight, you would do `@ @ 0 * * *` to run it at a randomly chosen but stable time between midnight and 1 am.

                      damonhd@mastodon.socialD 1 Reply Last reply
                      0
                      • amethyst@hachyderm.ioA amethyst@hachyderm.io

                        @veronica @hzulla

                        Yeah, I know at my last place we had to add deliberate a deliberate couple minutes of jitter to user-scheduled jobs because clients would all choose the same time!

                        veronica@mastodon.onlineV This user is from outside of this forum
                        veronica@mastodon.onlineV This user is from outside of this forum
                        veronica@mastodon.online
                        wrote sidst redigeret af
                        #30

                        @amethyst We had the additional fun result that since our VMs ground to a halt at 14:00, people moved to scheduled CI jobs instead, so then between 14 and 16 each day, no one could get a PR through because all the runners were queued up for the next 2h. 😅

                        1 Reply Last reply
                        0
                        • damonhd@mastodon.socialD damonhd@mastodon.social

                          @GiantGinkgo @hzulla

                          sleep "$(awk 'BEGIN{srand(); print int(33*rand());}')"; <rest of cron task>

                          davidrylander@social.vivaldi.netD This user is from outside of this forum
                          davidrylander@social.vivaldi.netD This user is from outside of this forum
                          davidrylander@social.vivaldi.net
                          wrote sidst redigeret af
                          #31

                          @DamonHD @GiantGinkgo @hzulla Does this work when adding cron-job in debian linux? //Linux noob for 25-years.

                          funkylab@mastodon.socialF 1 Reply Last reply
                          0
                          • hzulla@infosec.exchangeH hzulla@infosec.exchange

                            It is such an obvious cause once you think about it, and yet before you hear about this, no software developer or maintainer ever considers the possible effects of e.g. a default Debian cron job setting on the global electricity grid.

                            atleagle@mastodon.onlineA This user is from outside of this forum
                            atleagle@mastodon.onlineA This user is from outside of this forum
                            atleagle@mastodon.online
                            wrote sidst redigeret af
                            #32

                            @hzulla being in some of the very early hyperspace AI datacenter space, we were informed by the power company that they were going to disconnect us for drops and spikes that were significant enough to harm the turbines. Its mitigated now, but at that time when a massive jobs stops all gpus at once, then another job comes in right behind it and starts them all again it could literally break the generation

                            atleagle@mastodon.onlineA 1 Reply Last reply
                            0
                            • benjamineskola@hachyderm.ioB benjamineskola@hachyderm.io

                              @hzulla would it actually help? Cron would still wake up at the minute mark in order to sleep again for a few more seconds.

                              I suppose you’d have two smaller spikes: at the minute, and some seconds later; and the second one would be different for every machine and so average out on a global scale. The first spike would still exist, just smaller, perhaps.

                              funkylab@mastodon.socialF This user is from outside of this forum
                              funkylab@mastodon.socialF This user is from outside of this forum
                              funkylab@mastodon.social
                              wrote sidst redigeret af
                              #33

                              @benjamineskola @hzulla I think that premise, "cron would wake up on the minute mark" is incorrect: you'd randomize the time it sleeps, in both positive and negative directions Compare how systemd-timers sleep; they already have a well-configurable randomization of wake times, exactly to combat loading a shared resource with a large number is simultaneously triggering machines.

                              benjamineskola@hachyderm.ioB 1 Reply Last reply
                              0
                              • funkylab@mastodon.socialF funkylab@mastodon.social

                                @benjamineskola @hzulla I think that premise, "cron would wake up on the minute mark" is incorrect: you'd randomize the time it sleeps, in both positive and negative directions Compare how systemd-timers sleep; they already have a well-configurable randomization of wake times, exactly to combat loading a shared resource with a large number is simultaneously triggering machines.

                                benjamineskola@hachyderm.ioB This user is from outside of this forum
                                benjamineskola@hachyderm.ioB This user is from outside of this forum
                                benjamineskola@hachyderm.io
                                wrote sidst redigeret af
                                #34

                                @funkylab I mean, yeah, if you modified cron to do so. I was assuming that this was adding a random sleep to the start of the cron job itself, which was perhaps a misinterpretation. (I think OpenBSD cron already has this feature, but I’m not sure if it avoids the wake up or only delays the start of the task; and I haven’t seen it in other crons.)

                                Although of course this might be a premature optimisation, because it hasn’t been shown that there’s a measurable amount of energy being used by cron wakeups in the first place.

                                @hzulla

                                funkylab@mastodon.socialF gabrielesvelto@mas.toG 2 Replies Last reply
                                0
                                • davidrylander@social.vivaldi.netD davidrylander@social.vivaldi.net

                                  @DamonHD @GiantGinkgo @hzulla Does this work when adding cron-job in debian linux? //Linux noob for 25-years.

                                  funkylab@mastodon.socialF This user is from outside of this forum
                                  funkylab@mastodon.socialF This user is from outside of this forum
                                  funkylab@mastodon.social
                                  wrote sidst redigeret af
                                  #35

                                  @davidrylander yeah sure, and it's also the least necessary application of awk to implement something the shell that starts awk can already do itself.
                                  But you wouldn't do that on Debian at all, but just simply use a timer that's randomized.
                                  `systemd-run --on-calendar=your_time_specification --timer-property=RandomizedDelaySec=33 your_command_here`

                                  @DamonHD @GiantGinkgo @hzulla

                                  davidrylander@social.vivaldi.netD damonhd@mastodon.socialD 2 Replies Last reply
                                  0
                                  • benjamineskola@hachyderm.ioB benjamineskola@hachyderm.io

                                    @funkylab I mean, yeah, if you modified cron to do so. I was assuming that this was adding a random sleep to the start of the cron job itself, which was perhaps a misinterpretation. (I think OpenBSD cron already has this feature, but I’m not sure if it avoids the wake up or only delays the start of the task; and I haven’t seen it in other crons.)

                                    Although of course this might be a premature optimisation, because it hasn’t been shown that there’s a measurable amount of energy being used by cron wakeups in the first place.

                                    @hzulla

                                    funkylab@mastodon.socialF This user is from outside of this forum
                                    funkylab@mastodon.socialF This user is from outside of this forum
                                    funkylab@mastodon.social
                                    wrote sidst redigeret af
                                    #36

                                    @benjamineskola @hzulla agreed. Waking up happens hundreds to thousands of times per second to a modern application processor running an OS like Linux, Windows, *BSD anyways. The extra cost of drawing a pseudorandom or even random number and going back to sleep would be negligible to impossible to measure, even at large scales.

                                    benjamineskola@hachyderm.ioB hzulla@infosec.exchangeH 2 Replies Last reply
                                    0
                                    • hzulla@infosec.exchangeH hzulla@infosec.exchange

                                      This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

                                      https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

                                      birthof@mastodon.socialB This user is from outside of this forum
                                      birthof@mastodon.socialB This user is from outside of this forum
                                      birthof@mastodon.social
                                      wrote sidst redigeret af
                                      #37

                                      @hzulla regarding; https://infosec.exchange/@hzulla/117535147965896440

                                      These things are interesting sir.

                                      https://ethplorer.io/search/aimodel

                                      #aimodel #aimodels

                                      🟨

                                      1 Reply Last reply
                                      0
                                      • hzulla@infosec.exchangeH hzulla@infosec.exchange

                                        This is FASCINATING. Researchers were able to pin down the cause of measurable global 60 second power spikes to software that does regular checks on the minute mark. They found large scale battery installations as one major cause, but obviously this is true for any other computerized system that does cron jobs and has a synchronized clock. As weird as it sounds, adding random 0-59.999s delays to cron jobs in Linux distributions and other software would actually help the power grid.

                                        https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved

                                        jaseg@chaos.socialJ This user is from outside of this forum
                                        jaseg@chaos.socialJ This user is from outside of this forum
                                        jaseg@chaos.social
                                        wrote sidst redigeret af
                                        #38

                                        @hzulla I did some measurements on grid frequency disturbances a while ago and you can easily deduce any “nice” multiple of a minute and even time of day just by observing frequency.

                                        1 Reply Last reply
                                        0
                                        • funkylab@mastodon.socialF funkylab@mastodon.social

                                          @benjamineskola @hzulla agreed. Waking up happens hundreds to thousands of times per second to a modern application processor running an OS like Linux, Windows, *BSD anyways. The extra cost of drawing a pseudorandom or even random number and going back to sleep would be negligible to impossible to measure, even at large scales.

                                          benjamineskola@hachyderm.ioB This user is from outside of this forum
                                          benjamineskola@hachyderm.ioB This user is from outside of this forum
                                          benjamineskola@hachyderm.io
                                          wrote sidst redigeret af
                                          #39

                                          @funkylab there is a related problem, which is when hourly/daily jobs get run all at the same minute across a large number of machines — updates for example. The issue there is either network traffic or load on the update servers though; and spreading it out doesn’t (and isn’t intended) to reduce the overall load, just to reduce the size of the spikes.

                                          So I guess we also have to consider whether the power spikes are an issue in themselves (if they’re even measurable), or whether we’re more concerned with overall power consumption.

                                          @hzulla

                                          funkylab@mastodon.socialF johntimaeus@infosec.exchangeJ 2 Replies Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper