At this rate, finding the last digit is probably just a few years down the road.

  • TrackinDaKraken@lemmy.world
    link
    fedilink
    English
    arrow-up
    85
    ·
    2 days ago

    Last but not least, the OS was changed from Windows Server to Ubuntu 24.04.2, a simple switch that resulted in better I/O performance on its own.

    Oh boy, here we go.

          • ℍ𝕂-𝟞𝟝@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            4
            ·
            18 hours ago

            I imagine it’s about checkpointing the calculation as it’s very long.

            Point is, if the system crashes, you want to be able to resume the calculation without losing too much progress, so you want to periodically write progress to disk.

            That takes some CPU cycles away from the calculation, and if your disk driver is inefficient, it will take away more.

              • ℍ𝕂-𝟞𝟝@sopuli.xyz
                link
                fedilink
                English
                arrow-up
                2
                ·
                6 hours ago

                The question did too, it isn’t immediately apparent why you’d write to disk to calculate pi if you haven’t worked in a place that churned a lot of numbers before.

          • Applesause@mander.xyz
            link
            fedilink
            English
            arrow-up
            5
            ·
            21 hours ago

            It’s a bottleneck. If you are calculating faster than you can record the results, you have to wait for the write operation to complete before you can do the next calculation.