Skip to content
Snippets Groups Projects
Neil Gershenfeld's avatar
Neil Gershenfeld authored
d49e7aae
History

pi calculation benchmark

http://fab.cba.mit.edu/classes/MAS.864/text/benchmark.pdf

estimated GFlops code description system date
8,668,954 cudampipi.cu C++, CUDA+MPI
1024 nodes, 6144 ranks, GPUs
nvcc -arch=sm_70 -std=c++11
Summit
Oak Ridge OLCF
IBM AC922
October 17, 2020
88,333 mpimppi.c C, MPI+OpenMP
1024 nodes, 64 cores/node, 4 threads/core
cc mpimppi.c -o mpimppi -O3 -ffast-math -fopenmp
Theta
Argonne ALCF
Cray XC40
Oct 9, 2019
12,589 cudapit.cu C++, CUDA, 8 GPUs, 5120 cores/GPU NVIDIA V100 March 3, 2020
11,083 mpithreadpi.cpp C++, MPI+threads, 128 nodes, 64 cores/node, 4 threads/core
CC mpithreadpi.cpp -o mpithreadpi -O3 -ffast-math -std=c++11
Argonne ALCF Theta
Cray XC40
Mar 8, 2020
2,117 mpipi2.c C, MPI, 10 nodes, 96 cores/node
mpicc mpipi2.c -o mpipi2 -O3 -ffast-math
Intel 2x Xeon Platinum 8175M Oct 24, 2019
2,102 mpipi2.py Python, Numba, MPI
10 nodes, 96 cores/node
Intel 2x Xeon Platinum 8175M Feb 6, 2020
1,635 cudapi.cu C++, CUDA, 5120 cores NVIDIA V100 Mar 1, 2020
1,090 numbapig.py Python, Numba, CUDA, 5120 cores NVIDIA V100 Mar 1, 2020
315 numbapip.py Python, Numba, parallel, fastmath
96 cores
Intel 2x Xeon Platinum 8175M Feb 7, 2020
272 threadpi.c C, 96 threads
gcc threadpi.c -o threadpi -O3 -ffast-math -pthread
Intel 2x Xeon Platinum 8175M Jun 3, 2019
267 threadpi.cpp C++, 96 threads
g++ threadpi.cpp -o threadpi -O3 -ffast-math -pthread
Intel 2x Xeon Platinum 8175M Mar 1, 2020
211 mpipi2.c C, MPI, 1 node, 96 cores
mpicc mpipi2.c -o mpipi2 -O3 -ffast-math
Intel 2x Xeon Platinum 8175M Oct 24, 2019
180 mpipi2.py Python, Numba, MPI
mpirun -np 96 python mpipi2.py
Intel 2x Xeon Platinum 8175M Feb 6, 2020
173 mppi.c C, OpenMP, 96 threads
gcc mppi.c -o mppi -O3 -ffast-math -fopenmp
Intel 2x Xeon Platinum 8175M Jul 1, 2019
152 pi.html JavaScript, 96 workers Intel 2x Xeon Platinum 8175M Jun 3, 2019
93.2 threadpi.c C, 56 threads
gcc threadpi.c -o threadpi -O3 -ffast-math -pthread
Intel 2x E5-2680 Dec 18, 2018
71.4 pi.html JavaScript, 56 workers Intel 2x E5-2680 Nov 19, 2018
46.9 mpipi.c C, MPI
mpicc mpipi.c -o mpipi -O3 -ffast-math
mpirun -np 6 mpipi
Intel i7-8700T Nov 17, 2018
44.6 threadpi.c C, 6 threads
gcc threadpi.c -o threadpi -O3 -ffast-math -pthread
Intel i7-8700T Dec 17, 2018
23.3 mpipi2.py Python, Numba, MPI
mpirun -np 6 python mpipi2.py
Intel i7-8700T Feb 6, 2020
16.1 pi.html JavaScript, 6 workers Intel i7-8700T Nov 17, 2018
15.7 clusterpi.js Node, 6 workers Intel i7-8700T Dec 8, 2018
9.37 pi.c C
gcc pi.c -o pi -lm -O3 -ffast-math
Intel i7-8700T Nov 17, 2018
4.87 numbapi.py Python, Numba Intel i7-8700T February 6, 2020
3.73 pi.html JavaScript, 1 worker Intel i7-8700T Nov 17, 2018
3.47 pi.html JavaScript, 1 worker Intel 2x E5-2680 Nov 19, 2018
3.29 pi.js Node Intel i7-8700T Dec 8, 2018
3.12 clusterpi.js Node, 1 worker Intel i7-8700T Dec 8, 2018
1.78 threadpi.c C, 4 threads
gcc threadpi.c -o threadpi -O3 -ffast-math -pthread
Raspberry Pi 4 Dec 13, 2020
0.57 pi.c C
gcc pi.c -o pi -lm
Intel i7-8700T Nov 17, 2018
0.47 numpi.py Python, NumPy Intel i7-8700T Nov 17, 2018
0.029 pi.py Python Intel i7-8700T Nov 17, 2018
estimated GFlops estimated GFlops/W code description system date
0.0168 0.233
calculated
pi.c C
floats, -O3, gcc-arm-none-eabi, 160 MHz
SAMD51J20A
ARM Cortex M4F
Oct 18, 2019
0.0128 0.171
calculated
pi.c C
floats, -O3, gcc-arm-none-eabi, 84 MHz
STM32F412
ARM Cortex M4F
Oct 8, 2019