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

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.

apache: Static Web Page Servingstress-ng: System V Message Passingstress-ng: Context Switchingstress-ng: Socket Activityredis: SETredis: GETredis: LPUSHgimp: unsharp-maskgimp: auto-levelsgimp: resizedarktable: Server Room - CPU-onlydarktable: Masskrug - CPU-onlydarktable: Boat - CPU-onlypgbench: Buffer Test - Normal Load - Read Writesystemd-boot-total: Userspacesystemd-boot-total: Kernelsystemd-boot-total: Totalencode-flac: WAV To FLACbuild-linux-kernel: Time To Compilebuild-apache: Time To Compilegraphics-magick: Resizinggo-benchmark: garbagego-benchmark: buildgo-benchmark: jsoncompilebench: Initial Createcompilebench: Compilefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 1000 Files, 1MB Sizesqlite: Default Test DirectoryLinux 4.14KPTI + Retpoline ThinkPad T61 ThinkPad W510 ThinkPad X1 ThinkPad T61 ThinkPad W510 ThinkPad X17331.481429892.96505190.48954.02165079.92193811.62174076.9830.4315.159.44221.50233.43238.80321.974075067604751021.01751.35101.087715778114321952249127463005353.4547.3815.3016.50447.2510611.383988434.84847639.341493.171009039.191303046.83952845.3926.9213.338.5627.2332.0959.81338.814258056204821012.46413.1963.93968556981283645486034719997262.1742.0816.7817.20488.3522448.412221473.92929902.851640.051687647.502443039.001637504.4813.506.823.5722.4828.2944.091605.59213802670323107.08412.0359.0812682640761556077263944678762241.32310.1242.1740.9591.586254.06764023.46340906.57607.44107773.49129535.48108367.6235.2017.1911.10224.11236.65241.42319.614845070405549021.10779.00105.707616135985340243445107475381449.7247.5515.1516.37445.488970.471525006.60592191.891057.14857991.641111278.21791426.5231.9216.0810.7227.4332.6560.05337.264238058004819012.64427.1966.84948578276289759729224726490758.0642.2816.7817.20538.6418798.241731089.18817200.341115.781546283.672165615.081527545.3314.657.303.9422.6028.5444.231581.72233102740343907.11418.3060.1312684147211582606448744679572212.36271.0239.7340.5793.88OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

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

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 T61ThinkPad W510ThinkPad X1900K1800K2700K3600K4500KSE +/- 5660.01, N = 3SE +/- 356828.38, N = 6SE +/- 210386.86, N = 6SE +/- 53584.21, N = 6SE +/- 238178.32, N = 6SE +/- 127774.51, N = 61429892.963988434.842221473.92764023.461525006.601731089.181. (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 T61ThinkPad W510ThinkPad X1200K400K600K800K1000KSE +/- 556.55, N = 3SE +/- 3687.23, N = 3SE +/- 17185.97, N = 3SE +/- 1908.64, N = 3SE +/- 5230.97, N = 3SE +/- 9440.10, N = 3505190.48847639.34929902.85340906.57592191.89817200.341. (CC) gcc options: -O2 -std=gnu99 -lm -lcrypt -lrt -lpthread -lc

Stress-NG

Test: Socket Activity

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

Redis

Test: SET

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

Redis

Test: GET

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

Redis

Test: LPUSH

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

GIMP

Test: unsharp-mask

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

GIMP

Test: auto-levels

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

GIMP

Test: resize

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

Darktable

Test: Server Room - Acceleration: CPU-only

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

Darktable

Test: Masskrug - Acceleration: CPU-only

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

Darktable

Test: Boat - Acceleration: CPU-only

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

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 T61ThinkPad W510ThinkPad X130060090012001500SE +/- 0.50, N = 3SE +/- 3.79, N = 3SE +/- 29.93, N = 3SE +/- 1.34, N = 3SE +/- 2.79, N = 3SE +/- 23.40, N = 3321.97338.811605.59319.61337.261581.721. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgport

Systemd Total Boot Time

Test: Userspace

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

Systemd Total Boot Time

Test: Kernel

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

Systemd Total Boot Time

Test: Total

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

FLAC Audio Encoding

WAV To FLAC

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

Timed Linux Kernel Compilation

Time To Compile

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

Timed Apache Compilation

Time To Compile

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

GraphicsMagick

Operation: Resizing

Linux 4.14KPTI + RetpolineOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingThinkPad T61ThinkPad W510ThinkPad X1306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3779612676941261. (CC) gcc options: -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread

Go Benchmarks

Test: garbage

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

Go Benchmarks

Test: build

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

Go Benchmarks

Test: json

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

Compile Bench

Test: Initial Create

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

Compile Bench

Test: Compile

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

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 T61ThinkPad W510ThinkPad X11020304050SE +/- 0.56, N = 6SE +/- 0.45, N = 6SE +/- 0.19, N = 3SE +/- 0.55, N = 6SE +/- 0.48, N = 6SE +/- 0.15, N = 315.3016.7842.1715.1516.7839.731. (CC) gcc options: -static

FS-Mark

Test: 1000 Files, 1MB Size

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

SQLite

Test Target: Default Test Directory

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


Phoronix Test Suite v10.8.5