TrueOS Unstable vs. FreeBSD vs. DragonFly vs. Linux

BSD and Linux benchmarks for a future article.

HTML result view exported from: https://openbenchmarking.org/result/1901264-SP-LINUXBSD068&grr&rdt.

TrueOS Unstable vs. FreeBSD vs. DragonFly vs. LinuxProcessorMotherboardChipsetMemoryDiskAudioNetworkGraphicsMonitorOSKernelCompilerFile-SystemScreen ResolutionDesktopDisplay ServerDisplay DriverTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 27460Intel Xeon E3-1280 v5 @ 3.70GHz (8 Cores)MSI MS-7998 1.0Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Registers32768MBGeneric NVMe DeviceIntel Sunrise Point HDAIntel PRO/1000 ConnectionFreeBSD13.0-CURRENT (x86_64)Clang 7.0.1 (SVN 349250)zfs12.0-RELEASE (x86_64)Clang 6.0.1 (SVN 335540)1024x768Intel Xeon E3-1280 v5 @ 3.70GHz (4 Cores / 8 Threads)NVME-PCIeIntel PRO/1000 Connection PCH_SPT_I219_V2 7.6.2DragonFly5.4-RELEASE (x86_64)GCC 8.1hammer2Intel Xeon E3-1280 v5 @ 4.00GHz (4 Cores / 8 Threads)MSI Z170A SLI PLUS (MS-7998) v1.0 (2.90 BIOS)Intel Xeon E3-1200 v5/E3-1500256GB TOSHIBA-RD400ASUS AMD Radeon HD 7850 / R7 265 R9 270 1024SPRealtek ALC1150VE228Intel I219-VUbuntu 19.044.18.0-11-generic (x86_64)GNOME Shell 3.30.2X Server 1.20.3modesetting 1.20.3GCC 8.2.0ext41920x1080Clear Linux OS 274604.20.4-686.native (x86_64)GCC 8.2.1 20180502 + Clang 7.0.1 + LLVM 7.0.1OpenBenchmarking.orgPython Details- TrueOS Unstable: Python 2.7.15 + Python 3.6.8- FreeBSD 12.0: Python 2.7.15 + Python 3.6.7- DragonFlyBSD 5.4.1: Python 2.7.15 + Python 3.6.7- Ubuntu 19.04: Python 2.7.15+ + Python 3.7.2rc1- Clear Linux 27460: Python 3.7.2Security Details- TrueOS Unstable: KPTI- FreeBSD 12.0: KPTI- DragonFlyBSD 5.4.1: Meltdown Mitigation- Ubuntu 19.04: KPTI + __user pointer sanitization + Full generic retpoline IBPB IBRS_FW + SSB disabled via prctl and seccomp + PTE Inversion; VMX: conditional cache flushes SMT vulnerable- Clear Linux 27460: KPTI + __user pointer sanitization + Full generic retpoline STIBP: disabled RSB filling + PTE Inversion; VMX: conditional cache flushes SMT vulnerableCompiler Details- Ubuntu 19.04: --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v - Clear Linux 27460: --build=x86_64-generic-linux --disable-libmpx --disable-libunwind-exceptions --disable-multiarch --disable-vtable-verify --enable-__cxa_atexit --enable-bootstrap --enable-clocale=gnu --enable-gnu-indirect-function --enable-languages=c,c++,fortran,go --enable-ld=default --enable-libstdcxx-pch --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --exec-prefix=/usr --includedir=/usr/include --target=x86_64-generic-linux --with-arch=westmere --with-glibc-version=2.19 --with-gnu-ld --with-isl --with-ppl=yes --with-tune=haswell Processor Details- Ubuntu 19.04: Scaling Governor: intel_pstate powersave- Clear Linux 27460: Scaling Governor: intel_pstate performanceEnvironment Details- Clear Linux 27460: CFFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl now-Wl-z-Wl relro-malign-data=abi-fno-semantic-interposition-ftree-vectorize-ftree-loop-vectorize-Wl-sort-common-Wl--enable-new-dtags FFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-malign-data=abi-fno-semantic-interposition-ftree-vectorize-ftree-loop-vectorize-Wl--enable-new-dtags CXXFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wformat-Wformat-security-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-fno-semantic-interposition-ffat-lto-objects-fno-signed-zeros-fno-trapping-math-fassociative-math-Wl-sort-common-Wl--enable-new-dtags-mtune=skylake-fvisibility-inlines-hidden-Wl--enable-new-dtags CFLAGS=-g-O3-feliminate-unused-debug-types-pipe-Wall-Wp-D_FORTIFY_SOURCE=2-fexceptions-fstack-protector--param=ssp-buffer-size=32-Wformat-Wformat-security-Wl--copy-dt-needed-entries-m64-fasynchronous-unwind-tables-Wp-D_REENTRANT-ftree-loop-distribute-patterns-Wl-z-Wl relro-fno-semantic-interposition-ffat-lto-objects-fno-signed-zeros-fno-trapping-math-fassociative-math-Wl-sort-common-Wl--enable-new-dtags-mtune=skylake THEANO_FLAGS=floatX=float32 openmp=true gcc.cxxflags="-ftree-vectorize-mavx"

TrueOS Unstable vs. FreeBSD vs. DragonFly vs. Linuxcompress-lzma: 256MB File Compressionbrl-cad: VGR Performance Metricttsiod-renderer: Phong Rendering With Soft-Shadow Mappingstockfish: Total Timex265: H.265 Video Encodingcompress-xz: Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9primesieve: 1e12 Prime Number Generationpybench: Total For Average Test Timesluajit: Compositesunflow: Global Illumination + Image Synthesisphpbench: PHP Benchmark Suiteencode-mp3: WAV To MP3encode-flac: WAV To FLACx264: H.264 Video Encodingtachyon: Total Timehmmer: Pfam Database Searchtjbench: Decompression Throughputphp: Zend micro_benchphp: Zend benchblake2: luajit: Jacobi Successive Over-Relaxationluajit: Dense LU Matrix Factorizationluajit: Sparse Matrix Multiplyluajit: Fast Fourier Transformluajit: Monte CarloTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274602744984444.92117389163.6092.7965.44186813492.3841605410.0311.8241.6517.588.281583.020.635.1113923436116928546127344.08114923933.7786.9866.27177213494476449.9011.9041.7817.377.761543.040.625.12139234341169288461277188.29112190284.27111.5465.2316922.8842487532.109.652.390.475.712.7925750217239.691087052725.67108.5355.6099714252.3564460030.279.3441.8011.047.641742.040.435.35150235011257363.3650024451320241.831147582526.1182.0155.78101213872.307767628.828.9941.855.661741.620.235.35150334061226296.99500OpenBenchmarking.org

LZMA Compression

256MB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterLZMA Compression256MB File CompressionTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 2746060120180240300SE +/- 0.17, N = 3SE +/- 0.20, N = 3SE +/- 0.21, N = 3SE +/- 0.26, N = 3SE +/- 0.14, N = 3274273277257244clang++clang++g++g++g++

BRL-CAD

VGR Performance Metric

OpenBenchmarking.orgVGR Performance Metric, More Is BetterBRL-CAD 7.28.0VGR Performance MetricTrueOS UnstableUbuntu 19.04Clear Linux 2746011K22K33K44K55K498445021751320

TTSIOD 3D Renderer

Phong Rendering With Soft-Shadow Mapping

OpenBenchmarking.orgFPS, More Is BetterTTSIOD 3D Renderer 2.3bPhong Rendering With Soft-Shadow MappingTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 2746050100150200250SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.32, N = 3SE +/- 0.19, N = 3SE +/- 0.62, N = 344.9244.08188.29239.69241.83

Stockfish

Total Time

OpenBenchmarking.orgNodes Per Second, More Is BetterStockfish 9Total TimeTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274603M6M9M12M15MSE +/- 44081.87, N = 3SE +/- 98632.70, N = 3SE +/- 26525.63, N = 3SE +/- 14180.06, N = 3SE +/- 38849.63, N = 31173891611492393112190281087052711475825clang++clang++g++g++g++

x265

H.265 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx265 2.8H.265 Video EncodingTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 27460612182430SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.12, N = 3SE +/- 0.04, N = 33.603.774.2725.6726.11clang++clang++g++g++g++

XZ Compression

Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9

OpenBenchmarking.orgSeconds, Fewer Is BetterXZ Compression 5.2.4Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9TrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 2746020406080100SE +/- 0.65, N = 3SE +/- 0.51, N = 3SE +/- 0.26, N = 3SE +/- 0.62, N = 3SE +/- 0.05, N = 392.7986.98111.54108.5382.01clangclanggccgccgcc

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 7.21e12 Prime Number GenerationTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274601530456075SE +/- 0.04, N = 3SE +/- 0.06, N = 3SE +/- 0.09, N = 3SE +/- 0.06, N = 3SE +/- 0.08, N = 365.4466.2765.2355.6055.78clang++clang++g++g++

PyBench

Total For Average Test Times

OpenBenchmarking.orgMilliseconds, Fewer Is BetterPyBench 2018-02-16Total For Average Test TimesTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 27460400800120016002000SE +/- 9.28, N = 3SE +/- 4.58, N = 3SE +/- 3.18, N = 3SE +/- 2.03, N = 3SE +/- 4.51, N = 31868177216929971012

LuaJIT

Test: Composite

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: CompositeTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 2746030060090012001500SE +/- 1.77, N = 3SE +/- 2.96, N = 3SE +/- 0.72, N = 3SE +/- 4.01, N = 31349134914251387

Sunflow Rendering System

Global Illumination + Image Synthesis

OpenBenchmarking.orgSeconds, Fewer Is BetterSunflow Rendering System 0.07.2Global Illumination + Image SynthesisTrueOS UnstableDragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274600.6481.2961.9442.5923.24SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 32.382.882.352.30

PHPBench

PHP Benchmark Suite

OpenBenchmarking.orgScore, More Is BetterPHPBench 0.8.1PHP Benchmark SuiteTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 27460170K340K510K680K850KSE +/- 145.81, N = 3SE +/- 273.83, N = 3SE +/- 634.23, N = 3SE +/- 4012.39, N = 3SE +/- 1749.17, N = 3416054447644424875644600776762

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3TrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 27460714212835SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 310.039.9032.1030.278.82

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLACTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274603691215SE +/- 0.02, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.05, N = 5SE +/- 0.08, N = 511.8211.909.659.348.99

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2018-09-25H.264 Video EncodingTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 274601020304050SE +/- 0.58, N = 5SE +/- 0.21, N = 3SE +/- 0.12, N = 3SE +/- 0.12, N = 341.6541.7841.8041.85

Tachyon

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterTachyon 0.98.9Total TimeTrueOS UnstableFreeBSD 12.0Ubuntu 19.0448121620SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.02, N = 317.5817.3711.04clangclanggcc

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 27460246810SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 38.287.767.645.66clangclanggccgcc

libjpeg-turbo tjbench

Test: Decompression Throughput

OpenBenchmarking.orgMegapixels/sec, More Is Betterlibjpeg-turbo tjbench 1.5.3Test: Decompression ThroughputTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 274604080120160200SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.47, N = 3SE +/- 0.28, N = 3158154174174clangclanggccgcc

PHP Micro Benchmarks

Test: Zend micro_bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend micro_benchTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274600.6841.3682.0522.7363.42SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 33.023.042.392.041.62

PHP Micro Benchmarks

Test: Zend bench

OpenBenchmarking.orgSeconds, Fewer Is BetterPHP Micro BenchmarksTest: Zend benchTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274600.14180.28360.42540.56720.709SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 30.630.620.470.430.23

BLAKE2

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20170307TrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 274601.28482.56963.85445.13926.424SE +/- 0.00, N = 3SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 35.115.125.715.355.35clangclanggccgccgcc

LuaJIT

Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: Jacobi Successive Over-RelaxationTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 2746030060090012001500SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.30, N = 3SE +/- 0.21, N = 31392139215021503

LuaJIT

Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: Dense LU Matrix FactorizationTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 274608001600240032004000SE +/- 7.62, N = 3SE +/- 15.19, N = 3SE +/- 5.23, N = 3SE +/- 32.15, N = 33436343435013406

LuaJIT

Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: Sparse Matrix MultiplyTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 2746030060090012001500SE +/- 0.87, N = 3SE +/- 0.87, N = 3SE +/- 1.92, N = 3SE +/- 32.04, N = 31169116912571226

LuaJIT

Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: Fast Fourier TransformTrueOS UnstableFreeBSD 12.0DragonFlyBSD 5.4.1Ubuntu 19.04Clear Linux 2746080160240320400SE +/- 1.63, N = 3SE +/- 0.25, N = 3SE +/- 0.03, N = 3SE +/- 0.50, N = 3SE +/- 1.13, N = 3285.00288.002.79363.36296.99clangclanggccgcc

LuaJIT

Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterLuaJIT 2.0.5Test: Monte CarloTrueOS UnstableFreeBSD 12.0Ubuntu 19.04Clear Linux 27460110220330440550SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.14, N = 3SE +/- 0.06, N = 3461461500500


Phoronix Test Suite v10.8.5