MDS Mitigation Impact Four Systems

MDS / Zombie Load mitigation impact tests by Michael Larabel on a future article.

HTML result view exported from: https://openbenchmarking.org/result/1905208-HV-INTELMDS451&grs&sro.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionE3-1275 v62 x Xeon 6138 MDS Mitigated MDS Vulnerable MDS Mitigated MDS VulnerableIntel Xeon E3-1275 v6 @ 4.20GHz (4 Cores / 8 Threads)ASUS P10S-M WS (4401 BIOS)Intel Xeon E3-1200 v6/7th16384MBSamsung SSD 970 EVO Plus 500GBIntel HD P630 3GB (1150MHz)Realtek ALC1150LG Ultra HD2 x Intel I210Ubuntu 19.045.0.0-15-generic (x86_64)GNOME Shell 3.32.0X Server 1.20.4modesetting 1.20.44.5 Mesa 19.0.2GCC 8.3.0ext43840x21602 x Intel Xeon Gold 6138 @ 3.70GHz (40 Cores / 80 Threads)TYAN S7106 (V1.02.B20 BIOS)Intel Sky Lake-E DMI3 Registers96256MBSamsung SSD 970 EVO 250GBllvmpipe 93GBVE2282 x Intel I210 + 2 x QLogic cLOM8214 1/10GbE + Mellanox MT264483.3 Mesa 19.0.2 (LLVM 8.0 256 bits)1920x1080OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-bootstrap --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 Disk Details- NONE / errors=remount-ro,relatime,rwProcessor Details- Scaling Governor: intel_pstate powersaveJava Details- OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu219.04.1)Python Details- Python 2.7.16 + Python 3.7.3Security Details- E3-1275 v6: MDS Mitigated: KPTI + 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 __user pointer sanitization + spectre_v2: Mitigation of Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling - E3-1275 v6: MDS Vulnerable: KPTI + l1tf: Mitigation of PTE Inversion; VMX: conditional cache flushes SMT vulnerable + mds: Vulnerable; SMT vulnerable + meltdown: Mitigation of PTI + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Mitigation of Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling - 2 x Xeon 6138: MDS Mitigated: KPTI + 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 __user pointer sanitization + spectre_v2: Mitigation of Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling - 2 x Xeon 6138: MDS Vulnerable: KPTI + l1tf: Mitigation of PTE Inversion; VMX: conditional cache flushes SMT vulnerable + mds: Vulnerable; SMT vulnerable + meltdown: Mitigation of PTI + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Mitigation of Full generic retpoline IBPB: conditional IBRS_FW STIBP: conditional RSB filling

openssl: RSA 4096-bit Performancepgbench: Buffer Test - Normal Load - Read Onlybuild-llvm: Time To Compilehackbench: 32 - Processbuild-linux-kernel: Time To Compilectx-clock: Context Switch Timeethr: TCP - Latency - 1ethr: TCP - Latency - 32osbench: Create Threadsgimp: unsharp-maskgimp: auto-levelssockperf: Latency Ping Pongmcperf: Setsockperf: Throughputt-test1: 2mcperf: Getgimp: resizegimp: rotateosbench: Memory Allocationspostmark: Disk Transaction Performancebork: File Encryption Timeosbench: Create Filesosbench: Launch Programsglibc-bench: pthread_onceglibc-bench: ffsllglibc-bench: ffscompilebench: Initial Createstress-ng: System V Message Passingstress-ng: Context Switchingstress-ng: Socket Activitystress-ng: Semaphoresredis: SETpgbench: Buffer Test - Normal Load - Read Writesockperf: Latency Under LoadE3-1275 v62 x Xeon 6138 MDS Mitigated MDS Vulnerable MDS Mitigated MDS Vulnerable1220113823748201131105010.1410.1611.1217.0915.323.08762895464986.521287369.0113.6372.3862506.6113.6048.871.831.831.8353345653281706466382449827722092703449317.9212211201627491631295889.169.1710.5916.6714.942.93788675966266.121423218.8613.4470.2966976.3812.9445.541.711.711.7156572296892009442486756572692158523467015.55784554337515551.9831.7458621.0420.6422.4431.7426.594.66518163855309.269442713.2419.5498.3349018.0516.2456.072.062.062.0550353630472285424118559177924116484941346435.35780357013315446.3431.0434219.8519.9421.6130.8426.194.32509304161639.209944713.0919.3095.8151738.0015.6854.931.941.941.935345732416278449602095818749971654975844036.15OpenBenchmarking.org

OpenSSL

RSA 4096-bit Performance

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.1.1RSA 4096-bit PerformanceMDS MitigatedMDS Vulnerable2K4K6K8K10KSE +/- 21.29, N = 3SE +/- 62.86, N = 3SE +/- 1.55, N = 3SE +/- 2.29, N = 378457803122012211. (CC) gcc options: -pthread -m64 -O3 -lssl -lcrypto -ldl

PostgreSQL pgbench

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

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Buffer Test - Test: Normal Load - Mode: Read OnlyMDS MitigatedMDS Vulnerable120K240K360K480K600KSE +/- 2892.47, N = 3SE +/- 3299.92, N = 3SE +/- 254.97, N = 3SE +/- 209.97, N = 35433755701331138231201621. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Timed LLVM Compilation

Time To Compile

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterTimed LLVM Compilation 6.0.1Time To CompileMDS MitigatedMDS Vulnerable160320480640800155154748749

Hackbench

Count: 32 - Type: Process

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterHackbenchCount: 32 - Type: ProcessMDS MitigatedMDS Vulnerable4080120160200SE +/- 0.72, N = 15SE +/- 0.80, N = 12SE +/- 1.86, N = 3SE +/- 0.90, N = 351.9846.34201.00163.001. (CC) gcc options: -lpthread

Timed Linux Kernel Compilation

Time To Compile

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 4.18Time To CompileMDS MitigatedMDS Vulnerable306090120150SE +/- 0.27, N = 15SE +/- 0.33, N = 15SE +/- 0.82, N = 3SE +/- 0.62, N = 331.7431.04131.00129.00

ctx_clock

Context Switch Time

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgClocks, Fewer Is Betterctx_clockContext Switch TimeMDS MitigatedMDS Vulnerable2004006008001000SE +/- 5.03, N = 35863421050588

Ethr

Server Address: localhost - Protocol: TCP - Test: Latency - Threads: 1

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgMicroseconds, Fewer Is BetterEthr 2019-01-02Server Address: localhost - Protocol: TCP - Test: Latency - Threads: 1MDS MitigatedMDS Vulnerable510152025SE +/- 0.22, N = 15SE +/- 0.27, N = 4SE +/- 0.03, N = 3SE +/- 0.01, N = 321.0419.8510.149.16

Ethr

Server Address: localhost - Protocol: TCP - Test: Latency - Threads: 32

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgMicroseconds, Fewer Is BetterEthr 2019-01-02Server Address: localhost - Protocol: TCP - Test: Latency - Threads: 32MDS MitigatedMDS Vulnerable510152025SE +/- 0.21, N = 3SE +/- 0.17, N = 3SE +/- 0.04, N = 3SE +/- 0.03, N = 320.6419.9410.169.17

OSBench

Test: Create Threads

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgus Per Event, Fewer Is BetterOSBenchTest: Create ThreadsMDS MitigatedMDS Vulnerable510152025SE +/- 0.19, N = 3SE +/- 0.19, N = 3SE +/- 0.12, N = 7SE +/- 0.11, N = 1522.4421.6111.1210.591. (CC) gcc options: -lm

GIMP

Test: unsharp-mask

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.10.8Test: unsharp-maskMDS MitigatedMDS Vulnerable714212835SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 331.7430.8417.0916.67

GIMP

Test: auto-levels

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.10.8Test: auto-levelsMDS MitigatedMDS Vulnerable612182430SE +/- 0.02, N = 3SE +/- 0.05, N = 3SE +/- 0.09, N = 3SE +/- 0.02, N = 326.5926.1915.3214.94

Sockperf

Test: Latency Ping Pong

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgusec, Fewer Is BetterSockperf 3.4Test: Latency Ping PongMDS MitigatedMDS Vulnerable1.04852.0973.14554.1945.2425SE +/- 0.03, N = 25SE +/- 0.03, N = 5SE +/- 0.02, N = 5SE +/- 0.02, N = 54.664.323.082.931. (CXX) g++ options: --param -O3 -rdynamic -ldl -lpthread

Memcached mcperf

Method: Set

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.5.10Method: SetMDS MitigatedMDS Vulnerable20K40K60K80K100KSE +/- 316.41, N = 3SE +/- 658.78, N = 3SE +/- 403.15, N = 3SE +/- 557.15, N = 3518165093076289788671. (CC) gcc options: -O2 -lm -rdynamic

Sockperf

Test: Throughput

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgMessages Per Second, More Is BetterSockperf 3.4Test: ThroughputMDS MitigatedMDS Vulnerable130K260K390K520K650KSE +/- 3753.87, N = 5SE +/- 1726.80, N = 5SE +/- 6082.67, N = 5SE +/- 5413.08, N = 253855304161635464985966261. (CXX) g++ options: --param -O3 -rdynamic -ldl -lpthread

t-test1

Threads: 2

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is Bettert-test1 2017-01-13Threads: 2MDS MitigatedMDS Vulnerable3691215SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 39.269.206.526.121. (CC) gcc options: -pthread

Memcached mcperf

Method: Get

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgOperations Per Second, More Is BetterMemcached mcperf 1.5.10Method: GetMDS MitigatedMDS Vulnerable30K60K90K120K150KSE +/- 209.51, N = 3SE +/- 507.49, N = 3SE +/- 336.19, N = 3SE +/- 1267.41, N = 394427994471287361423211. (CC) gcc options: -O2 -lm -rdynamic

GIMP

Test: resize

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.10.8Test: resizeMDS MitigatedMDS Vulnerable3691215SE +/- 0.02, N = 3SE +/- 0.10, N = 3SE +/- 0.10, N = 3SE +/- 0.04, N = 313.2413.099.018.86

GIMP

Test: rotate

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.10.8Test: rotateMDS MitigatedMDS Vulnerable510152025SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 319.5419.3013.6313.44

OSBench

Test: Memory Allocations

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgNs Per Event, Fewer Is BetterOSBenchTest: Memory AllocationsMDS MitigatedMDS Vulnerable20406080100SE +/- 0.05, N = 3SE +/- 0.22, N = 3SE +/- 0.14, N = 3SE +/- 0.06, N = 398.3395.8172.3870.291. (CC) gcc options: -lm

PostMark

Disk Transaction Performance

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceMDS MitigatedMDS Vulnerable14002800420056007000SE +/- 35.33, N = 3SE +/- 59.33, N = 349015173625066971. (CC) gcc options: -O3

Bork File Encrypter

File Encryption Time

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgSeconds, Fewer Is BetterBork File Encrypter 1.4File Encryption TimeMDS MitigatedMDS Vulnerable246810SE +/- 0.11, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 38.058.006.616.38

OSBench

Test: Create Files

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgus Per Event, Fewer Is BetterOSBenchTest: Create FilesMDS MitigatedMDS Vulnerable48121620SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 3SE +/- 0.03, N = 316.2415.6813.6012.941. (CC) gcc options: -lm

OSBench

Test: Launch Programs

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgus Per Event, Fewer Is BetterOSBenchTest: Launch ProgramsMDS MitigatedMDS Vulnerable1326395265SE +/- 0.50, N = 3SE +/- 0.14, N = 3SE +/- 0.19, N = 3SE +/- 0.15, N = 356.0754.9348.8745.541. (CC) gcc options: -lm

glibc bench

Benchmark: pthread_once

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgnanoseconds, Fewer Is Betterglibc bench 1.0Benchmark: pthread_onceMDS MitigatedMDS Vulnerable0.46350.9271.39051.8542.3175SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.061.941.831.71

glibc bench

Benchmark: ffsll

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgnanoseconds, Fewer Is Betterglibc bench 1.0Benchmark: ffsllMDS MitigatedMDS Vulnerable0.46350.9271.39051.8542.3175SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.061.941.831.71

glibc bench

Benchmark: ffs

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgnanoseconds, Fewer Is Betterglibc bench 1.0Benchmark: ffsMDS MitigatedMDS Vulnerable0.46130.92261.38391.84522.3065SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.051.931.831.71

Compile Bench

Test: Initial Create

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateMDS MitigatedMDS Vulnerable120240360480600SE +/- 2.22, N = 3SE +/- 5.06, N = 3SE +/- 3.42, N = 3SE +/- 9.09, N = 3503534533565

Stress-NG

Test: System V Message Passing

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: System V Message PassingMDS MitigatedMDS Vulnerable1.5M3M4.5M6M7.5MSE +/- 51841.16, N = 15SE +/- 78632.05, N = 3SE +/- 206175.33, N = 12SE +/- 97616.61, N = 353630475732416456532872296891. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -laio -lc

Stress-NG

Test: Context Switching

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: Context SwitchingMDS MitigatedMDS Vulnerable6M12M18M24M30MSE +/- 137846.16, N = 3SE +/- 900326.49, N = 15SE +/- 5690.93, N = 3SE +/- 19889.50, N = 32285424127844960170646620094421. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -laio -lc

Stress-NG

Test: Socket Activity

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: Socket ActivityMDS MitigatedMDS Vulnerable4K8K12K16K20KSE +/- 288.42, N = 3SE +/- 193.14, N = 12SE +/- 48.24, N = 3SE +/- 95.69, N = 151855920958382448671. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -laio -lc

Stress-NG

Test: Semaphores

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: SemaphoresMDS MitigatedMDS Vulnerable1.2M2.4M3.6M4.8M6MSE +/- 27975.58, N = 15SE +/- 22447.85, N = 15SE +/- 22369.03, N = 3SE +/- 27858.47, N = 317792411874997498277256572691. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -laio -lc

Redis

Test: SET

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: SETMDS MitigatedMDS Vulnerable500K1000K1500K2000K2500KSE +/- 24791.61, N = 15SE +/- 28419.85, N = 15SE +/- 23688.81, N = 6SE +/- 16368.00, N = 316484941654975209270321585231. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread

PostgreSQL pgbench

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

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteMDS MitigatedMDS Vulnerable3K6K9K12K15KSE +/- 24.44, N = 3SE +/- 811.59, N = 12SE +/- 60.22, N = 5SE +/- 18.33, N = 3134648440449346701. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Sockperf

Test: Latency Under Load

2 x Xeon 6138E3-1275 v6OpenBenchmarking.orgusec, Fewer Is BetterSockperf 3.4Test: Latency Under LoadMDS MitigatedMDS Vulnerable816243240SE +/- 0.82, N = 20SE +/- 1.35, N = 21SE +/- 1.54, N = 20SE +/- 1.32, N = 2035.3536.1517.9215.551. (CXX) g++ options: --param -O3 -rdynamic -ldl -lpthread


Phoronix Test Suite v10.8.5