4 ms·
https://lemire.me/blog/2019/03/26/hasty-comparison-skylark-arm-versus-skylake-intel/ https://lemire.me/blog/2019/03/26/hasty-comparison-skylark-a... Daniel Lem
by floatboth 8y ago
https://lemire.me/blog/2019/03/26/hasty-comparison-skylark-arm-versus-skylake-intel/ https://lemire.me/blog/2019/03/26/hasty-comparison-skylark-a...
Daniel Lemire's single-threaded Mandelbrot benchmark: 15s on the Ampere eMAG (Skylark), 24s on a 4GHz Skylake. (Also wins in bitset_count.) It's definitely faster 1/2 of Sandy Bridge.
eMAG will have a disadvantage in SIMD, but for normal workloads (make -j32 on a huge project :D) it should be plenty fast.
- DCKing 8y agoI don't think that that Mandelbrot benchmark is single threaded. It would mean that this processor is much faster than Skylake in computational instructions per clock, which would be a huge game changer (and it clearly isn't). That 25s vs 18s figure makes a lot more sense if the benchmark is multithreaded, since Skylake is around 1.7x to 2x faster than Sandy Bridge. Moreover, the benchmark source code [0] clearly uses OpenMP to parallelize the benchmark tasks. [0]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/mandelbrot-gcc-6.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- floatboth 8y agoHis code https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/blob/master/2019/03/26/mandelbrot.c https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/... does not use OpenMP. Different benchmarks favor different processors… Here's another one, now multi-threaded My quick run of `sysbench cpu` (something with prime numbers) shows: Skylark 3.3GHz 32core (at Packet; Ubuntu 18.04): events per second: 44287.87 Zen 3.85GHz 8c16t (my desktop; FreeBSD 13-CURRENT): events per second: 14632.61 And with a single thread, 1386.24 vs 1740.91. Divided by clock speed, it's about 93% of the performance.
- kgardas 8y agoYou can't really benchmark anything on FreeBSD X-CURRENT. There is a ton of debug code there which slowdowns whole system including its libc. Very unfair comparison be warned!