In short: Google has successfully computed 100 trillion digits of pi, setting a new world record in the process. This isn’t the first time Google has topped the leaderboard. In 2019, the search giant became the first to use a commercial cloud service and solid state drives to set the Pi’s record of 31.4 trillion computed digits.

- Advertisement -

Team from Graubünden University of Applied Sciences stole the record last year, raising the total to 62.8 trillion decimal places.

- Advertisement -

Like beforeGoogle used y-cruncher to perform calculations. This time, the Compute Engine was configured with 128 vCPUs, 864 GB of RAM, and 100 Gbps of upstream bandwidth. For comparison, in the calculations for 2019, the outgoing bandwidth was only 16 Gb / s.

The program ran for a total of 157 days, 23 hours, 31 minutes and 7.651 seconds while using 43.5 PB of reads and 38.5 PB of writes.

- Advertisement -

Emma Haruka Iwao, Developer Advocate at Google said they used Terraform to configure and manage the cluster. They also created a program that runs the y-cruncher with various parameters and automates most of the measurements. All said and done, the settings made the program about twice as fast.

Why continue at this stage? Like Iwao Basic moments, Pi calculations can be used as a yardstick to graph processing power over time. In this particular case, it also demonstrates the power of Google’s cloud infrastructure and the reliability it provides.

Google published the scripts it used on Github for those who want to dig deeper into the code.