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&sro&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

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

Stress-NG

Test: System V Message Passing

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

Stress-NG

Test: Context Switching

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

Stress-NG

Test: Socket Activity

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

Redis

Test: SET

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

Redis

Test: GET

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

Redis

Test: LPUSH

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

GIMP

Test: unsharp-mask

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

GIMP

Test: auto-levels

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

GIMP

Test: resize

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: resizeThinkPad T61ThinkPad W510ThinkPad X13691215SE +/- 0.55, N = 6SE +/- 0.71, N = 6SE +/- 0.06, N = 4SE +/- 0.50, N = 6SE +/- 0.75, N = 6SE +/- 0.05, N = 311.1010.723.949.448.563.57

Darktable

Test: Server Room - Acceleration: CPU-only

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

Darktable

Test: Masskrug - Acceleration: CPU-only

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

Darktable

Test: Boat - Acceleration: CPU-only

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

PostgreSQL pgbench

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

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteThinkPad T61ThinkPad W510ThinkPad X130060090012001500SE +/- 1.34, N = 3SE +/- 2.79, N = 3SE +/- 23.40, N = 3SE +/- 0.50, N = 3SE +/- 3.79, N = 3SE +/- 29.93, N = 3319.61337.261581.72321.97338.811605.591. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgcommon -lpgport -lpthread -lrt -lcrypt -ldl -lm

Systemd Total Boot Time

Test: Userspace

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: UserspaceThinkPad T61ThinkPad W510ThinkPad X110K20K30K40K50K484504238023310407504258021380

Systemd Total Boot Time

Test: Kernel

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: KernelThinkPad T61ThinkPad W510ThinkPad X115003000450060007500704058002740676056202670

Systemd Total Boot Time

Test: Total

KPTI + RetpolineLinux 4.14OpenBenchmarking.orgms, Fewer Is BetterSystemd Total Boot TimeTest: TotalThinkPad T61ThinkPad W510ThinkPad X112K24K36K48K60K554904819034390475104821032310

FLAC Audio Encoding

WAV To FLAC

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

Timed Linux Kernel Compilation

Time To Compile

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

Timed Apache Compilation

Time To Compile

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

GraphicsMagick

Operation: Resizing

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

Go Benchmarks

Test: garbage

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

Go Benchmarks

Test: build

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

Go Benchmarks

Test: json

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

Compile Bench

Test: Initial Create

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

Compile Bench

Test: Compile

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

FS-Mark

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

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

FS-Mark

Test: 1000 Files, 1MB Size

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

SQLite

Test Target: Default Test Directory

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


Phoronix Test Suite v10.8.4