Linux Laptops Intel KPTI Linux Benchmarks

Lenovo ThinkPad Linux benchmarks by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/1801112-FO-OLDTHINKP71&sor.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay DriverFile-SystemScreen ResolutionDisplay ServerOpenGLCompilerLinux 4.14KPTI + Retpoline ThinkPad T61 ThinkPad W510 ThinkPad X1 ThinkPad T61 ThinkPad W510 ThinkPad X1Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores)LENOVO 6459CTOIntel Mobile PM965/GM965/GL960 + ICH8M-E4096MB100GB Hitachi HTS72201NVIDIA Quadro NVS 140M 128MBAnalog Devices AD1984Intel 82566MM Gigabit Connection + Intel PRO/WirelessUbuntu 17.104.14.0-041400-generic (x86_64)GNOME Shell 3.26.2nouveau 1.0.15ext41680x1050Intel Core i7 720Q @ 1.60GHz (4 Cores / 8 Threads)LENOVO 4318CTOIntel Core DMI160GB FUJITSU MHZ2160BNVA5 1024MBConexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300GNOME Shell 3.26.1Wayland3.3 Mesa 17.2.2GCC 7.2.01600x900Intel Core i7-5600U @ 3.20GHz (2 Cores / 4 Threads)LENOVO 20BSCTO1WW(BIOS: N14ET25W 1.03)Intel Broadwell-U-OPI8192MB128GB SAMSUNG MZNTE128Intel HD 5500 3072MB (950MHz)Intel Broadwell-U AudioIntel Connection + Intel Wireless 72654.5 Mesa 17.2.21920x1080Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores)LENOVO 6459CTOIntel Mobile PM965/GM965/GL960 + ICH8M-E4096MB100GB Hitachi HTS72201NV86 128MBAnalog Devices AD1984Intel 82566MM Gigabit Connection + Intel PRO/Wireless4.14.0-phx-retpoline-gcc-retpo (x86_64)GNOME Shell 3.26.2modesetting 1.19.53.3 Mesa 17.2.21680x1050Intel Core i7 720Q @ 1.60GHz (4 Cores / 8 Threads)LENOVO 4318CTOIntel Core DMI160GB FUJITSU MHZ2160BNVA5 1024MBConexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300GNOME Shell 3.26.1Wayland1600x900Intel Core i7-5600U @ 3.20GHz (2 Cores / 4 Threads)LENOVO 20BSCTO1WW(BIOS: N14ET25W 1.03)Intel Broadwell-U-OPI8192MB128GB SAMSUNG MZNTE128Intel HD 5500 3072MB (950MHz)Intel Broadwell-U AudioIntel Connection + Intel Wireless 72654.5 Mesa 17.2.21920x1080OpenBenchmarking.orgEnvironment Details- GJS_DEBUG_TOPICS=JS ERROR;JS LOG GJS_DEBUG_OUTPUT=stderrCompiler 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++ --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- CFQ / data=ordered,errors=remount-ro,relatime,rwProcessor Details- Linux 4.14: ThinkPad T61: Scaling Governor: acpi-cpufreq ondemand- Linux 4.14: ThinkPad W510: Scaling Governor: acpi-cpufreq ondemand- Linux 4.14: ThinkPad X1: Scaling Governor: intel_pstate powersave- KPTI + Retpoline: ThinkPad T61: Scaling Governor: acpi-cpufreq ondemand- KPTI + Retpoline: ThinkPad W510: Scaling Governor: acpi-cpufreq ondemand- KPTI + Retpoline: ThinkPad X1: Scaling Governor: intel_pstate powersaveSystem Details- Python 2.7.14.

sqlite: Default Test Directoryfs-mark: 1000 Files, 1MB Sizefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizecompilebench: Compilecompilebench: Initial Creatego-benchmark: jsongo-benchmark: buildgo-benchmark: garbagegraphics-magick: Resizingbuild-apache: Time To Compilebuild-linux-kernel: Time To Compileencode-flac: WAV To FLACsystemd-boot-total: Totalsystemd-boot-total: Kernelsystemd-boot-total: Userspacepgbench: Buffer Test - Normal Load - Read Writedarktable: Boat - CPU-onlydarktable: Masskrug - CPU-onlydarktable: Server Room - CPU-onlygimp: resizegimp: auto-levelsgimp: unsharp-maskredis: LPUSHredis: GETredis: SETstress-ng: Socket Activitystress-ng: Context Switchingstress-ng: System V Message Passingapache: Static Web Page ServingLinux 4.14KPTI + Retpoline ThinkPad T61 ThinkPad W510 ThinkPad X1 ThinkPad T61 ThinkPad W510 ThinkPad X1447.2516.5015.3047.3853.4574630053321952249121577811477101.08751.3521.0147510676040750321.97238.80233.43221.509.4415.1530.43174076.98193811.62165079.92954.02505190.481429892.967331.48488.3517.2016.7842.0862.17471999722836454860385569819663.93413.1912.4648210562042580338.8159.8132.0927.238.5613.3326.92952845.391303046.831009039.191493.17847639.343988434.8410611.3891.5840.9542.17310.12241.324467876215560772639826407612659.08412.037.08323102670213801605.5944.0928.2922.483.576.8213.501637504.482443039.001687647.501640.05929902.852221473.9222448.41445.4816.3715.1547.5549.7274753814340243445101613598576105.70779.0021.1055490704048450319.61241.42236.65224.1111.1017.1935.20108367.62129535.48107773.49607.44340906.57764023.466254.06538.6417.2016.7842.2858.06472649072897597292285782769466.84427.1912.6448190580042380337.2660.0532.6527.4310.7216.0831.92791426.521111278.21857991.641057.14592191.891525006.608970.4793.8840.5739.73271.02212.364467957215826064487841472112660.13418.307.11343902740233101581.7244.2328.5422.603.947.3014.651527545.332165615.081546283.671115.78817200.341731089.1818798.24OpenBenchmarking.org

SQLite

Test Target: Default Test Directory

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectoryThinkPad X1ThinkPad T61ThinkPad W510120240360480600SE +/- 0.19, N = 3SE +/- 10.05, N = 6SE +/- 5.41, N = 3SE +/- 0.25, N = 3SE +/- 4.90, N = 3SE +/- 23.39, N = 691.58447.25488.3593.88445.48538.641. (CC) gcc options: -O2 -ldl -lpthread

FS-Mark

Test: 1000 Files, 1MB Size

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeThinkPad X1ThinkPad W510ThinkPad T61918273645SE +/- 0.80, N = 6SE +/- 0.06, N = 3SE +/- 0.06, N = 3SE +/- 0.37, N = 3SE +/- 0.06, N = 3SE +/- 0.07, N = 340.9517.2016.5040.5717.2016.371. (CC) gcc options: -static

FS-Mark

Test: 4000 Files, 32 Sub Dirs, 1MB Size

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeThinkPad X1ThinkPad W510ThinkPad T611020304050SE +/- 0.19, N = 3SE +/- 0.45, N = 6SE +/- 0.56, N = 6SE +/- 0.15, N = 3SE +/- 0.48, N = 6SE +/- 0.55, N = 642.1716.7815.3039.7316.7815.151. (CC) gcc options: -static

Compile Bench

Test: Compile

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileThinkPad X1ThinkPad T61ThinkPad W51070140210280350SE +/- 2.03, N = 3SE +/- 0.14, N = 3SE +/- 0.36, N = 3SE +/- 3.40, N = 3SE +/- 0.03, N = 3SE +/- 0.42, N = 3310.1247.3842.08271.0247.5542.28

Compile Bench

Test: Initial Create

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateThinkPad X1ThinkPad W510ThinkPad T6150100150200250SE +/- 2.80, N = 3SE +/- 1.28, N = 3SE +/- 2.61, N = 3SE +/- 3.08, N = 3SE +/- 1.45, N = 3SE +/- 0.38, N = 3241.3262.1753.45212.3658.0649.72

Go Benchmarks

Test: json

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgNanoseconds/Operation, Fewer Is BetterGo BenchmarksTest: jsonThinkPad X1ThinkPad W510ThinkPad T6116M32M48M64M80MSE +/- 889415.32, N = 6SE +/- 29311.45, N = 3SE +/- 52325.00, N = 3SE +/- 859805.86, N = 6SE +/- 52843.46, N = 3SE +/- 66185.75, N = 3446787624719997274630053446795724726490774753814

Go Benchmarks

Test: build

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgNanoseconds/Operation, Fewer Is BetterGo BenchmarksTest: buildThinkPad X1ThinkPad W510ThinkPad T617000M14000M21000M28000M35000MSE +/- 103274675.24, N = 3SE +/- 948322922.90, N = 6SE +/- 722804296.76, N = 6SE +/- 105419852.60, N = 3SE +/- 932224364.54, N = 6SE +/- 595279963.75, N = 6155607726392836454860332195224912158260644872897597292234024344510

Go Benchmarks

Test: garbage

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgNanoseconds/Operation, Fewer Is BetterGo BenchmarksTest: garbageThinkPad X1ThinkPad W510ThinkPad T613M6M9M12M15MSE +/- 165785.02, N = 3SE +/- 6215.46, N = 3SE +/- 99652.77, N = 3SE +/- 125976.01, N = 5SE +/- 6113.53, N = 3SE +/- 74849.70, N = 382640768556981157781148414721857827616135985

GraphicsMagick

Operation: Resizing

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingThinkPad X1ThinkPad W510ThinkPad T61306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3126947612696771. (CC) gcc options: -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread

Timed Apache Compilation

Time To Compile

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileThinkPad X1ThinkPad W510ThinkPad T6120406080100SE +/- 0.57, N = 3SE +/- 0.11, N = 3SE +/- 0.11, N = 3SE +/- 0.53, N = 3SE +/- 0.24, N = 3SE +/- 0.10, N = 359.0863.93101.0860.1366.84105.70

Timed Linux Kernel Compilation

Time To Compile

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 4.13Time To CompileThinkPad X1ThinkPad W510ThinkPad T612004006008001000SE +/- 0.68, N = 3SE +/- 1.68, N = 3SE +/- 1.70, N = 3SE +/- 0.70, N = 3SE +/- 1.88, N = 3SE +/- 2.75, N = 3412.03413.19751.35418.30427.19779.00

FLAC Audio Encoding

WAV To FLAC

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLACThinkPad X1ThinkPad W510ThinkPad T61510152025SE +/- 0.00, N = 5SE +/- 0.18, N = 10SE +/- 0.03, N = 5SE +/- 0.01, N = 5SE +/- 0.16, N = 8SE +/- 0.02, N = 57.0812.4621.017.1112.6421.101. (CXX) g++ options: -O2 -fvisibility=hidden -lm

Systemd Total Boot Time

Test: Total

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: TotalThinkPad X1ThinkPad T61ThinkPad W51012K24K36K48K60K323104751048210343904819055490

Systemd Total Boot Time

Test: Kernel

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: KernelThinkPad X1ThinkPad W510ThinkPad T6115003000450060007500267056206760274058007040

Systemd Total Boot Time

Test: Userspace

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: UserspaceThinkPad X1ThinkPad T61ThinkPad W51010K20K30K40K50K213804075042580233104238048450

PostgreSQL pgbench

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

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteThinkPad X1ThinkPad W510ThinkPad T6130060090012001500SE +/- 29.93, N = 3SE +/- 3.79, N = 3SE +/- 0.50, N = 3SE +/- 23.40, N = 3SE +/- 2.79, N = 3SE +/- 1.34, N = 31605.59338.81321.971581.72337.26319.611. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgport

Darktable

Test: Boat - Acceleration: CPU-only

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Boat - Acceleration: CPU-onlyThinkPad X1ThinkPad W510ThinkPad T6150100150200250SE +/- 0.71, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.67, N = 3SE +/- 0.06, N = 3SE +/- 0.12, N = 344.0959.81238.8044.2360.05241.42

Darktable

Test: Masskrug - Acceleration: CPU-only

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Masskrug - Acceleration: CPU-onlyThinkPad X1ThinkPad W510ThinkPad T6150100150200250SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.05, N = 328.2932.09233.4328.5432.65236.65

Darktable

Test: Server Room - Acceleration: CPU-only

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Server Room - Acceleration: CPU-onlyThinkPad X1ThinkPad W510ThinkPad T6150100150200250SE +/- 0.06, N = 3SE +/- 0.01, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 322.4827.23221.5022.6027.43224.11

GIMP

Test: resize

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: resizeThinkPad X1ThinkPad W510ThinkPad T613691215SE +/- 0.05, N = 3SE +/- 0.75, N = 6SE +/- 0.50, N = 6SE +/- 0.06, N = 4SE +/- 0.71, N = 6SE +/- 0.55, N = 63.578.569.443.9410.7211.10

GIMP

Test: auto-levels

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: auto-levelsThinkPad X1ThinkPad W510ThinkPad T6148121620SE +/- 0.01, N = 3SE +/- 0.08, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.08, N = 3SE +/- 0.00, N = 36.8213.3315.157.3016.0817.19

GIMP

Test: unsharp-mask

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: unsharp-maskThinkPad X1ThinkPad W510ThinkPad T61816243240SE +/- 0.04, N = 3SE +/- 0.23, N = 3SE +/- 0.11, N = 3SE +/- 0.07, N = 3SE +/- 0.19, N = 3SE +/- 0.22, N = 313.5026.9230.4314.6531.9235.20

Redis

Test: LPUSH

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: LPUSHThinkPad X1ThinkPad W510ThinkPad T61400K800K1200K1600K2000KSE +/- 25875.27, N = 6SE +/- 8763.33, N = 3SE +/- 7600.22, N = 6SE +/- 6196.92, N = 3SE +/- 5596.45, N = 3SE +/- 3023.97, N = 61637504.48952845.39174076.981527545.33791426.52108367.621. (CC) gcc options: -ggdb -rdynamic -lm -pthread

Redis

Test: GET

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GETThinkPad X1ThinkPad W510ThinkPad T61500K1000K1500K2000K2500KSE +/- 7188.86, N = 3SE +/- 16039.96, N = 3SE +/- 251.24, N = 3SE +/- 34881.65, N = 3SE +/- 9628.81, N = 3SE +/- 11530.17, N = 62443039.001303046.83193811.622165615.081111278.21129535.481. (CC) gcc options: -ggdb -rdynamic -lm -pthread

Redis

Test: SET

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SETThinkPad X1ThinkPad W510ThinkPad T61400K800K1200K1600K2000KSE +/- 17355.61, N = 3SE +/- 15424.80, N = 4SE +/- 1221.87, N = 3SE +/- 22936.53, N = 3SE +/- 13112.96, N = 5SE +/- 771.67, N = 31687647.501009039.19165079.921546283.67857991.64107773.491. (CC) gcc options: -ggdb -rdynamic -lm -pthread

Stress-NG

Test: Socket Activity

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: Socket ActivityThinkPad X1ThinkPad W510ThinkPad T61400800120016002000SE +/- 217.57, N = 6SE +/- 88.78, N = 6SE +/- 79.34, N = 6SE +/- 143.08, N = 6SE +/- 51.76, N = 6SE +/- 120.01, N = 61640.051493.17954.021115.781057.14607.441. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -lc

Stress-NG

Test: Context Switching

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: Context SwitchingThinkPad X1ThinkPad W510ThinkPad T61200K400K600K800K1000KSE +/- 17185.97, N = 3SE +/- 3687.23, N = 3SE +/- 556.55, N = 3SE +/- 9440.10, N = 3SE +/- 5230.97, N = 3SE +/- 1908.64, N = 3929902.85847639.34505190.48817200.34592191.89340906.571. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -lc

Stress-NG

Test: System V Message Passing

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.07.26Test: System V Message PassingThinkPad W510ThinkPad X1ThinkPad T61900K1800K2700K3600K4500KSE +/- 356828.38, N = 6SE +/- 210386.86, N = 6SE +/- 5660.01, N = 3SE +/- 127774.51, N = 6SE +/- 238178.32, N = 6SE +/- 53584.21, N = 63988434.842221473.921429892.961731089.181525006.60764023.461. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -lc

Apache Benchmark

Static Web Page Serving

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingThinkPad X1ThinkPad W510ThinkPad T615K10K15K20K25KSE +/- 323.71, N = 3SE +/- 74.38, N = 3SE +/- 6.30, N = 3SE +/- 174.00, N = 3SE +/- 14.81, N = 3SE +/- 7.42, N = 322448.4110611.387331.4818798.248970.476254.061. (CC) gcc options: -shared -fPIC -O2 -pthread


Phoronix Test Suite v10.8.4