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&rdt.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionDisplay DriverLinux 4.14KPTI + RetpolineLinux 4.14KPTI + RetpolineLinux 4.14KPTI + Retpoline ThinkPad W510 ThinkPad W510 ThinkPad T61 ThinkPad T61 ThinkPad X1 ThinkPad X1Intel Core i7 720Q @ 1.60GHz (4 Cores / 8 Threads)LENOVO 4318CTOIntel Core DMI4096MB160GB FUJITSU MHZ2160BNVA5 1024MBConexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 17.104.14.0-041400-generic (x86_64)GNOME Shell 3.26.1Wayland3.3 Mesa 17.2.2GCC 7.2.0ext41600x9004.14.0-phx-retpoline-gcc-retpo (x86_64)Intel Core 2 Duo T9300 @ 2.50GHz (2 Cores)LENOVO 6459CTOIntel Mobile PM965/GM965/GL960 + ICH8M-E100GB Hitachi HTS72201NVIDIA Quadro NVS 140M 128MBAnalog Devices AD1984Intel 82566MM Gigabit Connection + Intel PRO/Wireless4.14.0-041400-generic (x86_64)GNOME Shell 3.26.2nouveau 1.0.151680x1050NV86 128MB4.14.0-phx-retpoline-gcc-retpo (x86_64)modesetting 1.19.53.3 Mesa 17.2.2GCC 7.2.0Intel 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.14.0-041400-generic (x86_64)GNOME Shell 3.26.1Wayland4.5 Mesa 17.2.21920x10804.14.0-phx-retpoline-gcc-retpo (x86_64)OpenBenchmarking.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 W510: Scaling Governor: acpi-cpufreq ondemand- KPTI + Retpoline: ThinkPad W510: Scaling Governor: acpi-cpufreq ondemand- Linux 4.14: ThinkPad T61: Scaling Governor: acpi-cpufreq ondemand- KPTI + Retpoline: ThinkPad T61: Scaling Governor: acpi-cpufreq ondemand- Linux 4.14: ThinkPad X1: Scaling Governor: intel_pstate powersave- 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 + RetpolineLinux 4.14KPTI + RetpolineLinux 4.14KPTI + Retpoline ThinkPad W510 ThinkPad W510 ThinkPad T61 ThinkPad T61 ThinkPad X1 ThinkPad X1488.3517.2016.7842.0862.17471999722836454860385569819663.93413.1912.4648210562042580338.8159.8132.0927.238.5613.3326.92952845.391303046.831009039.191493.17847639.343988434.8410611.38538.6417.2016.7842.2858.06472649072897597292285782769466.84427.1912.6448190580042380337.2660.0532.6527.4310.7216.0831.92791426.521111278.21857991.641057.14592191.891525006.608970.47447.2516.5015.3047.3853.4574630053321952249121577811477101.08751.3521.0147510676040750321.97238.80233.43221.509.4415.1530.43174076.98193811.62165079.92954.02505190.481429892.967331.48445.4816.3715.1547.5549.7274753814340243445101613598576105.70779.0021.1055490704048450319.61241.42236.65224.1111.1017.1935.20108367.62129535.48107773.49607.44340906.57764023.466254.0691.5840.9542.17310.12241.324467876215560772639826407612659.08412.037.08323102670213801605.5944.0928.2922.483.576.8213.501637504.482443039.001687647.501640.05929902.852221473.9222448.4193.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 W510ThinkPad T61ThinkPad X1120240360480600SE +/- 5.41, N = 3SE +/- 10.05, N = 6SE +/- 0.19, N = 3SE +/- 23.39, N = 6SE +/- 4.90, N = 3SE +/- 0.25, N = 3488.35447.2591.58538.64445.4893.881. (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 W510ThinkPad T61ThinkPad X1918273645SE +/- 0.06, N = 3SE +/- 0.06, N = 3SE +/- 0.80, N = 6SE +/- 0.06, N = 3SE +/- 0.07, N = 3SE +/- 0.37, N = 317.2016.5040.9517.2016.3740.571. (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 W510ThinkPad T61ThinkPad X11020304050SE +/- 0.45, N = 6SE +/- 0.56, N = 6SE +/- 0.19, N = 3SE +/- 0.48, N = 6SE +/- 0.55, N = 6SE +/- 0.15, N = 316.7815.3042.1716.7815.1539.731. (CC) gcc options: -static

Compile Bench

Test: Compile

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

Compile Bench

Test: Initial Create

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

Go Benchmarks

Test: json

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

Go Benchmarks

Test: build

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

Go Benchmarks

Test: garbage

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

GraphicsMagick

Operation: Resizing

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingThinkPad W510ThinkPad T61ThinkPad X1306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3967712694761261. (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 W510ThinkPad T61ThinkPad X120406080100SE +/- 0.11, N = 3SE +/- 0.11, N = 3SE +/- 0.57, N = 3SE +/- 0.24, N = 3SE +/- 0.10, N = 3SE +/- 0.53, N = 363.93101.0859.0866.84105.7060.13

Timed Linux Kernel Compilation

Time To Compile

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

FLAC Audio Encoding

WAV To FLAC

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLACThinkPad W510ThinkPad T61ThinkPad X1510152025SE +/- 0.18, N = 10SE +/- 0.03, N = 5SE +/- 0.00, N = 5SE +/- 0.16, N = 8SE +/- 0.02, N = 5SE +/- 0.01, N = 512.4621.017.0812.6421.107.111. (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 W510ThinkPad T61ThinkPad X112K24K36K48K60K482104751032310481905549034390

Systemd Total Boot Time

Test: Kernel

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

Systemd Total Boot Time

Test: Userspace

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

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 W510ThinkPad T61ThinkPad X130060090012001500SE +/- 3.79, N = 3SE +/- 0.50, N = 3SE +/- 29.93, N = 3SE +/- 2.79, N = 3SE +/- 1.34, N = 3SE +/- 23.40, N = 3338.81321.971605.59337.26319.611581.721. (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 W510ThinkPad T61ThinkPad X150100150200250SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.71, N = 3SE +/- 0.06, N = 3SE +/- 0.12, N = 3SE +/- 0.67, N = 359.81238.8044.0960.05241.4244.23

Darktable

Test: Masskrug - Acceleration: CPU-only

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

Darktable

Test: Server Room - Acceleration: CPU-only

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

GIMP

Test: resize

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

GIMP

Test: auto-levels

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

GIMP

Test: unsharp-mask

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

Redis

Test: LPUSH

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

Redis

Test: GET

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

Redis

Test: SET

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SETThinkPad W510ThinkPad T61ThinkPad X1400K800K1200K1600K2000KSE +/- 15424.80, N = 4SE +/- 1221.87, N = 3SE +/- 17355.61, N = 3SE +/- 13112.96, N = 5SE +/- 771.67, N = 3SE +/- 22936.53, N = 31009039.19165079.921687647.50857991.64107773.491546283.671. (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 W510ThinkPad T61ThinkPad X1400800120016002000SE +/- 88.78, N = 6SE +/- 79.34, N = 6SE +/- 217.57, N = 6SE +/- 51.76, N = 6SE +/- 120.01, N = 6SE +/- 143.08, N = 61493.17954.021640.051057.14607.441115.781. (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 W510ThinkPad T61ThinkPad X1200K400K600K800K1000KSE +/- 3687.23, N = 3SE +/- 556.55, N = 3SE +/- 17185.97, N = 3SE +/- 5230.97, N = 3SE +/- 1908.64, N = 3SE +/- 9440.10, N = 3847639.34505190.48929902.85592191.89340906.57817200.341. (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 T61ThinkPad X1900K1800K2700K3600K4500KSE +/- 356828.38, N = 6SE +/- 5660.01, N = 3SE +/- 210386.86, N = 6SE +/- 238178.32, N = 6SE +/- 53584.21, N = 6SE +/- 127774.51, N = 63988434.841429892.962221473.921525006.60764023.461731089.181. (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 W510ThinkPad T61ThinkPad X15K10K15K20K25KSE +/- 74.38, N = 3SE +/- 6.30, N = 3SE +/- 323.71, N = 3SE +/- 14.81, N = 3SE +/- 7.42, N = 3SE +/- 174.00, N = 310611.387331.4822448.418970.476254.0618798.241. (CC) gcc options: -shared -fPIC -O2 -pthread


Phoronix Test Suite v10.8.4