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

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.

darktable: Server Room - CPU-onlydarktable: Masskrug - CPU-onlycompilebench: Compilesqlite: Default Test Directorydarktable: Boat - CPU-onlypgbench: Buffer Test - Normal Load - Read Writecompilebench: Initial Createapache: Static Web Page Servingencode-flac: WAV To FLACstress-ng: Context Switchingsystemd-boot-total: Kernelgimp: unsharp-maskgimp: auto-levelsfs-mark: 1000 Files, 1MB Sizesystemd-boot-total: Userspacego-benchmark: buildredis: GETredis: SETredis: LPUSHgo-benchmark: garbagebuild-linux-kernel: Time To Compilebuild-apache: Time To Compilesystemd-boot-total: Totalgo-benchmark: jsongraphics-magick: Resizingstress-ng: System V Message Passingstress-ng: Socket Activitygimp: resizefs-mark: 4000 Files, 32 Sub Dirs, 1MB SizeLinux 4.14KPTI + Retpoline ThinkPad T61 ThinkPad W510 ThinkPad X1 ThinkPad T61 ThinkPad W510 ThinkPad X1221.50233.4347.38447.25238.80321.9753.457331.4821.01505190.48676030.4315.1516.504075032195224912193811.62165079.92174076.9815778114751.35101.084751074630053771429892.96954.029.4415.3027.2332.0942.08488.3559.81338.8162.1710611.3812.46847639.34562026.9213.3317.2042580283645486031303046.831009039.19952845.398556981413.1963.934821047199972963988434.841493.178.5616.7822.4828.29310.1291.5844.091605.59241.3222448.417.08929902.85267013.506.8240.9521380155607726392443039.001687647.501637504.488264076412.0359.0832310446787621262221473.921640.053.5742.17224.11236.6547.55445.48241.42319.6149.726254.0621.10340906.57704035.2017.1916.374845034024344510129535.48107773.49108367.6216135985779.00105.70554907475381476764023.46607.4411.1015.1527.4332.6542.28538.6460.05337.2658.068970.4712.64592191.89580031.9216.0817.2042380289759729221111278.21857991.64791426.528578276427.1966.844819047264907941525006.601057.1410.7216.7822.6028.54271.0293.8844.231581.72212.3618798.247.11817200.34274014.657.3040.5723310158260644872165615.081546283.671527545.338414721418.3060.1334390446795721261731089.181115.783.9439.73OpenBenchmarking.org

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

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

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

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

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

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

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

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

Systemd Total Boot Time

Test: Kernel

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

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

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

Systemd Total Boot Time

Test: Userspace

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

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

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: 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: 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

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

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

Systemd Total Boot Time

Test: Total

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

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

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

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: 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

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

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


Phoronix Test Suite v10.8.4