LVI Mitigations

Intel Xeon E3-1275 v6 testing with a ASUS P10S-M WS (4401 BIOS) and Intel HD P630 on Ubuntu 20.04 via the Phoronix Test Suite for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2003126-NI-LVIMITIGA83&rdt&grr.

LVI MitigationsProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RETIntel Xeon E3-1275 v6 @ 4.20GHz (4 Cores / 8 Threads)ASUS P10S-M WS (4401 BIOS)Intel Xeon E3-1200 v6/7th16GBSamsung SSD 970 EVO Plus 500GBIntel HD P630 (1150MHz)Realtek ALC1150DELL S2409W2 x Intel I210Ubuntu 20.045.4.0-14-generic (x86_64)GNOME Shell 3.35.91X Server 1.20.7modesetting 1.20.7GCC 9.2.1 20200304ext41920x1080OpenBenchmarking.orgEnvironment Details- No LVI Mitigation: CXXFLAGS=-O3 CFLAGS=-O3- LFENCE Load + Indirect Branch + Ret: CXXFLAGS="-O3 -Wa,-mlfence-after-load=yes -Wa,-mlfence-before-indirect-branch=all -Wa,-mlfence-before-ret=or" CFLAGS="-O3 -Wa,-mlfence-after-load=yes -Wa,-mlfence-before-indirect-branch=all -Wa,-mlfence-before-ret=or" - LFENCE After Load: CXXFLAGS="-O3 -Wa,-mlfence-after-load=yes" CFLAGS="-O3 -Wa,-mlfence-after-load=yes"- LFENCE Before Indirect Branch: CXXFLAGS="-O3 -Wa,-mlfence-before-indirect-branch=all" CFLAGS="-O3 -Wa,-mlfence-before-indirect-branch=all"- LFENCE Before RET: CXXFLAGS="-O3 -Wa,-mlfence-before-ret=or" CFLAGS="-O3 -Wa,-mlfence-before-ret=or"Compiler Details- --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++,gm2 --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none,hsa --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=auto --with-tune=generic --without-cuda-driver -v Processor Details- Scaling Governor: intel_pstate powersave - CPU Microcode: 0xcaSecurity Details- itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Mitigation of PTE Inversion; VMX: conditional cache flushes SMT vulnerable + mds: Mitigation of Clear buffers; SMT vulnerable + meltdown: Mitigation of PTI + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling + tsx_async_abort: Mitigation of Clear buffers; SMT vulnerable

LVI Mitigationsmt-dgemm: Sustained Floating-Point Ratec-ray: Total Time - 4K, 16 Rays Per Pixelmrbayes: Primate Phylogeny Analysismcperf: Add - 16pgbench: Buffer Test - Normal Load - Read Writevpxenc: Speed 5pgbench: Buffer Test - Normal Load - Read Onlysvt-hevc: 1080p 8-bit YUV To HEVC Video Encodesvt-av1: Enc Mode 8 - 1080pencode-flac: WAV To FLACjohn-the-ripper: MD5graphics-magick: Resizingrocksdb: Read While Writinggraphics-magick: Rotatehimeno: Poisson Pressure Solverencode-mp3: WAV To MP3x264: H.264 Video Encodingjohn-the-ripper: Blowfishlammps: Rhodopsin Proteinsmhasher: fasthash32smhasher: fasthash32dav1d: Summer Nature 1080psmhasher: wyhashsmhasher: wyhashcoremark: CoreMark Size 666 - Iterations Per Secondsmhasher: t1ha0_aes_avx2smhasher: t1ha0_aes_avx2botan: AES-256botan: Blowfishbotan: Twofishbotan: CAST-256openssl: RSA 4096-bit Performancebotan: KASUMImcperf: Set - 1mcperf: Add - 1redis: GETleveldb: Fill Syncipc-benchmark: Unnamed Pipe - 2048leveldb: Fill Synchmmer: Pfam Database Searchmcperf: Get - 1sysbench: CPUleveldb: Seek Randipc-benchmark: FIFO Named Pipe - 2048fftw: Float + SSE - 2D FFT Size 128leveldb: Hot Readleveldb: Rand ReadNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET1.121684160.75280.09474588.56337.39772623.86109133.83494724.4113.8418.9224383594379258497353504.3821748.64144.5477033.05439.9736302.88281.0730.8715371.58155734.92712440.40639576.774027.591450.387364.617143.9401217.694.53474530.774622.12902781.8515203616078.9535.172126791.28863.99744.5811482097362073.4383.4690.1968991235.082865.29569368.65255.4478692.5945420.1824223.792.13397.7329235265904375165182.68520877.14910.596460.275205.3971108.2685.04199.7661460.0629308.801462129.6322578.17667.16327.03623.62613.843138.111.94768935.869416.72157109.9214544426343.59030.058108597.89160.685210.96312815223147.05.7465.7940.1991131234.591861.63570035.35470.2147512.6349296.6619283.882.16997.9419245765911671162182.68075976.72710.816460.275158.3201108.6385.95183.6061459.6430075.832607100.1422536.98656.42627.04123.66113.786138.111.96169868.969923.12290110.9215067896279.40630.026112679.39160.575210.54014822063179.75.5575.5611.125063160.74081.2666489.71745123.70107867.87232723.8313.5808.8794507304359014277203495.0656558.70043.5977043.09171.4166305.00279.9244.59415139.16155387.19296747.80939743.374012.193455.182365.472143.7421217.594.55673056.173822.32807336.750.115015886172.7605.190122542.88482.74134.6701442004345693.5353.4581.134689161.23286.72972514.56622.93502820.32101653.32914821.2812.1569.0064421284358998056883502.5389659.38141.3076322.99992.4606301.25273.7348.44615368.40150838.38817673.13440155.933548.671449.685361.857143.3361214.994.31572700.472552.02964800.420.114756476140.0125.778125504.08475.18435.3431458219331093.8333.800OpenBenchmarking.org

ACES DGEMM

Sustained Floating-Point Rate

OpenBenchmarking.orgGFLOP/s, More Is BetterACES DGEMM 1.0Sustained Floating-Point RateNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET0.25530.51060.76591.02121.2765SE +/- 0.009404, N = 3SE +/- 0.001089, N = 3SE +/- 0.000251, N = 3SE +/- 0.009027, N = 3SE +/- 0.011024, N = 31.1216840.1968990.1991131.1250631.1346891. (CC) gcc options: -O3 -march=native -fopenmp

C-Ray

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per PixelNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET30060090012001500SE +/- 0.06, N = 3SE +/- 0.84, N = 3SE +/- 0.56, N = 3SE +/- 0.05, N = 3SE +/- 0.02, N = 3160.751235.081234.59160.74161.231. (CC) gcc options: -lm -lpthread -O3

Timed MrBayes Analysis

Primate Phylogeny Analysis

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MrBayes Analysis 3.2.7Primate Phylogeny AnalysisNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET2004006008001000SE +/- 0.03, N = 3SE +/- 0.22, N = 3SE +/- 0.18, N = 3SE +/- 1.31, N = 3SE +/- 0.06, N = 380.09865.30861.6481.2786.731. (CC) gcc options: -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -maes -mavx -mfma -mavx2 -mrdrnd -mbmi -mbmi2 -madx -mmpx -mabm -O3 -std=c99 -pedantic -lm

Memcached mcperf

Method: Add - Connections: 16

OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.6.0Method: Add - Connections: 16No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before RET16K32K48K64K80KSE +/- 293.57, N = 3SE +/- 85.00, N = 3SE +/- 120.20, N = 3SE +/- 114.33, N = 374588.569368.670035.372514.51. (CC) gcc options: -O3 -lm -rdynamic

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET14002800420056007000SE +/- 63.09, N = 15SE +/- 71.67, N = 3SE +/- 19.12, N = 3SE +/- 42.83, N = 3SE +/- 98.41, N = 36337.405255.455470.216489.726622.941. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

VP9 libvpx Encoding

Speed: Speed 5

OpenBenchmarking.orgFrames Per Second, More Is BetterVP9 libvpx Encoding 1.8.2Speed: Speed 5No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET612182430SE +/- 0.04, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 323.862.592.6323.7020.321. (CXX) g++ options: -m64 -lm -lpthread -O3 -fPIC -U_FORTIFY_SOURCE -std=c++11

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Only

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read OnlyNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET20K40K60K80K100KSE +/- 413.63, N = 3SE +/- 47.38, N = 3SE +/- 54.85, N = 3SE +/- 95.59, N = 3SE +/- 196.17, N = 3109133.8345420.1849296.66107867.87101653.331. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

SVT-HEVC

1080p 8-bit YUV To HEVC Video Encode

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.4.11080p 8-bit YUV To HEVC Video EncodeNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET612182430SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 324.413.793.8823.8321.281. (CC) gcc options: -O3 -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

SVT-AV1

Encoder Mode: Enc Mode 8 - Input: 1080p

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 0.8Encoder Mode: Enc Mode 8 - Input: 1080pNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET48121620SE +/- 0.012, N = 3SE +/- 0.001, N = 3SE +/- 0.003, N = 3SE +/- 0.015, N = 3SE +/- 0.020, N = 313.8412.1332.16913.58012.1561. (CXX) g++ options: -O3 -fPIE -fPIC -pie

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLACNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET20406080100SE +/- 0.004, N = 5SE +/- 0.023, N = 5SE +/- 0.094, N = 5SE +/- 0.008, N = 5SE +/- 0.005, N = 58.92297.73297.9418.8799.0061. (CXX) g++ options: -O3 -fvisibility=hidden -lm

John The Ripper

Test: MD5

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.9.0-jumbo-1Test: MD5No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET100K200K300K400K500KSE +/- 42.78, N = 3SE +/- 6.67, N = 3SE +/- 10.33, N = 3SE +/- 90.21, N = 3SE +/- 520.74, N = 343835992352924574507304421281. (CC) gcc options: -m64 -lssl -lcrypto -fopenmp -pthread -lm -lz -ldl -lcrypt -lbz2

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: ResizingNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET90180270360450SE +/- 1.73, N = 343765654354351. (CC) gcc options: -fopenmp -O3 -pthread -ljpeg -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lpthread

Facebook RocksDB

Test: Read While Writing

OpenBenchmarking.orgOp/s, More Is BetterFacebook RocksDB 6.3.6Test: Read While WritingNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET200K400K600K800K1000KSE +/- 14182.06, N = 3SE +/- 1624.30, N = 3SE +/- 6024.37, N = 3SE +/- 6920.01, N = 3SE +/- 10108.45, N = 39258499043759116719014278998051. (CXX) g++ options: -O3 -march=native -std=c++11 -fno-builtin-memcmp -fno-rtti -rdynamic -lpthread

GraphicsMagick

Operation: Rotate

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: RotateNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET160320480640800SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 8.62, N = 3SE +/- 1.00, N = 37351651627206881. (CC) gcc options: -fopenmp -O3 -pthread -ljpeg -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET8001600240032004000SE +/- 8.50, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 2.74, N = 3SE +/- 2.71, N = 33504.38182.69182.683495.073502.541. (CC) gcc options: -O3 -mavx2

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET20406080100SE +/- 0.004, N = 3SE +/- 0.016, N = 3SE +/- 0.005, N = 3SE +/- 0.003, N = 3SE +/- 0.001, N = 38.64177.14976.7278.7009.3811. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -lncurses -lm

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2019-12-17H.264 Video EncodingNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET1020304050SE +/- 0.49, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.28, N = 3SE +/- 0.11, N = 344.5410.5910.8143.5941.301. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.9.0-jumbo-1Test: BlowfishNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET17003400510068008500SE +/- 0.88, N = 3SE +/- 1.45, N = 37703646646770476321. (CC) gcc options: -m64 -lssl -lcrypto -fopenmp -pthread -lm -lz -ldl -lcrypt -lbz2

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

OpenBenchmarking.orgns/day, More Is BetterLAMMPS Molecular Dynamics Simulator 9Jan2020Model: Rhodopsin ProteinNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET0.69551.3912.08652.7823.4775SE +/- 0.006, N = 3SE +/- 0.001, N = 3SE +/- 0.000, N = 3SE +/- 0.005, N = 3SE +/- 0.004, N = 33.0540.2750.2753.0912.9991. (CXX) g++ options: -O3 -rdynamic -ljpeg -lfftw3 -lm

SMHasher

Hash: fasthash32

OpenBenchmarking.orgcycles/hash, Fewer Is BetterSMHasher 2020-02-29Hash: fasthash32No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET50100150200250SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 339.97205.40158.3271.4292.461. (CXX) g++ options: -O3 -march=native -lpthread

SMHasher

Hash: fasthash32

OpenBenchmarking.orgMiB/sec, More Is BetterSMHasher 2020-02-29Hash: fasthash32No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET14002800420056007000SE +/- 4.58, N = 3SE +/- 0.06, N = 3SE +/- 0.06, N = 3SE +/- 2.33, N = 3SE +/- 2.59, N = 36302.881108.261108.636305.006301.251. (CXX) g++ options: -O3 -march=native -lpthread

dav1d

Video Input: Summer Nature 1080p

OpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Summer Nature 1080pNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET60120180240300SE +/- 0.44, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.43, N = 3SE +/- 0.44, N = 3281.0785.0485.95279.92273.73MIN: 263 / MAX: 305.72MIN: 78.13 / MAX: 96.33MIN: 78.9 / MAX: 97.75MIN: 254.67 / MAX: 306.05MIN: 248.49 / MAX: 298.861. (CC) gcc options: -O3 -pthread

SMHasher

Hash: wyhash

OpenBenchmarking.orgcycles/hash, Fewer Is BetterSMHasher 2020-02-29Hash: wyhashNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET4080120160200SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 330.87199.77183.6144.5948.451. (CXX) g++ options: -O3 -march=native -lpthread

SMHasher

Hash: wyhash

OpenBenchmarking.orgMiB/sec, More Is BetterSMHasher 2020-02-29Hash: wyhashNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET3K6K9K12K15KSE +/- 91.45, N = 3SE +/- 0.18, N = 3SE +/- 0.34, N = 3SE +/- 172.83, N = 3SE +/- 61.62, N = 315371.581460.061459.6415139.1615368.401. (CXX) g++ options: -O3 -march=native -lpthread

Coremark

CoreMark Size 666 - Iterations Per Second

OpenBenchmarking.orgIterations/Sec, More Is BetterCoremark 1.0CoreMark Size 666 - Iterations Per SecondNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET30K60K90K120K150KSE +/- 594.80, N = 3SE +/- 3.16, N = 3SE +/- 15.75, N = 3SE +/- 406.60, N = 3SE +/- 696.48, N = 3155734.9329308.8030075.83155387.19150838.391. (CC) gcc options: -O2 -O3 -lrt" -lrt

SMHasher

Hash: t1ha0_aes_avx2

OpenBenchmarking.orgcycles/hash, Fewer Is BetterSMHasher 2020-02-29Hash: t1ha0_aes_avx2No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET306090120150SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.45, N = 3SE +/- 0.01, N = 4SE +/- 0.01, N = 340.41129.63100.1447.8173.131. (CXX) g++ options: -O3 -march=native -lpthread

SMHasher

Hash: t1ha0_aes_avx2

OpenBenchmarking.orgMiB/sec, More Is BetterSMHasher 2020-02-29Hash: t1ha0_aes_avx2No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET9K18K27K36K45KSE +/- 278.78, N = 3SE +/- 1.85, N = 3SE +/- 0.19, N = 3SE +/- 549.98, N = 4SE +/- 280.18, N = 339576.772578.172536.9839743.3740155.931. (CXX) g++ options: -O3 -march=native -lpthread

Botan

Test: AES-256

OpenBenchmarking.orgMiB/s, More Is BetterBotan 2.13.0Test: AES-256No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET9001800270036004500SE +/- 3.22, N = 3SE +/- 0.03, N = 3SE +/- 0.42, N = 3SE +/- 0.68, N = 3SE +/- 0.17, N = 34027.59667.16656.434012.193548.671. (CXX) g++ options: -fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt

Botan

Test: Blowfish

OpenBenchmarking.orgMiB/s, More Is BetterBotan 2.13.0Test: BlowfishNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET100200300400500SE +/- 4.11, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.10, N = 3SE +/- 0.09, N = 3450.3927.0427.04455.18449.691. (CXX) g++ options: -fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt

Botan

Test: Twofish

OpenBenchmarking.orgMiB/s, More Is BetterBotan 2.13.0Test: TwofishNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET80160240320400SE +/- 0.27, N = 3SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.26, N = 3364.6223.6323.66365.47361.861. (CXX) g++ options: -fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt

Botan

Test: CAST-256

OpenBenchmarking.orgMiB/s, More Is BetterBotan 2.13.0Test: CAST-256No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET306090120150SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.21, N = 3SE +/- 0.06, N = 3143.9413.8413.79143.74143.341. (CXX) g++ options: -fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.1.1RSA 4096-bit PerformanceNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET30060090012001500SE +/- 1.65, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.63, N = 3SE +/- 0.70, N = 31217.6138.1138.11217.51214.91. (CC) gcc options: -pthread -m64 -O3 -lssl -lcrypto -ldl

Botan

Test: KASUMI

OpenBenchmarking.orgMiB/s, More Is BetterBotan 2.13.0Test: KASUMINo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET20406080100SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.05, N = 3SE +/- 0.04, N = 394.5311.9511.9694.5694.321. (CXX) g++ options: -fstack-protector -m64 -pthread -lbotan-2 -ldl -lrt

Memcached mcperf

Method: Set - Connections: 1

OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.6.0Method: Set - Connections: 1No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET16K32K48K64K80KSE +/- 403.77, N = 3SE +/- 383.89, N = 3SE +/- 157.67, N = 3SE +/- 149.20, N = 3SE +/- 129.57, N = 374530.768935.869868.973056.172700.41. (CC) gcc options: -O3 -lm -rdynamic

Memcached mcperf

Method: Add - Connections: 1

OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.6.0Method: Add - Connections: 1No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET16K32K48K64K80KSE +/- 110.28, N = 3SE +/- 115.20, N = 3SE +/- 120.28, N = 3SE +/- 230.88, N = 3SE +/- 475.38, N = 374622.169416.769923.173822.372552.01. (CC) gcc options: -O3 -lm -rdynamic

Redis

Test: GET

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 5.0.5Test: GETNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET600K1200K1800K2400K3000KSE +/- 33984.11, N = 15SE +/- 20411.81, N = 3SE +/- 6290.25, N = 3SE +/- 37253.75, N = 3SE +/- 23623.92, N = 32902781.852157109.922290110.922807336.752964800.421. (CXX) g++ options: -MM -MT -g3 -fvisibility=hidden -O3

LevelDB

Benchmark: Fill Sync

OpenBenchmarking.orgMB/s, More Is BetterLevelDB 1.22Benchmark: Fill SyncLFENCE Before Indirect BranchLFENCE Before RET0.02250.0450.06750.090.1125SE +/- 0.00, N = 3SE +/- 0.01, N = 150.10.11. (CXX) g++ options: -O3 -lsnappy -lpthread

IPC_benchmark

Type: Unnamed Pipe - Message Bytes: 2048

OpenBenchmarking.orgMessages Per Second, More Is BetterIPC_benchmarkType: Unnamed Pipe - Message Bytes: 2048No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET300K600K900K1200K1500KSE +/- 23319.71, N = 3SE +/- 24328.97, N = 15SE +/- 5934.66, N = 3SE +/- 14185.23, N = 10SE +/- 22792.63, N = 1315203611454442150678915015881475647

LevelDB

Benchmark: Fill Sync

OpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Fill SyncNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET14002800420056007000SE +/- 114.30, N = 3SE +/- 9.49, N = 3SE +/- 121.57, N = 15SE +/- 26.04, N = 3SE +/- 102.63, N = 156078.956343.596279.416172.766140.011. (CXX) g++ options: -O3 -lsnappy -lpthread

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET714212835SE +/- 0.005, N = 3SE +/- 0.047, N = 3SE +/- 0.079, N = 3SE +/- 0.020, N = 3SE +/- 0.053, N = 35.17230.05830.0265.1905.7781. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm

Memcached mcperf

Method: Get - Connections: 1

OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.6.0Method: Get - Connections: 1No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET30K60K90K120K150KSE +/- 1437.67, N = 3SE +/- 214.95, N = 3SE +/- 613.45, N = 3SE +/- 188.33, N = 3SE +/- 529.02, N = 3126791.2108597.8112679.3122542.8125504.01. (CC) gcc options: -O3 -lm -rdynamic

Sysbench

Test: CPU

OpenBenchmarking.orgEvents Per Second, More Is BetterSysbench 2018-07-28Test: CPUNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET2K4K6K8K10KSE +/- 0.57, N = 3SE +/- 0.43, N = 3SE +/- 0.95, N = 3SE +/- 0.77, N = 3SE +/- 1.05, N = 38864.009160.699160.588482.748475.181. (CC) gcc options: -pthread -O3 -funroll-loops -ggdb3 -march=core2 -rdynamic -ldl -laio -lm

LevelDB

Benchmark: Seek Random

OpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Seek RandomNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET3691215SE +/- 0.013, N = 3SE +/- 0.039, N = 3SE +/- 0.039, N = 3SE +/- 0.034, N = 3SE +/- 0.045, N = 34.58110.96310.5404.6705.3431. (CXX) g++ options: -O3 -lsnappy -lpthread

IPC_benchmark

Type: FIFO Named Pipe - Message Bytes: 2048

OpenBenchmarking.orgMessages Per Second, More Is BetterIPC_benchmarkType: FIFO Named Pipe - Message Bytes: 2048No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET300K600K900K1200K1500KSE +/- 6688.93, N = 3SE +/- 15759.80, N = 3SE +/- 23424.58, N = 3SE +/- 6206.38, N = 3SE +/- 22765.74, N = 314820971281522148220614420041458219

FFTW

Build: Float + SSE - Size: 2D FFT Size 128

OpenBenchmarking.orgMflops, More Is BetterFFTW 3.3.6Build: Float + SSE - Size: 2D FFT Size 128No LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET8K16K24K32K40KSE +/- 457.98, N = 3SE +/- 5.21, N = 3SE +/- 2.37, N = 3SE +/- 335.87, N = 3SE +/- 402.02, N = 636207.03147.03179.734569.033109.01. (CC) gcc options: -pthread -O3 -lm

LevelDB

Benchmark: Hot Read

OpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Hot ReadNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET1.29292.58583.87875.17166.4645SE +/- 0.010, N = 3SE +/- 0.011, N = 3SE +/- 0.011, N = 3SE +/- 0.029, N = 3SE +/- 0.016, N = 33.4385.7465.5573.5353.8331. (CXX) g++ options: -O3 -lsnappy -lpthread

LevelDB

Benchmark: Random Read

OpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Random ReadNo LVI MitigationLFENCE Load + Indirect Branch + RetLFENCE After LoadLFENCE Before Indirect BranchLFENCE Before RET1.30372.60743.91115.21486.5185SE +/- 0.003, N = 3SE +/- 0.007, N = 3SE +/- 0.001, N = 3SE +/- 0.034, N = 3SE +/- 0.036, N = 33.4695.7945.5613.4583.8001. (CXX) g++ options: -O3 -lsnappy -lpthread


Phoronix Test Suite v10.8.5