Intel AMD FSGSBASE Benchmarks 2020

Tests for a future article.

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

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutioni9-10980XETR 3970X FSGSBASE Patched No FSGSBASE FSGSBASE Patched No FSGSBASEIntel 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: FSGSBASE Patched: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- i9-10980XE: No FSGSBASE: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- TR 3970X: FSGSBASE Patched: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025- TR 3970X: No FSGSBASE: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025Java Details- OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)Python Details- i9-10980XE: FSGSBASE Patched, i9-10980XE: No FSGSBASE: + Python 3.8.2Security Details- 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 - 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 - 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 - 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

stress-ng: Socket Activitystress-ng: Context Switchingfio: Seq Read - IO_uring - Yes - No - 2MB - Default Test Directoryfio: Seq Read - IO_uring - Yes - No - 2MB - Default Test Directoryrocksdb: Rand Fill Syncredis: LPOPredis: LPUSHredis: GEThbase: Increment - 32hbase: Rand Read - 32hbase: Seq Read - 32pgbench: Buffer Test - Normal Load - Read Onlypgbench: Buffer Test - Normal Load - Read Writepgbench: Buffer Test - Heavy Contention - Read Writehbase: Increment - 32hbase: Rand Read - 32hbase: Seq Read - 32leveldb: Hot Readleveldb: Fill Syncleveldb: Overwriteleveldb: Rand Readleveldb: Rand Deleteleveldb: Seq Filldacapobench: Tradebeansjava-gradle-perf: Reactori9-10980XETR 3970X FSGSBASE Patched No FSGSBASE FSGSBASE Patched No FSGSBASE10983.485040915.431401281048002855388.451886156.662824129.9590938180781135103459323.89862010214.57862411127.25599534817323527.5197451.277382.37627.597375.334383.3588980243.85810719.324630906.12989198546802019972.751842891.792671484.2288836179254131892457041.99539710193.30965410834.67659635717524127.8067479.781383.71328.129377.216385.4579119248.29920372.5116564090.9919994005341252763326.651659380.822670741.18109051231606238517739765.95099734230.28281335469.52110929113613240.9661972.649267.04540.882255.106260.5064550266.81520699.0416087486.7219433893301151552865.171592214.372614928.43109861232472238322737307.35706933875.06846014020.15436428913513341.0701974.811267.14041.242254.266258.9564557268.582OpenBenchmarking.org

Stress-NG

Test: Socket Activity

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

Stress-NG

Test: Context Switching

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

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 DirectoryFSGSBASE PatchedNo FSGSBASE400800120016002000SE +/- 0.67, N = 3SE +/- 0.58, N = 3SE +/- 17.51, N = 151401989199919431. (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 DirectoryFSGSBASE PatchedNo FSGSBASE9001800270036004500SE +/- 2.96, N = 3SE +/- 1.53, N = 3SE +/- 1.15, N = 3SE +/- 35.09, N = 1528101985400538931. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -fcommon -U_FORTIFY_SOURCE -march=native -lnuma -libverbs -lrt -laio -lpthread -lm -ldl

Facebook RocksDB

Test: Random Fill Sync

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

Redis

Test: LPOP

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

Redis

Test: LPUSH

i9-10980XETR 3970XOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 5.0.5Test: LPUSHFSGSBASE PatchedNo FSGSBASE400K800K1200K1600K2000KSE +/- 22661.66, N = 3SE +/- 11389.91, N = 3SE +/- 30373.02, N = 12SE +/- 26642.77, N = 151886156.661842891.791659380.821592214.371. (CXX) g++ options: -MM -MT -g3 -fvisibility=hidden -O3

Redis

Test: GET

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

Apache HBase

Test: Increment - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgRows Per Second, More Is BetterApache HBase 2.2.3Test: Increment - Clients: 32FSGSBASE PatchedNo FSGSBASE20K40K60K80K100KSE +/- 306.20, N = 3SE +/- 560.37, N = 3SE +/- 489.10, N = 3SE +/- 519.37, N = 39093888836109051109861

Apache HBase

Test: Random Read - Clients: 32

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

Apache HBase

Test: Sequential Read - Clients: 32

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

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 OnlyFSGSBASE PatchedNo FSGSBASE160K320K480K640K800KSE +/- 544.12, N = 3SE +/- 986.91, N = 3SE +/- 2276.58, N = 3SE +/- 3401.55, N = 3459323.90457042.00739765.95737307.361. (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 Write

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

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 WriteFSGSBASE PatchedNo FSGSBASE8K16K24K32K40KSE +/- 170.08, N = 3SE +/- 16.63, N = 3SE +/- 226.84, N = 3SE +/- 526.10, N = 1511127.2610834.6835469.5214020.151. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Apache HBase

Test: Increment - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Increment - Clients: 32FSGSBASE PatchedNo FSGSBASE80160240320400SE +/- 1.67, N = 3SE +/- 2.65, N = 3SE +/- 1.76, N = 3SE +/- 1.73, N = 3348357291289

Apache HBase

Test: Random Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Random Read - Clients: 32FSGSBASE PatchedNo FSGSBASE4080120160200SE +/- 0.67, N = 3SE +/- 1.76, N = 3SE +/- 0.67, N = 3173175136135

Apache HBase

Test: Sequential Read - Clients: 32

i9-10980XETR 3970XOpenBenchmarking.orgMicroseconds - Average Latency, Fewer Is BetterApache HBase 2.2.3Test: Sequential Read - Clients: 32FSGSBASE PatchedNo FSGSBASE50100150200250SE +/- 2.60, N = 3SE +/- 4.10, N = 3235241132133

LevelDB

Benchmark: Hot Read

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

LevelDB

Benchmark: Fill Sync

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

LevelDB

Benchmark: Overwrite

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

LevelDB

Benchmark: Random Read

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

LevelDB

Benchmark: Random Delete

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

LevelDB

Benchmark: Sequential Fill

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

DaCapo Benchmark

Java Test: Tradebeans

i9-10980XETR 3970XOpenBenchmarking.orgmsec, Fewer Is BetterDaCapo Benchmark 9.12-MR1Java Test: TradebeansFSGSBASE PatchedNo FSGSBASE2K4K6K8K10KSE +/- 60.84, N = 4SE +/- 47.92, N = 4SE +/- 26.72, N = 4SE +/- 39.62, N = 48980911945504557

Java Gradle Build

Gradle Build: Reactor

i9-10980XETR 3970XOpenBenchmarking.orgSeconds, Fewer Is BetterJava Gradle BuildGradle Build: ReactorFSGSBASE PatchedNo FSGSBASE60120180240300SE +/- 2.63, N = 9SE +/- 3.31, N = 5SE +/- 5.06, N = 9SE +/- 1.73, N = 3243.86248.30266.82268.58


Phoronix Test Suite v10.8.5