{"id":1421,"date":"2020-03-03T01:39:15","date_gmt":"2020-03-03T01:39:15","guid":{"rendered":"https:\/\/sponaugle.com\/wp\/?p=1421"},"modified":"2023-01-18T02:30:35","modified_gmt":"2023-01-18T02:30:35","slug":"pi","status":"publish","type":"post","link":"https:\/\/sponaugle.com\/wp\/2020\/03\/03\/pi\/","title":{"rendered":"Pi"},"content":{"rendered":"<div id='gallery-1' class='gallery galleryid-1421 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/sponaugle.com\/wp\/2020\/03\/03\/pi\/88224488_10156646676365047_4269141434310852608_n\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/sponaugle.com\/wp\/wp-content\/uploads\/2023\/01\/88224488_10156646676365047_4269141434310852608_n-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/sponaugle.com\/wp\/2020\/03\/03\/pi\/88241901_10156646709910047_3529280927563776000_n\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/sponaugle.com\/wp\/wp-content\/uploads\/2023\/01\/88241901_10156646709910047_3529280927563776000_n-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<p>Speaking of useful things that computers can do  &#8211; I have been noodling around the idea of calculating 100 trillion digits of Pi.   The current record is 50 trillion digits.<\/p>\n<p>The difficulty in the calculation is in the amount of memory needed to do the calculation.  Using the Chudnovsky algorithm as implemented with the y-cruncher software I would need 503 TBs of working memory, plus an additional 160TBs for space to store the result.<\/p>\n<p>It is not easy to get &gt;500TBs of RAM, but it is possible to use disk storage in place of RAM.  It slows down the calculation considerable, but reduces the cost to the problem of getting 660TBs of storage.<\/p>\n<p>I figure 4x 16 drive cabinets of 12TB hard drives would do the trick, all connected over SAS to a 4 proc Xeon box with 1TB of RAM.<\/p>\n<p>I am guessing it would take 14,100-20,000 compute hours (So close to 2 years running at full speed).<\/p>\n<p>I already did 100 billion, and 1 trillion digits of Pi as a warm up.<\/p>\n<p>What could I do with 100 trillion digits of Pi?   What could you not do with that much coolness in one place.  Perhaps I could find another number in this sequence:  https:\/\/oeis.org\/A057680<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Speaking of useful things that computers can do &#8211; I have been noodling around the idea of calculating 100 trillion digits of Pi. The current record is 50 trillion digits. The difficulty in the calculation is in the amount of memory needed to do the calculation. Using the Chudnovsky algorithm as implemented with the y-cruncher software I would need 503 TBs of working memory, plus an additional 160TBs for space to store the result. It is not easy to get&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/sponaugle.com\/wp\/2020\/03\/03\/pi\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1421","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/posts\/1421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/comments?post=1421"}],"version-history":[{"count":1,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/posts\/1421\/revisions"}],"predecessor-version":[{"id":5754,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/posts\/1421\/revisions\/5754"}],"wp:attachment":[{"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/media?parent=1421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/categories?post=1421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sponaugle.com\/wp\/wp-json\/wp\/v2\/tags?post=1421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}