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

    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.

    mattblaze@federate.socialM This user is from outside of this forum
    mattblaze@federate.socialM This user is from outside of this forum
    mattblaze@federate.social
    wrote sidst redigeret af
    #95

    @hzulla Cron, of course, dates back to a world in which:

    - computers were a significantly smaller part of the load on the power grid
    - we didn't have tightly synchronized clocks everywhere (no NTP yet)
    - we didn't have architectures in which power consumption was as tightly linked to computational load

    Software often outlives all sorts of assumptions!

    paul_ipv6@infosec.exchangeP stevebellovin@infosec.exchangeS bellegraylane@universeodon.comB casandro@f-ckendehoelle.deC itgrrl@infosec.exchangeI 6 Replies Last reply
    0
    • maya_b@hachyderm.ioM This user is from outside of this forum
      maya_b@hachyderm.ioM This user is from outside of this forum
      maya_b@hachyderm.io
      wrote sidst redigeret af
      #96

      @psymar

      13A on 240V is doable in most of Europe, but generally all the kettles I've seen outside the UK are only 1kw - or a hairdryer or microwave's worth of power.

      1 Reply Last reply
      0
      • maya_b@hachyderm.ioM This user is from outside of this forum
        maya_b@hachyderm.ioM This user is from outside of this forum
        maya_b@hachyderm.io
        wrote sidst redigeret af
        #97

        @psymar

        it is for most outlets, but clothes dryer and oven will have special 240V outlets

        drwho@masto.hackers.townD 1 Reply Last reply
        0
        • maya_b@hachyderm.ioM This user is from outside of this forum
          maya_b@hachyderm.ioM This user is from outside of this forum
          maya_b@hachyderm.io
          wrote sidst redigeret af
          #98

          @psymar

          not without an insane plug adapter!

          1 Reply Last reply
          0
          • mattblaze@federate.socialM mattblaze@federate.social

            @hzulla Cron, of course, dates back to a world in which:

            - computers were a significantly smaller part of the load on the power grid
            - we didn't have tightly synchronized clocks everywhere (no NTP yet)
            - we didn't have architectures in which power consumption was as tightly linked to computational load

            Software often outlives all sorts of assumptions!

            paul_ipv6@infosec.exchangeP This user is from outside of this forum
            paul_ipv6@infosec.exchangeP This user is from outside of this forum
            paul_ipv6@infosec.exchange
            wrote sidst redigeret af
            #99

            @mattblaze @hzulla

            yup. there is a point at which "expected" or "normal" traffic is a self DDoS if you do enough of it at once.

            i always found it useful when planning capacity to take the "expected" and ask "what happens if i add two zeros to that amount".

            stevebellovin@infosec.exchangeS 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

              P This user is from outside of this forum
              P This user is from outside of this forum
              pingyourowndevice@cyberplace.social
              wrote sidst redigeret af
              #100

              @hzulla I think there was a talk about this kind of thing a few years ago: https://sysadmin.miniconf.org/2020/lca2020-craig_miskell-tyranny_of_the_clock.pdf

              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.

                fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                fuzzyfuzzyfungus@cyberplace.social
                wrote sidst redigeret af
                #101

                @hzulla The bit that surprises me is that the effect was turned up be researchers looking at grid-scale rather than coming up in the observations of one or more of the large-scale server operators. Datacenter power delivery and backup systems aren't cheap, servers have had pretty decent onboard power metering for a while; and there have certainly been setups with thousands to tens of thousands of homogenous builds well before the current 'AI' craze.

                1 Reply Last reply
                0
                • mattblaze@federate.socialM mattblaze@federate.social

                  @hzulla Cron, of course, dates back to a world in which:

                  - computers were a significantly smaller part of the load on the power grid
                  - we didn't have tightly synchronized clocks everywhere (no NTP yet)
                  - we didn't have architectures in which power consumption was as tightly linked to computational load

                  Software often outlives all sorts of assumptions!

                  stevebellovin@infosec.exchangeS This user is from outside of this forum
                  stevebellovin@infosec.exchangeS This user is from outside of this forum
                  stevebellovin@infosec.exchange
                  wrote sidst redigeret af
                  #102

                  @mattblaze @hzulla Even way back when, I generally offset my cron jobs by a few minutes, just to avoid CPU and RAM (“core storage”) conflicts with other cron jobs.

                  mattblaze@federate.socialM mrgtwentythree@mastodon.sdf.orgM 20002ist@thepit.social2 oclsc@mstdn.caO 4 Replies 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.

                    workshopshed@mastodon.scotW This user is from outside of this forum
                    workshopshed@mastodon.scotW This user is from outside of this forum
                    workshopshed@mastodon.scot
                    wrote sidst redigeret af
                    #103

                    @hzulla we have a big scheduling system and that adds "jitter" to all the jobs.

                    1 Reply Last reply
                    0
                    • stevebellovin@infosec.exchangeS stevebellovin@infosec.exchange

                      @mattblaze @hzulla Even way back when, I generally offset my cron jobs by a few minutes, just to avoid CPU and RAM (“core storage”) conflicts with other cron jobs.

                      mattblaze@federate.socialM This user is from outside of this forum
                      mattblaze@federate.socialM This user is from outside of this forum
                      mattblaze@federate.social
                      wrote sidst redigeret af
                      #104

                      @SteveBellovin @hzulla Yeah, but back then, you mostly only had to worry about conflicts on the same machine.

                      stevesyfuhs@hachyderm.ioS 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.

                        asie@mk.asie.plA This user is from outside of this forum
                        asie@mk.asie.plA This user is from outside of this forum
                        asie@mk.asie.pl
                        wrote sidst redigeret af
                        #105

                        @hzulla@infosec.exchange I recall a toolchain maintainer mentioning environmental concerns as one reason he insists on shipping binary packages over source packages (as those would have a building cost on every user of the toolchain) in a conversation with me.

                        1 Reply Last reply
                        0
                        • paul_ipv6@infosec.exchangeP paul_ipv6@infosec.exchange

                          @mattblaze @hzulla

                          yup. there is a point at which "expected" or "normal" traffic is a self DDoS if you do enough of it at once.

                          i always found it useful when planning capacity to take the "expected" and ask "what happens if i add two zeros to that amount".

                          stevebellovin@infosec.exchangeS This user is from outside of this forum
                          stevebellovin@infosec.exchangeS This user is from outside of this forum
                          stevebellovin@infosec.exchange
                          wrote sidst redigeret af
                          #106

                          @paul_ipv6 @mattblaze @hzulla My original load projection for Netnews, back when we were designing it in late 1979, as “1–2 messages a day, from 50-100 computers, mostly about Unix system internals”… I was off by far more than two orders of magnitude, of course, which is why I never went in for traffic forecasting.

                          paul_ipv6@infosec.exchangeP drwho@masto.hackers.townD 2 Replies Last reply
                          0
                          • stevebellovin@infosec.exchangeS stevebellovin@infosec.exchange

                            @paul_ipv6 @mattblaze @hzulla My original load projection for Netnews, back when we were designing it in late 1979, as “1–2 messages a day, from 50-100 computers, mostly about Unix system internals”… I was off by far more than two orders of magnitude, of course, which is why I never went in for traffic forecasting.

                            paul_ipv6@infosec.exchangeP This user is from outside of this forum
                            paul_ipv6@infosec.exchangeP This user is from outside of this forum
                            paul_ipv6@infosec.exchange
                            wrote sidst redigeret af
                            #107

                            @SteveBellovin @mattblaze @hzulla

                            i have memories of hard coding a max number of newsgroups of 1024? another vast under-estimation.

                            when an ISP i worked at hit 1 trillion recursive DNS queries a day, i was appalled.

                            1 Reply Last reply
                            0
                            • mattblaze@federate.socialM mattblaze@federate.social

                              @SteveBellovin @hzulla Yeah, but back then, you mostly only had to worry about conflicts on the same machine.

                              stevesyfuhs@hachyderm.ioS This user is from outside of this forum
                              stevesyfuhs@hachyderm.ioS This user is from outside of this forum
                              stevesyfuhs@hachyderm.io
                              wrote sidst redigeret af
                              #108

                              @mattblaze @SteveBellovin @hzulla we, Windows, see measurable megawatt changes when we do good or bad on perf across the datacenters. It's fascinating to get a report back saying we reduced a megawatt of usage by changing a poll from say one minute to five. Also update reboots. 🥴

                              1 Reply Last reply
                              0
                              • stevebellovin@infosec.exchangeS stevebellovin@infosec.exchange

                                @mattblaze @hzulla Even way back when, I generally offset my cron jobs by a few minutes, just to avoid CPU and RAM (“core storage”) conflicts with other cron jobs.

                                mrgtwentythree@mastodon.sdf.orgM This user is from outside of this forum
                                mrgtwentythree@mastodon.sdf.orgM This user is from outside of this forum
                                mrgtwentythree@mastodon.sdf.org
                                wrote sidst redigeret af
                                #109

                                @SteveBellovin @mattblaze @hzulla vixie cron has random and offset features, which can help some ...

                                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

                                  teajaygrey@snac.bsd.cafeT This user is from outside of this forum
                                  teajaygrey@snac.bsd.cafeT This user is from outside of this forum
                                  teajaygrey@snac.bsd.cafe
                                  wrote sidst redigeret af
                                  #110
                                  Vixie cron has had -j (for jitter) for helpful offsets for a very long time now (e.g. https://man.freebsd.org/cgi/man.cgi?query=cron&sektion=8&apropos=0&manpath=FreeBSD+11.0-RELEASE+and+Ports)

                                  Todd Miller also introduced some similar functionality to OpenBSD's cron in 2023 (e.g. https://undeadly.org/cgi?action=article;sid=20230507122935)

                                  Such things were typically inspired to avoid "hammering" (a different sort of spike nomenclature typically related to bandwidth and computational resource utilization) at specific intervals, yet logically they can also potentially alleviate power grid knock on effects as well.

                                  I'm less certain about Linux distros' cron functionality providing similar things? Though maybe via packages a different cron can be installed with the requisite parameters for ameliorative adjustments if whatever distros' own cron is deficient in such realms?
                                  1 Reply Last reply
                                  0
                                  • stevebellovin@infosec.exchangeS stevebellovin@infosec.exchange

                                    @mattblaze @hzulla Even way back when, I generally offset my cron jobs by a few minutes, just to avoid CPU and RAM (“core storage”) conflicts with other cron jobs.

                                    20002ist@thepit.social2 This user is from outside of this forum
                                    20002ist@thepit.social2 This user is from outside of this forum
                                    20002ist@thepit.social
                                    wrote sidst redigeret af
                                    #111

                                    @SteveBellovin @mattblaze @hzulla brb writing a horror novel called “Children of the Cron.”

                                    drwho@masto.hackers.townD itgrrl@infosec.exchangeI 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

                                      slash909uk@mastodon.me.ukS This user is from outside of this forum
                                      slash909uk@mastodon.me.ukS This user is from outside of this forum
                                      slash909uk@mastodon.me.uk
                                      wrote sidst redigeret af
                                      #112

                                      @hzulla adding another data point here; when I worked in satellite set top box land we used a hash of the device MAC address to offset the viewing card callback, precisely to avoid the load spikes on the head end infrastructure.. multiple million STBs connected to phone lines can create quite the attack vector 🤪.

                                      Making it predictable on the same box helps the support desk to know when each customers device should update... no need for randomness, just distribution.

                                      1 Reply Last reply
                                      0
                                      • paul_ipv6@infosec.exchangeP paul_ipv6@infosec.exchange

                                        @hzulla

                                        we keep unlearning this.

                                        when i worked at a large cable company doing DNS, we noticed a huge query spike every 15 minutes starting on the hour. the spikes were well above the normal running DNS load.

                                        turned out, the set top boxes checked internet working by every one of them all doing the same query in cron at 0/15/30/45...

                                        i dropped our entired DNS infrastructure peak load requirements by just getting them to add a random sleep interval after 0/15/30/45 to even out the query load...

                                        synlogic4242@social.vivaldi.netS This user is from outside of this forum
                                        synlogic4242@social.vivaldi.netS This user is from outside of this forum
                                        synlogic4242@social.vivaldi.net
                                        wrote sidst redigeret af
                                        #113

                                        @paul_ipv6 @hzulla I have a WIP book about computer performance optimization at extreme scale, and this issue/technique was already noted in my own outline for it. I sometimes do professional audits of perf/scale optimization or troubleshooting of client's legacy systems, and this is one of the phenom on my own checklist to look for too

                                        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

                                          lanodan@queer.hacktivis.meL This user is from outside of this forum
                                          lanodan@queer.hacktivis.meL This user is from outside of this forum
                                          lanodan@queer.hacktivis.me
                                          wrote sidst redigeret af
                                          #114
                                          @hzulla Oh wow, I now even more love how most of my timers are based on elapsed time (monotonic or realtime).
                                          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