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.
  • 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

    giantginkgo@mstdn.partyG This user is from outside of this forum
    giantginkgo@mstdn.partyG This user is from outside of this forum
    giantginkgo@mstdn.party
    wrote sidst redigeret af
    #10

    @hzulla I’ve always found it frustrating that the task scheduler defaults this way, knowing that jobs should be spread out… I’d love a randomize function to switch things up in the UI.

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

      @hzulla speak for yourself, systemd has had jitter settings for a bunch of years, that's something one notices as soon as measurments are taken.

      honorable mention: https://eco.kde.org/blog/

      patrislav@chaos.socialP This user is from outside of this forum
      patrislav@chaos.socialP This user is from outside of this forum
      patrislav@chaos.social
      wrote sidst redigeret af
      #11

      @jane namely RandomizedDelaySec in systemd.timer.

      It was probably intended to avoid CPU and network congestion, but it’s interesting that we also have to think about power spikes.

      @hzulla

      patpro@social.patpro.netP 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

        josh@fediscience.orgJ This user is from outside of this forum
        josh@fediscience.orgJ This user is from outside of this forum
        josh@fediscience.org
        wrote sidst redigeret af
        #12

        @hzulla
        Network Time Protocol destroying global infrastructure was not on my bingo card.

        Your suggested solution makes a lot of sense.

        damonhd@mastodon.socialD 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

          damonhd@mastodon.socialD This user is from outside of this forum
          damonhd@mastodon.socialD This user is from outside of this forum
          damonhd@mastodon.social
          wrote sidst redigeret af
          #13

          @hzulla I already try to randomise my grid interactions by at least a few seconds when driven by cron for this reason!

          Eg see Table 4: https://www.academia.edu/2998-3665/3/3/10.20935/AcadEnergy8514

          Stick this at the front of your cron jobs, varying the 33 to taste:

          sleep "$(awk 'BEGIN{srand(); print int(33*rand());}')";

          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

            diver300@mastodon.socialD This user is from outside of this forum
            diver300@mastodon.socialD This user is from outside of this forum
            diver300@mastodon.social
            wrote sidst redigeret af
            #14

            @hzulla I think that the protocols for charging a car from a timer includes rules for randomising the actual start time.

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

              @hzulla One does however wonder about the effect of switching domestic scale consumption/generation on the half hour when (in the UK) the electricity price changes. Obvs you want to switch your battery from fully charging to fully discharging exactly on the half hour because that makes you the most money ... but what if everybody does this?

              damonhd@mastodon.socialD This user is from outside of this forum
              damonhd@mastodon.socialD This user is from outside of this forum
              damonhd@mastodon.social
              wrote sidst redigeret af
              #15

              @TimWardCam @hzulla It's called 'herding' by NESO and (eg) the 10-minute randomisation in car charging start is intended to blunt this...

              timwardcam@c.imT 1 Reply Last reply
              0
              • giantginkgo@mstdn.partyG giantginkgo@mstdn.party

                @hzulla I’ve always found it frustrating that the task scheduler defaults this way, knowing that jobs should be spread out… I’d love a randomize function to switch things up in the UI.

                damonhd@mastodon.socialD This user is from outside of this forum
                damonhd@mastodon.socialD This user is from outside of this forum
                damonhd@mastodon.social
                wrote sidst redigeret af
                #16

                @GiantGinkgo @hzulla

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

                davidrylander@social.vivaldi.netD hanscees@ieji.deH 2 Replies Last reply
                0
                • damonhd@mastodon.socialD damonhd@mastodon.social

                  @TimWardCam @hzulla It's called 'herding' by NESO and (eg) the 10-minute randomisation in car charging start is intended to blunt this...

                  timwardcam@c.imT This user is from outside of this forum
                  timwardcam@c.imT This user is from outside of this forum
                  timwardcam@c.im
                  wrote sidst redigeret af
                  #17

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

                  damonhd@mastodon.socialD triploidtree@mastodon.ieT 2 Replies Last reply
                  0
                  • josh@fediscience.orgJ josh@fediscience.org

                    @hzulla
                    Network Time Protocol destroying global infrastructure was not on my bingo card.

                    Your suggested solution makes a lot of sense.

                    damonhd@mastodon.socialD This user is from outside of this forum
                    damonhd@mastodon.socialD This user is from outside of this forum
                    damonhd@mastodon.social
                    wrote sidst redigeret af
                    #18

                    @josh @hzulla Some of us have been worrying about this for decades! B^>

                    @edavies

                    josh@fediscience.orgJ 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?

                      damonhd@mastodon.socialD This user is from outside of this forum
                      damonhd@mastodon.socialD This user is from outside of this forum
                      damonhd@mastodon.social
                      wrote sidst redigeret af
                      #19

                      @TimWardCam @hzulla Early adopters are unlikely to bring down the grid by themselves, and the big VPP players are expected to avoid herding also. This is for mainstream timed use, to smear those times.

                      I haven't run HA, but inserting even a few seconds randomly before bringing on a timed big load will reduce demand slew rate, so I do it routinely, as I have for servers. Random numbers and primes are two of my favourite robustness tools.

                      thomastc@mastodon.gamedev.placeT 1 Reply Last reply
                      0
                      • 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
                                          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