How far away from the TOP500 supercomputers ? #102
Replies: 2 comments
-
LGT8F328p vs ATmega328pWhen compared to a real ATmega328p, the LGT8F328p gives around 22% more performance in the Arduino-LINPACK benchmark, and is 1.17 times faster in the fbench test. That would be amazing results (if better alternatives like STM32 and ESP did not exist, and if we were still in the 80's ....) On"Arduino-LINPACK" benchmark : results in FLOPS / MHz at 16MHz (higher better)
fbench @ 16MHz : results in seconds (lower better)
|
Beta Was this translation helpful? Give feedback.
-
This is fascinating, I always wondered about this. Once I benchmarked the attiny85 against commodore 64 basic (inverting matrices) The attiny85@16Mhz won. With a caveat: the float precision in 8 bit arduinos quite low, 4 bytes per float. C64 basic uses 5 bytes, and 80s PCs... I guess it depends on the benchmark? In any case, the lgt extra speed is awesome. I made a pitch shifter outputting through the DAC (opamp buffered) and the board has no issues pulling 300kSamples/s while outputting at 22kHz. Also sensor fusion is very snappy on these, I reached 1kHz update rate fusing 9 axes (mag, acc and gyros). The limitation was i2c, but there's an asynchronous lib for i2c that pretty much solves it (processing was done while communication was going) Thanks for this benchmark, it is so random I love it! |
Beta Was this translation helpful? Give feedback.
-
Hello,
This afternoon, I was wondering how many FLOPS could perform the LGT8F32.
According to this LINPACK benchmark port to Arduino, here are the results :
Note : To change the optimization level, you can add
#pragma GCC optimize("Ox")
at the beginning of the benchmark source code.Conclusion : to enter the TOP500 from the bottom, we'd need at least 6 Billions LGT8F328p.
I also quickly ported a C version of the FBENCH benchmark from here.
It puts the LGT8F328p @ 32MHz at the same level than a Sun 3/260 ( Motorola 68020 CPU @ 25 Mhz + 20 MHz FPU ) from the 80's.
( a i386 @25mhz + 387 math coprocessor score is 3.0s, while a Pentium 4 @ 3.4 GHz score is 0.00862s ).
Beta Was this translation helpful? Give feedback.
All reactions