Want to break the geekiest world record of them all? Here’s how engineers spent 75 days to calculate Pi to 105 trillion digits — just in time for Pi day

Engineers at StorageReview decided to do something incredibly geeky for this year’s Pi day (March 14 – 3/14) – beat their own record for calculating Pi. Considering that the previous record, achieved last year, was 100 trillion digits, the challenge was no mean feat. While – spoiler alert – they smashed the record, it did take them 75 days to accomplish it.

The task was achieved using a dual processor 128-core AMD EPYC 9754 Bergamo system, equipped with 1.5TB of DRAM and nearly a petabyte of Solidigm QLC SSDs.

The team started their computation on December 14, 2023, and finished on February 27, 2024, spanning 75 days. They used the Chudnovsky (1988) algorithm to calculate Pi, and the computation required a total memory of 1.36 TiB.

New challenges

The journey to 105 trillion digits of Pi – the new record – was not without fresh challenges. The team had to deal with performance-related issues, which led them to delve into the intricacies of parallel computing and hardware interactions. They discovered a CPU hazard specific to the Zen4 architecture involving super-alignment and its effects on memory access patterns.

The engineers also encountered a critical floating-point arithmetic error within the AVX512 code path of the N63 multiply algorithm. With remote assistance from the developer, Alexander Yee, they were able to diagnose and fix the problem, resulting in the successful computation.

Summing up, StorageReview’s Jordan Ranous noted, “The run to 105 trillion digits of Pi was much more complex than we expected. Upon reflection, we should have expected to encounter new issues; after all, we’re completing a computation that had never been done before. But with the 100 trillion computation completed with a much more “duct tape and chicken wire” configuration, we thought we had it made. Ultimately, it took a collaborative effort to get this rig across the finish line.”

Was it worth it? Ranous says, “While we rejoice with our partners in this record-breaking run, we must ask, “What does this even mean?” Five more trillion digits of Pi probably won’t make a huge difference to mathematics. Still, we can draw some lines between computational workloads and the need for modern underlying hardware to support them. Fundamentally, this exercise reflects that the proper hardware makes all the difference, whether an enterprise data center cluster or a large HPC installment. For the Pi computation, we were completely restricted by storage. Faster CPUs will help accelerate the math, but the limiting factor to many new world records is the amount of local storage in the box.”

You can watch the video of the record breaking attempt below.

More from TechRadar Pro

Source link

Technology

gaitQ and machineMD secure million dollar research grant to monitor Parkinson’s development in UK and Switzerland

Oxford-based medical technology start-up gaitQ and Swiss medical device company machineMD have announced the joint award of a million dollar research grant from Innovate UK and Innosuisse to enable the collection and analysis of critical movement data from people with Parkinson’s (PwP). The grant will fund an 18-month research project that will record movement data […]

Read More
Technology

Take-Two plans to lay off 5 percent of its employees by the end of 2024

Take-Two Interactive plans to lay off 5 percent of its workforce, or about 600 employees, by the end of the year, as reported in an SEC filing Tuesday. The studio is also canceling several in-development projects. These moves are expected to cost $160 million to $200 million to implement, and should result in $165 million […]

Read More
Technology

10 tips to avoid planting AI timebombs in your organization

At the recent HIMSS Global Health Conference & Exhibition in Orlando, I delivered a talk focused on protecting against some of the pitfalls of artificial intelligence in healthcare. The objective was to encourage healthcare professionals to think deeply about the realities of AI transformation, while providing them with real-world examples of how to proceed safely […]

Read More