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.”
window.sliceComponents = window.sliceComponents || ;
externalsScriptLoaded.then(() => {
window.reliablePageLoad.then(() => {
var componentContainer = document.querySelector(“#slice-container-newsletterForm-articleInbodyContent-SGNJWfhBuDWPcs3QqsQXLL”);
if (componentContainer)
var data = “layout”:”inbodyContent”,”header”:”Are you a pro? Subscribe to our newsletter”,”tagline”:”Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!”,”formFooterText”:”By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.”,”successMessage”:”body”:”Thank you for signing up. You will receive a confirmation email shortly.”,”failureMessage”:”There was a problem. Please refresh the page and try again.”,”method”:”POST”,”inputs”:[“type”:”hidden”,”name”:”NAME”,”type”:”email”,”name”:”MAIL”,”placeholder”:”Your Email Address”,”required”:true,”type”:”hidden”,”name”:”NEWSLETTER_CODE”,”value”:”XTP-X”,”type”:”hidden”,”name”:”LANG”,”value”:”EN”,”type”:”hidden”,”name”:”SOURCE”,”value”:”60″,”type”:”hidden”,”name”:”COUNTRY”,”type”:”checkbox”,”name”:”CONTACT_OTHER_BRANDS”,”label”:”text”:”Contact me with news and offers from other Future brands”,”type”:”checkbox”,”name”:”CONTACT_PARTNERS”,”label”:”text”:”Receive email from us on behalf of our trusted partners or sponsors”,”type”:”submit”,”value”:”Sign me up”,”required”:true],”endpoint”:”https://newsletter-subscribe.futureplc.com/v2/submission/submit”,”analytics”:[“analyticsType”:”widgetViewed”],”ariaLabels”:;
var triggerHydrate = function()
window.sliceComponents.newsletterForm.hydrate(data, componentContainer);
if (window.lazyObserveElement)
window.lazyObserveElement(componentContainer, triggerHydrate);
else
triggerHydrate();
}).catch(err => console.log(‘Hydration Script has failed for newsletterForm-articleInbodyContent-SGNJWfhBuDWPcs3QqsQXLL Slice’, err));
}).catch(err => console.log(‘Externals script failed to load’, err));
You can watch the video of the record breaking attempt below.