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

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.

stress-ng: Socket Activitystress-ng: Context Switchingstress-ng: System V Message Passingfs-mark: 1000 Files, 1MB Sizefs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizegraphics-magick: Resizingcompilebench: Compilecompilebench: Initial Createredis: LPUSHredis: GETredis: SETapache: Static Web Page Servingpgbench: Buffer Test - Normal Load - Read Writesystemd-boot-total: Totalsystemd-boot-total: Kernelsystemd-boot-total: Userspacego-benchmark: jsongo-benchmark: buildgo-benchmark: garbagesqlite: Default Test Directorybuild-apache: Time To Compilebuild-linux-kernel: Time To Compileencode-flac: WAV To FLACdarktable: Boat - CPU-onlydarktable: Masskrug - CPU-onlydarktable: Server Room - CPU-onlygimp: resizegimp: auto-levelsgimp: unsharp-maskLinux 4.14KPTI + Retpoline ThinkPad T61 ThinkPad W510 ThinkPad X1 ThinkPad T61 ThinkPad W510 ThinkPad X1954.02505190.481429892.9616.5015.307747.3853.45174076.98193811.62165079.927331.48321.9747510676040750746300533219522491215778114447.25101.08751.3521.01238.80233.43221.509.4415.1530.431493.17847639.343988434.8417.2016.789642.0862.17952845.391303046.831009039.1910611.38338.814821056204258047199972283645486038556981488.3563.93413.1912.4659.8132.0927.238.5613.3326.921640.05929902.852221473.9240.9542.17126310.12241.321637504.482443039.001687647.5022448.411605.59323102670213804467876215560772639826407691.5859.08412.037.0844.0928.2922.483.576.8213.50607.44340906.57764023.4616.3715.157647.5549.72108367.62129535.48107773.496254.06319.6155490704048450747538143402434451016135985445.48105.70779.0021.10241.42236.65224.1111.1017.1935.201057.14592191.891525006.6017.2016.789442.2858.06791426.521111278.21857991.648970.47337.264819058004238047264907289759729228578276538.6466.84427.1912.6460.0532.6527.4310.7216.0831.921115.78817200.341731089.1840.5739.73126271.02212.361527545.332165615.081546283.6718798.241581.72343902740233104467957215826064487841472193.8860.13418.307.1144.2328.5422.603.947.3014.65OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Phoronix Test Suite v10.8.4