3 ms·
I 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
by DCKing 8y ago
I 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!