Google Cloud developer uses AI to calculate 100 trillion digits of pi


The long and chequered lifespan of mathematical icon pi has been extended even further thanks to Google Cloud.
Google Developer Advocate, Emma Haruka Iwao, successfully calculated pi to 100 trillion digits using the company’s cloud platform.
What’s even more striking it that this is the second time in just three years that Iwao has broken the record.
Why does this matter?
Mathematicians have been cracking away at calculating pi to its limits since Ancient Egypt, Greece, and Babylon.
Google openly admitted that you might not need to “calculate trillions of decimals of pi” but said the “massive calculation demonstrates how Google Cloud’s flexible infrastructure lets teams around the world push the boundaries of scientific experimentation”.
Though pi related calculations pop up in everything from the theory of relativity to engineering problems and GPS mapping, these types of extreme calculations are generally used as a benchmarking tool by computer scientists, to prove and assess the power of their hardware.
How did they do it?
Google Cloud says it used it’s generally available Compute Engine service to make the record calculation.
The tech giant attributed its improved result compared to last time it made the attempt in 2019 to improved networking and storage.
The project was able to achieve 100 Gbps egress bandwidth, a huge improvement on the 16 Gbps of egress available when they did the 31.4-trillion-digit calculation in 2019.
The project used new network driver Google Virtual NIC (gVNIC), which is integrated with Google’s Andromeda virtual network stack
Google also attributed the success of the project in large part to improved storage, saying that as the “dataset doesn’t fit into main memory, the speed of the storage system was the bottleneck of the calculation”.
For this job they decided to use Balanced Persistent Disc, a new type of persistent disk which Google said offers up to 1,200 MB/s read and write throughout and 15-80k IOPS.
READ MORE:
Those who are interested in checking out more about the nitty gritty of the project can head to GitHub (opens in new tab) to find the code Google used.
Google will also be hosting a live webinar on June 15 to share more about the experimentation process and results, and you can head here (opens in new tab) to join.
Audio player loading… The long and chequered lifespan of mathematical icon pi has been extended even further thanks to Google Cloud. Google Developer Advocate, Emma Haruka Iwao, successfully calculated pi to 100 trillion digits using the company’s cloud platform. What’s even more striking it that this is the second time…
Recent Posts
- FTC Chair praises Justice Thomas as ‘the most important judge of the last 100 years’ for Black History Month
- HP acquires Humane AI assets and the AI pin may suffer a humane death
- HP acquires Humane Ai and gives the AI pin a humane death
- DOGE can keep accessing government data for now, judge rules
- Humane’s AI Pin: all the news about the dead AI-powered wearable
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010