Of course, this is with using all 4 cores of the ARM Cortex-A7 running 8 threads (2 Hyperthreads per-core) running 2 operations per-word and 32 respectively. Using Roy Longbottom’s Android multithreading benchmark MP-MFLOPS, it’s clear that the Pi2 is noticeably faster, especially when it’s overclocked to the maximum 1,000MHz. To discover more about taxing all the cores in a benchmark, I discovered the following benchmark results. Which is about 155% improvement over the original Pi models. I could extrapolate that if the load was shared across the cores, the Pi2 could calculate Pi in 3.8938 seconds. As it turns out, that the bc calculation was a single thread operation, and only one core is used, however the Pi2 beat it predecessors by 9.085 seconds with 3 cores tied behind its back. The Pi2 had a 62% improvement in time over its predecessors. Also, I ran the calculation several times and found the results varied, which was surprising. Unsurprisingly, added RAM has no influence on this simple calculation. The model B and B+ results were the same, which isn’t surprising since the boards are almost identical. The results for the three Pi models (original B, B+, and Pi 2), at stock clock frequency, were as follows (results in seconds): Obviously, the bc part is the bc utility. The a() portion is the Arc Tangent function. Scale is the number of decimal places to calculate. ![]() To calculate pi, I used the command line formula: time echo "scale=2015 4*a(1)" | bc -l To start with, I installed the Command Line Calculator, called BCĮasy to install… type at the command prompt: sudo apt-get install bc ![]() Arcade emulation is buttery as well, however perceived speed wasn’t scientific enough for me so I decided it would be apt to calculate Pi, on the Pi. ![]() Games seem smoother, especially first person shooters. I received a Raspberry Pi 2, and immediately wanted to see how much of an improvement it was. This is the Raspberry Pi 2, which I used to calculate pi against other Pis.
0 Comments
Leave a Reply. |