Intel AMD FSGSBASE Benchmarks 2020

Tests for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2005123-NI-FSGSBASE659&grr.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutioni9-10980XETR 3970X No FSGSBASE FSGSBASE Patched No FSGSBASE FSGSBASE PatchedIntel Core i9-10980XE @ 4.80GHz (18 Cores / 36 Threads)ASRock X299 Steel Legend (P1.30 BIOS)Intel Sky Lake-E DMI3 Registers32GBSamsung SSD 970 PRO 512GBNVIDIA NV132 11GBRealtek ALC1220ASUS MG28UIntel I219-V + Intel I211Ubuntu 20.045.7.0-rc4-fsgsbase (x86_64) 20200510GNOME Shell 3.36.1X Server 1.20.8modesetting 1.20.84.3 Mesa 20.0.4GCC 9.3.0ext43840x2160AMD Ryzen Threadripper 3970X 32-Core @ 3.70GHz (32 Cores / 64 Threads)ASUS ROG ZENITH II EXTREME (0702 BIOS)AMD Starship/Matisse64GB1000GB Force MP600Gigabyte AMD Radeon RX 5500/5500M / Pro 5500M 8GB (1890/875MHz)AMD Navi 10 HDMI AudioAquantia AQC107 NBase-T/IEEE + Intel I211 + Intel Wi-Fi 6 AX2004.6 Mesa 20.0.4 (LLVM 9.0.1)OpenBenchmarking.orgCompiler 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 Disk Details- NONE / errors=remount-ro,relatime,rwProcessor Details- i9-10980XE: No FSGSBASE: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- i9-10980XE: FSGSBASE Patched: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- TR 3970X: No FSGSBASE: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025- TR 3970X: FSGSBASE Patched: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025Java Details- OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)Python Details- i9-10980XE: No FSGSBASE, i9-10980XE: FSGSBASE Patched: + Python 3.8.2Security Details- i9-10980XE: No FSGSBASE: itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + 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 Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled - i9-10980XE: FSGSBASE Patched: itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + 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 Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled - TR 3970X: No FSGSBASE: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + 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 AMD retpoline IBPB: conditional STIBP: conditional RSB filling + tsx_async_abort: Not affected - TR 3970X: FSGSBASE Patched: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + 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 AMD retpoline IBPB: conditional STIBP: conditional RSB filling + tsx_async_abort: Not affected

java-gradle-perf: Reactorpgbench: Buffer Test - Heavy Contention - Read Writerocksdb: Rand Fill Syncleveldb: Seq Fillleveldb: Rand Deletepgbench: Buffer Test - Normal Load - Read Writepgbench: Buffer Test - Normal Load - Read Onlystress-ng: Context Switchinghbase: Increment - 32hbase: Increment - 32fio: Seq Read - IO_uring - Yes - No - 2MB - Default Test Directoryfio: Seq Read - IO_uring - Yes - No - 2MB - Default Test Directoryredis: GEThbase: Seq Read - 32hbase: Seq Read - 32hbase: Rand Read - 32hbase: Rand Read - 32leveldb: Rand Readleveldb: Hot Readleveldb: Overwritestress-ng: Socket Activityredis: LPUSHredis: LPOPdacapobench: Tradebeansleveldb: Fill Synci9-10980XETR 3970X No FSGSBASE FSGSBASE Patched No FSGSBASE FSGSBASE Patched248.29910834.6765964680385.457377.21610193.309654457041.9953974630906.123578883698919852671484.2224113189217517925428.12927.806383.71310719.321842891.792019972.7591197479.781243.85811127.2559954800383.358375.33410214.578624459323.8986205040915.4334890938140128102824129.9523513510317318078127.59727.519382.37610983.481886156.662855388.4589807451.277268.58214020.15436430115258.956254.26633875.068460737307.35706916087486.72289109861194338932614928.4313323832213523247241.24241.070267.14020699.041592214.371552865.1745571974.811266.81535469.52110934125260.506255.10634230.282813739765.95099716564090.99291109051199940052670741.1813223851713623160640.88240.966267.04520372.511659380.822763326.6545501972.649OpenBenchmarking.org

Java Gradle Build

Gradle Build: Reactor

i9-10980XETR 3970XOpenBenchmarking.orgSeconds, Fewer Is BetterJava Gradle BuildGradle Build: ReactorNo FSGSBASEFSGSBASE Patched60120180240300SE +/- 3.31, N = 5SE +/- 2.63, N = 9SE +/- 1.73, N = 3SE +/- 5.06, N = 9248.30243.86268.58266.82

PostgreSQL pgbench

Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write

i9-10980XETR 3970XOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Heavy Contention - Mode: Read WriteNo FSGSBASEFSGSBASE Patched8K16K24K32K40KSE +/- 16.63, N = 3SE +/- 170.08, N = 3SE +/- 526.10, N = 15SE +/- 226.84, N = 310834.6811127.2614020.1535469.521. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Facebook RocksDB

Test: Random Fill Sync

i9-10980XETR 3970XOpenBenchmarking.orgOp/s, More Is BetterFacebook RocksDB 6.3.6Test: Random Fill SyncNo FSGSBASEFSGSBASE Patched7K14K21K28K35KSE +/- 41.44, N = 11SE +/- 7.75, N = 3SE +/- 1150.57, N = 15SE +/- 87.56, N = 34680480030115341251. (CXX) g++ options: -O3 -march=native -std=c++11 -fno-builtin-memcmp -fno-rtti -rdynamic -lpthread

LevelDB

Benchmark: Sequential Fill

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Sequential FillNo FSGSBASEFSGSBASE Patched80160240320400SE +/- 1.13, N = 3SE +/- 0.69, N = 3SE +/- 0.11, N = 3SE +/- 1.14, N = 3385.46383.36258.96260.511. (CXX) g++ options: -O3 -lsnappy -lpthread

LevelDB

Benchmark: Random Delete

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Random DeleteNo FSGSBASEFSGSBASE Patched80160240320400SE +/- 1.04, N = 3SE +/- 0.16, N = 3SE +/- 0.67, N = 3SE +/- 0.19, N = 3377.22375.33254.27255.111. (CXX) g++ options: -O3 -lsnappy -lpthread

PostgreSQL pgbench

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

i9-10980XETR 3970XOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteNo FSGSBASEFSGSBASE Patched7K14K21K28K35KSE +/- 18.22, N = 3SE +/- 9.73, N = 3SE +/- 247.46, N = 3SE +/- 448.70, N = 310193.3110214.5833875.0734230.281. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

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

i9-10980XETR 3970XOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read OnlyNo FSGSBASEFSGSBASE Patched160K320K480K640K800KSE +/- 986.91, N = 3SE +/- 544.12, N = 3SE +/- 3401.55, N = 3SE +/- 2276.58, N = 3457042.00459323.90737307.36739765.951. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Stress-NG

Test: Context Switching

i9-10980XETR 3970XOpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.11.07Test: Context SwitchingNo FSGSBASEFSGSBASE Patched4M8M12M16M20MSE +/- 93165.75, N = 15SE +/- 137371.78, N = 12SE +/- 142820.76, N = 3SE +/- 43294.30, N = 34630906.125040915.4316087486.7216564090.991. (CC) gcc options: -O2 -std=gnu99 -lm -laio -lcrypt -lrt -ldl -lpthread -lc

Apache HBase

Test: Increment - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Increment - Clients: 32No FSGSBASEFSGSBASE Patched80160240320400SE +/- 2.65, N = 3SE +/- 1.67, N = 3SE +/- 1.73, N = 3SE +/- 1.76, N = 3357348289291

Apache HBase

Test: Increment - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgRows Per Second, More Is BetterApache HBase 2.2.3Test: Increment - Clients: 32No FSGSBASEFSGSBASE Patched20K40K60K80K100KSE +/- 560.37, N = 3SE +/- 306.20, N = 3SE +/- 519.37, N = 3SE +/- 489.10, N = 38883690938109861109051

Flexible IO Tester

Type: Sequential Read - Engine: IO_uring - Buffered: Yes - Direct: No - Block Size: 2MB - Disk Target: Default Test Directory

i9-10980XETR 3970XOpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.18Type: Sequential Read - Engine: IO_uring - Buffered: Yes - Direct: No - Block Size: 2MB - Disk Target: Default Test DirectoryNo FSGSBASEFSGSBASE Patched400800120016002000SE +/- 0.67, N = 3SE +/- 17.51, N = 15SE +/- 0.58, N = 39891401194319991. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -fcommon -U_FORTIFY_SOURCE -march=native -lnuma -libverbs -lrt -laio -lpthread -lm -ldl

Flexible IO Tester

Type: Sequential Read - Engine: IO_uring - Buffered: Yes - Direct: No - Block Size: 2MB - Disk Target: Default Test Directory

i9-10980XETR 3970XOpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.18Type: Sequential Read - Engine: IO_uring - Buffered: Yes - Direct: No - Block Size: 2MB - Disk Target: Default Test DirectoryNo FSGSBASEFSGSBASE Patched9001800270036004500SE +/- 1.53, N = 3SE +/- 2.96, N = 3SE +/- 35.09, N = 15SE +/- 1.15, N = 319852810389340051. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -fcommon -U_FORTIFY_SOURCE -march=native -lnuma -libverbs -lrt -laio -lpthread -lm -ldl

Redis

Test: GET

i9-10980XETR 3970XOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 5.0.5Test: GETNo FSGSBASEFSGSBASE Patched600K1200K1800K2400K3000KSE +/- 24930.64, N = 15SE +/- 28244.30, N = 15SE +/- 53347.39, N = 15SE +/- 62627.77, N = 152671484.222824129.952614928.432670741.181. (CXX) g++ options: -MM -MT -g3 -fvisibility=hidden -O3

Apache HBase

Test: Sequential Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Sequential Read - Clients: 32No FSGSBASEFSGSBASE Patched50100150200250SE +/- 4.10, N = 3SE +/- 2.60, N = 3241235133132

Apache HBase

Test: Sequential Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgRows Per Second, More Is BetterApache HBase 2.2.3Test: Sequential Read - Clients: 32No FSGSBASEFSGSBASE Patched50K100K150K200K250KSE +/- 2099.51, N = 3SE +/- 1563.62, N = 3SE +/- 1472.20, N = 3SE +/- 870.85, N = 3131892135103238322238517

Apache HBase

Test: Random Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Random Read - Clients: 32No FSGSBASEFSGSBASE Patched4080120160200SE +/- 1.76, N = 3SE +/- 0.67, N = 3SE +/- 0.67, N = 3175173135136

Apache HBase

Test: Random Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgRows Per Second, More Is BetterApache HBase 2.2.3Test: Random Read - Clients: 32No FSGSBASEFSGSBASE Patched50K100K150K200K250KSE +/- 1732.82, N = 3SE +/- 1029.85, N = 3SE +/- 974.83, N = 3SE +/- 170.46, N = 3179254180781232472231606

LevelDB

Benchmark: Random Read

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Random ReadNo FSGSBASEFSGSBASE Patched918273645SE +/- 0.07, N = 3SE +/- 0.09, N = 3SE +/- 0.21, N = 3SE +/- 0.23, N = 328.1327.6041.2440.881. (CXX) g++ options: -O3 -lsnappy -lpthread

LevelDB

Benchmark: Hot Read

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Hot ReadNo FSGSBASEFSGSBASE Patched918273645SE +/- 0.07, N = 3SE +/- 0.09, N = 3SE +/- 0.25, N = 3SE +/- 0.20, N = 327.8127.5241.0740.971. (CXX) g++ options: -O3 -lsnappy -lpthread

LevelDB

Benchmark: Overwrite

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: OverwriteNo FSGSBASEFSGSBASE Patched80160240320400SE +/- 2.64, N = 3SE +/- 0.30, N = 3SE +/- 0.36, N = 3SE +/- 0.25, N = 3383.71382.38267.14267.051. (CXX) g++ options: -O3 -lsnappy -lpthread

Stress-NG

Test: Socket Activity

i9-10980XETR 3970XOpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.11.07Test: Socket ActivityNo FSGSBASEFSGSBASE Patched4K8K12K16K20KSE +/- 73.53, N = 3SE +/- 8.02, N = 3SE +/- 57.86, N = 3SE +/- 110.88, N = 310719.3210983.4820699.0420372.511. (CC) gcc options: -O2 -std=gnu99 -lm -laio -lcrypt -lrt -ldl -lpthread -lc

Redis

Test: LPUSH

i9-10980XETR 3970XOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 5.0.5Test: LPUSHNo FSGSBASEFSGSBASE Patched400K800K1200K1600K2000KSE +/- 11389.91, N = 3SE +/- 22661.66, N = 3SE +/- 26642.77, N = 15SE +/- 30373.02, N = 121842891.791886156.661592214.371659380.821. (CXX) g++ options: -MM -MT -g3 -fvisibility=hidden -O3

Redis

Test: LPOP

i9-10980XETR 3970XOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 5.0.5Test: LPOPNo FSGSBASEFSGSBASE Patched600K1200K1800K2400K3000KSE +/- 33512.47, N = 3SE +/- 32128.34, N = 15SE +/- 7396.20, N = 3SE +/- 72565.06, N = 122019972.752855388.451552865.172763326.651. (CXX) g++ options: -MM -MT -g3 -fvisibility=hidden -O3

DaCapo Benchmark

Java Test: Tradebeans

i9-10980XETR 3970XOpenBenchmarking.orgmsec, Fewer Is BetterDaCapo Benchmark 9.12-MR1Java Test: TradebeansNo FSGSBASEFSGSBASE Patched2K4K6K8K10KSE +/- 47.92, N = 4SE +/- 60.84, N = 4SE +/- 39.62, N = 4SE +/- 26.72, N = 49119898045574550

LevelDB

Benchmark: Fill Sync

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds Per Op, Fewer Is BetterLevelDB 1.22Benchmark: Fill SyncNo FSGSBASEFSGSBASE Patched16003200480064008000SE +/- 21.21, N = 3SE +/- 9.08, N = 3SE +/- 4.78, N = 3SE +/- 5.39, N = 37479.787451.281974.811972.651. (CXX) g++ options: -O3 -lsnappy -lpthread


Phoronix Test Suite v10.8.5