3 ms·
Benchmarks: FreeBSD 13 vs. NetBSD 9.2 vs. OpenBSD 7 vs. DragonFlyBSD 6 vs. Linux
- vermaden 5y agoWonder why FreeBSD is that slow at ZSTD compression tests ...
- markjdb 5y agoI'd be amazed if it isn't a configuration error of some kind.
- vermaden 5y agoEven if, the defaults should be as bulletproof as possible ...
- grahamjperrin 5y agoDoes the source help? https://openbenchmarking.org/innhold/bc38edf6b112784a5e15803008421cfce311432e https://openbenchmarking.org/innhold/bc38edf6b112784a5e15803...
- grahamjperrin 5y agoFYI <https://old.reddit.com/r/BSD/comments/rdkw0j/-/ho8g0t3/?context=1 https://old.reddit.com/r/BSD/comments/rdkw0j/-/ho8g0t3/?cont...> tl;dr * the article showed FreeBSD getting 20.3 for compression level 8 * with vastly inferior hardware I got around thirty-six percent better (27.7)
- j_not_j 5y agoI'm guessing much of the OpenBSD trailing performance on many benchmarks is due to both memory allocation and filesystem performance. malloc has a lot of security features out-of-the-box; turning them off (don't do that at home) might improve the speed. But basically these are not benchmarks but conversation topics. A "real" benchmark runs your own code, not someone else's. As an interesting topic, the LAME result went from 9.94 seconds (OpenBSD 6.4, 2018, Intel Core i9-7980XE) to 18.476 seconds (OpenBSD 7.0, 2021, Intel Core i9 10980XE). So many things changed over those 7 releases....
- vermaden 5y agoI would also guess that OpenBSD's SMP implementation is userland mostly. When it comes to kernel its still one big GIANT LOCKED so that is also one of the reasons why the performance is not there.
- j_not_j 5y agoActually, that guess is incorrect, it's got a native pthreads with SMP support. Just not great support (for example, OpenMP is not available). There is ongoing work to avoid the big lock and much of the network stack, for instance, is unlocked.