圆周率的2000万亿分之一位是0!基于Apache Hadoop的Pi分布式计算
The Two Quadrillionth Bit of Pi is 0! Distributed Computation of Pi with Apache Hadoop
摘要:
我们提出了一个新的记录,计算特定位的圆周率,数学常数,并讨论执行这样的计算在Apache Hadoop集群。以十六进制表示的特定位为0 E6 C1294 AED 40403 F56 D2 D 76 4026265 B CA 98511 D 0 FCFFAA 1 0 F4 D28 B1 BB 5392 B8。这256位结束于第2,000,000,000,252位的位置,这是先前已知记录的两倍位置和四倍精度。第一位的位置是1,999,999,999,999,997,第二个千万亿位的值是0。计算是由一个名为DistBbp的MapReduce程序执行的。为了有效地利用可用的集群资源,而不垄断整个集群,我们开发了一个弹性的计算框架,自动调度计算切片,每个DistBbp作业,无论是地图侧或减少侧计算的基础上不断变化的集群负载条件。我们在不同的位位置和精度上计算了Pi,其中一个最大的计算在1000个节点的集群上花费了23天的挂钟时间和503年的CPU时间。
英文摘要:
We present a new record on computing specific bits of Pi, the mathematical constant, and discuss performing such computations on Apache Hadoop clusters. The specific bits represented in hexadecimal are 0E6C1294 AED40403 F56D2D76 4026265B CA98511D 0FCFFAA1 0F4D28B1 BB5392B8. These 256 bits end at the 2,000,000,000,000,252nd bit position, which doubles the position and quadruples the precision of the previous known record. The position of the first bit is 1,999,999,999,999,997 and the value of the two quadrillionth bit is 0. The computation is carried out by a MapReduce program called DistBbp. To effectively utilize available cluster resources without monopolizing the whole cluster, we develop an elastic computation framework that automatically schedules computation slices, each a DistBbp job, as either map-side or reduce-side computation based on changing cluster load condition. We have calculated Pi at varying bit positions and precisions, and one of the largest computations took 23 days of wall clock time and 503 years of CPU time on a 1000-node cluster.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。