KPTI Kernel Comparison

Tests for a future article on Phoronix.

HTML result view exported from: https://openbenchmarking.org/result/1801049-AL-KPTIKERNE72&grt&sor.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionLinux 4.4.110-rc1Linux 4.9.75-rc1Linux 4.14.12-rc1 KPTI Off KPTI On KPTI Off KPTI On KPTI Off KPTI OnIntel Core i7-4790K @ 4.40GHz (4 Cores / 8 Threads)Gigabyte Z97-HD3PIntel 4th Gen Core DRAM16384MB120GB OCZ TRION100Intel Haswell Desktop 1536MB (1250MHz)Intel Xeon E3-1200 v3/4thAcer B286HKRealtek RTL8111/8168/8411Ubuntu 17.104.4.110-rc1-phx-kpti (x86_64) 20180104GNOME Shell 3.26.1Wayland3.3 Mesa 17.2.2GCC 7.2.0ext41920x10804.9.75-rc1-phx-kpti (x86_64) 201801044.5 Mesa 17.2.24.14.12-rc1-phx-kpti (x86_64) 20180104OpenBenchmarking.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- Scaling Governor: intel_pstate powersave

apache: Static Web Page Servingblender: Barbershop - CPU-Onlydarktable: Boat - CPU-onlydarktable: Masskrug - CPU-onlydarktable: Server Room - CPU-onlyebizzy: gimp: auto-levelsgimp: unsharp-maskpgbench: Buffer Test - Normal Load - Read Writepgbench: Buffer Test - Single Thread - Read Writepgbench: Buffer Test - Heavy Contention - Read Writeredis: GETredis: SETsqlite: Default Test Directorybuild-apache: Time To Compilebuild-linux-kernel: Time To Compilex264: H.264 Video EncodingLinux 4.4.110-rc1Linux 4.9.75-rc1Linux 4.14.12-rc1 KPTI Off KPTI On KPTI Off KPTI On KPTI Off KPTI On49434.202135.7823.7910.889.471816304.879.862055.01625.872222.322341001.751747502.2534.1523.60126.42195.9047057.092134.2323.8510.939.461844044.9710.201948.38629.632286.422300517.751755528.8134.4923.73127.01198.3444140.282137.6923.7610.789.421856845.049.912187.77609.482491.902553176.541962011.9633.7923.39123.70198.4341715.292134.4523.7910.879.461775775.1310.312073.25587.252573.002559257.831894524.9035.3123.85126.37200.2743564.162133.6123.9910.859.461845614.919.892394.13661.632516.293026910.922347933.2133.6624.22124.98204.6141260.622137.3623.9310.899.481866265.0710.502258.62663.512621.133052685.752333107.5834.2524.32127.29204.78OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

Linux 4.4.110-rc1Linux 4.9.75-rc1Linux 4.14.12-rc1OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingKPTI OffKPTI On11K22K33K44K55KSE +/- 315.70, N = 3SE +/- 203.52, N = 3SE +/- 140.80, N = 3SE +/- 105.38, N = 3SE +/- 93.59, N = 3SE +/- 64.13, N = 349434.2047057.0944140.2841715.2943564.1641260.621. (CC) gcc options: -shared -fPIC -O2 -pthread

Blender

Blend File: Barbershop - Compute: CPU-Only

Linux 4.14.12-rc1Linux 4.4.110-rc1Linux 4.9.75-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterBlender 2.79Blend File: Barbershop - Compute: CPU-OnlyKPTI OffKPTI On50010001500200025002133.612137.362134.232135.782134.452137.69

Darktable

Test: Boat - Acceleration: CPU-only

Linux 4.9.75-rc1Linux 4.4.110-rc1Linux 4.14.12-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Boat - Acceleration: CPU-onlyKPTI OffKPTI On612182430SE +/- 0.05, N = 3SE +/- 0.10, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.11, N = 323.7623.7923.7923.8523.9323.99

Darktable

Test: Masskrug - Acceleration: CPU-only

Linux 4.9.75-rc1Linux 4.14.12-rc1Linux 4.4.110-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Masskrug - Acceleration: CPU-onlyKPTI OffKPTI On3691215SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 310.7810.8710.8510.8910.8810.93

Darktable

Test: Server Room - Acceleration: CPU-only

Linux 4.9.75-rc1Linux 4.4.110-rc1Linux 4.14.12-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterDarktable 2.2.5Test: Server Room - Acceleration: CPU-onlyKPTI OffKPTI On3691215SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 39.429.469.469.479.469.48

ebizzy

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgRecords/s, More Is Betterebizzy 0.3KPTI OnKPTI Off40K80K120K160K200KSE +/- 2694.50, N = 6SE +/- 2988.77, N = 3SE +/- 5060.84, N = 6SE +/- 3913.70, N = 6SE +/- 3291.55, N = 3SE +/- 2872.70, N = 61866261845611856841775771844041816301. (CC) gcc options: -pthread -lpthread -O3 -march=native

GIMP

Test: auto-levels

Linux 4.4.110-rc1Linux 4.14.12-rc1Linux 4.9.75-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: auto-levelsKPTI OffKPTI On1.15432.30863.46294.61725.7715SE +/- 0.11, N = 6SE +/- 0.10, N = 3SE +/- 0.09, N = 3SE +/- 0.01, N = 3SE +/- 0.26, N = 6SE +/- 0.17, N = 64.874.974.915.075.045.13

GIMP

Test: unsharp-mask

Linux 4.4.110-rc1Linux 4.14.12-rc1Linux 4.9.75-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterGIMP 2.8.20Test: unsharp-maskKPTI OffKPTI On3691215SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.06, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 39.8610.209.8910.509.9110.31

PostgreSQL pgbench

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

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteKPTI OffKPTI On5001000150020002500SE +/- 111.96, N = 6SE +/- 155.10, N = 6SE +/- 193.72, N = 6SE +/- 120.35, N = 6SE +/- 120.67, N = 6SE +/- 130.97, N = 62394.132258.622187.772073.252055.011948.381. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgcommon -lpgport -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Single Thread - Mode: Read Write

Linux 4.14.12-rc1Linux 4.4.110-rc1Linux 4.9.75-rc1OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.0Scaling: Buffer Test - Test: Single Thread - Mode: Read WriteKPTI OnKPTI Off140280420560700SE +/- 20.47, N = 6SE +/- 23.02, N = 6SE +/- 25.53, N = 6SE +/- 23.87, N = 6SE +/- 14.48, N = 6SE +/- 27.11, N = 6663.51661.63629.63625.87609.48587.251. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgcommon -lpgport -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.0Scaling: Buffer Test - Test: Heavy Contention - Mode: Read WriteKPTI OnKPTI Off6001200180024003000SE +/- 167.10, N = 6SE +/- 95.38, N = 6SE +/- 167.70, N = 6SE +/- 69.12, N = 6SE +/- 115.54, N = 6SE +/- 144.19, N = 62621.132516.292573.002491.902286.422222.321. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -fPIC -lpgcommon -lpgport -lpthread -lrt -lcrypt -ldl -lm

Redis

Test: GET

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GETKPTI OnKPTI Off700K1400K2100K2800K3500KSE +/- 35057.08, N = 3SE +/- 158924.51, N = 6SE +/- 95045.09, N = 6SE +/- 116881.36, N = 6SE +/- 32752.11, N = 3SE +/- 151348.40, N = 63052685.753026910.922559257.832553176.542341001.752300517.751. (CC) gcc options: -ggdb -rdynamic -lm -pthread

Redis

Test: SET

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SETKPTI OffKPTI On500K1000K1500K2000K2500KSE +/- 33207.10, N = 6SE +/- 18540.27, N = 3SE +/- 51100.50, N = 6SE +/- 98085.49, N = 6SE +/- 145001.22, N = 6SE +/- 108574.29, N = 62347933.212333107.581962011.961894524.901755528.811747502.251. (CC) gcc options: -ggdb -rdynamic -lm -pthread

SQLite

Test Target: Default Test Directory

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectoryKPTI OffKPTI On816243240SE +/- 0.48, N = 3SE +/- 0.50, N = 3SE +/- 0.85, N = 6SE +/- 0.69, N = 3SE +/- 0.77, N = 6SE +/- 1.19, N = 633.6634.2533.7935.3134.1534.491. (CC) gcc options: -O2 -ldl -lpthread

Timed Apache Compilation

Time To Compile

Linux 4.9.75-rc1Linux 4.4.110-rc1Linux 4.14.12-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileKPTI OffKPTI On612182430SE +/- 0.07, N = 3SE +/- 0.07, N = 3SE +/- 0.00, N = 3SE +/- 0.08, N = 3SE +/- 0.34, N = 3SE +/- 0.04, N = 323.3923.8523.6023.7324.2224.32

Timed Linux Kernel Compilation

Time To Compile

Linux 4.9.75-rc1Linux 4.14.12-rc1Linux 4.4.110-rc1OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 4.13Time To CompileKPTI OffKPTI On306090120150SE +/- 0.89, N = 3SE +/- 1.32, N = 3SE +/- 0.71, N = 3SE +/- 1.17, N = 3SE +/- 0.98, N = 3SE +/- 0.79, N = 3123.70126.37124.98127.29126.42127.01

x264

H.264 Video Encoding

Linux 4.14.12-rc1Linux 4.9.75-rc1Linux 4.4.110-rc1OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2017-09-08H.264 Video EncodingKPTI OnKPTI Off4080120160200SE +/- 0.92, N = 3SE +/- 0.72, N = 3SE +/- 2.99, N = 4SE +/- 3.31, N = 4SE +/- 3.69, N = 3SE +/- 3.74, N = 3204.78204.61200.27198.43198.34195.901. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize


Phoronix Test Suite v10.8.5