Timed Linux Kernel Compilation

This test times how long it takes to build the Linux kernel in a default configuration.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark build-linux-kernel.

Project Site

kernel.org

Test Created

6 December 2010

Last Updated

21 June 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

33 Minutes, 31 Seconds

Test Dependencies

C/C++ Compiler Toolchain + BC + Bison + Flex + OpenSSL

Accolades

400k+ Downloads + 20k+ Public Benchmark Results + Recently Updated Test Profile

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed Linux Kernel Compilation Popularity Statisticspts/build-linux-kernel2010.122011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.042021.082021.122022.0450K100K150K200K250K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 24 June 2022.
defconfig65.3%allmodconfig34.7%Build Option PopularityOpenBenchmarking.org

Revision History

pts/build-linux-kernel-1.14.0   [View Source]   Tue, 21 Jun 2022 15:21:48 GMT
Update against Linux 5.18 upstream, pull in via https://github.com/phoronix-test-suite/test-profiles/pull/227 Closes: https://github.com/phoronix-test-suite/test-profiles/pull/227

pts/build-linux-kernel-1.13.0   [View Source]   Mon, 10 Jan 2022 04:59:41 GMT
Update against Linux 5.16 upstream to address build problems on newer distros. Also add allmodconfig run-time option.

pts/build-linux-kernel-1.12.0   [View Source]   Mon, 30 Aug 2021 05:46:09 GMT
Update against Linux 5.14 upstream since prior version used is having build issues on newer distros.

pts/build-linux-kernel-1.11.0   [View Source]   Thu, 04 Mar 2021 07:56:16 GMT
Move to Linux 5.10 LTS series (5.10.20) kernel build.

pts/build-linux-kernel-1.10.2   [View Source]   Tue, 23 Jun 2020 10:33:24 GMT
Add libelf.h as a SystemDependencies, addressing possible build issue outlined in https://github.com/phoronix-test-suite/phoronix-test-suite/pull/430

pts/build-linux-kernel-1.10.1   [View Source]   Sat, 25 Apr 2020 09:12:27 GMT
Update against latest Linux 5.4 LTS point release to fix GCC 10 build problems.

pts/build-linux-kernel-1.10.0   [View Source]   Sun, 13 Oct 2019 20:17:06 GMT
Update against latest Linux 5.4 snapshot

pts/build-linux-kernel-1.9.1   [View Source]   Wed, 22 Aug 2018 18:01:51 GMT
Somehow TimesToRun got overrode to 1 on upload...

pts/build-linux-kernel-1.9.0   [View Source]   Wed, 22 Aug 2018 17:59:26 GMT
Update against upstream Linux 4.18, add bison/flex/openssl external dependencies, tweak the def config to avoid libelf dependency.

pts/build-linux-kernel-1.8.0   [View Source]   Tue, 03 Oct 2017 11:48:02 GMT
Update against Linux 4.13 upstream

pts/build-linux-kernel-1.7.0   [View Source]   Wed, 04 Jan 2017 11:36:44 GMT
Update against upstream Linux 4.9.0 kernel

pts/build-linux-kernel-1.6.0   [View Source]   Tue, 03 Nov 2015 11:36:40 GMT
Update against Linux 4.3.0 kernel.

pts/build-linux-kernel-1.5.3   [View Source]   Fri, 05 Dec 2014 22:03:03 GMT
Add bc as external dependency -- not installed by default on Arch.

pts/build-linux-kernel-1.5.2   [View Source]   Thu, 27 Nov 2014 22:12:29 GMT
Simplify make defconfig to better support other architectures.

pts/build-linux-kernel-1.5.1   [View Source]   Thu, 27 Nov 2014 22:07:50 GMT
Fix rc3/rc6 typo in previous commit pre.sh

pts/build-linux-kernel-1.5.0   [View Source]   Thu, 27 Nov 2014 21:41:45 GMT
Update against Linux 3.18-rc6 kernel due to the explicit GNU89 kernel change recently to allow this to work better on GCC5.

pts/build-linux-kernel-1.4.0   [View Source]   Sun, 09 Nov 2014 17:00:04 GMT
Update against latest upstream Linux kernel.

pts/build-linux-kernel-1.3.0   [View Source]   Wed, 07 Dec 2011 18:10:47 GMT
Update against Linux 3.1 vanilla kernel.

pts/build-linux-kernel-1.2.0   [View Source]   Mon, 06 Dec 2010 14:28:13 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Timed Code Compilation

Multi-Core

CPU Massive

Server CPU Tests

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Timed Linux Kernel Compilation 5.18

Build: defconfig

OpenBenchmarking.org metrics for this test profile configuration based on 185 public results since 21 June 2022 with the latest data as of 30 June 2022.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

OpenBenchmarking.orgDistribution Of Public Results - Build: defconfig185 Results Range From 20 To 3997 Seconds201001802603404205005806607408209009801060114012201300138014601540162017001780186019402020210021802260234024202500258026602740282029002980306031403220330033803460354036203700378038603940402020406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.18 - Build: defconfig) has an average run-time of 10 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkBuild: defconfigRun-Time1326395265Min: 2 / Avg: 9.58 / Max: 66

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBuild: defconfigDeviation246810Min: 0 / Avg: 0.23 / Max: 2

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 22-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 19 Benchmark Results

Intel Core i7-11850H - 32GB - 477GB

Ubuntu 20.04 - 4.4.0-19041-Microsoft - 1.1.182

1 System - 34 Benchmark Results

AMD EPYC 7282 16-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

1 System - 12 Benchmark Results

Intel Core i7-2600 - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 200 Benchmark Results

Intel Xeon E3-1275 v6 - ASUS P10S-M WS - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.9.0-050900rc8daily20201007-generic - X Server 1.20.8

6 Systems - 26 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.17.0-rc7-asahi-next-20220310-5-2-ARCH - KDE Plasma 5.24.4

1 System - 1 Benchmark Result

AMD Ryzen 7 5700U - System76 Pangolin - AMD Renoir

Rocky Linux 8.6 - 4.18.0-372.9.1.el8.x86_64 - GNOME Shell 3.32.2

1 System - 1 Benchmark Result

AMD Ryzen 7 5700U - System76 Pangolin - AMD Renoir

Rocky Linux 8.6 - 5.17.4-018.el8_5_kernel.1.x86_64 - GNOME Shell 3.32.2

1 System - 1 Benchmark Result

AMD Ryzen 7 5700U - System76 Pangolin - AMD Renoir

Rocky Linux 8.6 - 4.18.0-372.9.1.el8.x86_64 - GNOME Shell 3.32.2

4 Systems - 119 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 144 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.11.0-43-generic - GNOME Shell 3.36.4

1 System - 2 Benchmark Results

Intel Core i5-8257U - Apple Mac-E7203C0F68AA0004 - Intel Cannon Point-LP

Ubuntu 20.04 - 5.18.7-t2 - GNOME Shell 41.1

5 Systems - 3 Benchmark Results

Intel Core i7-9850H - Dell 0Y8H01 - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-121-generic - GNOME Shell 3.36.9

1 System - 53 Benchmark Results

AMD EPYC-Rome - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

2 Systems - 144 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-63-generic - GNOME Shell 3.38.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 41 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 11 - 5.10.0-10-amd64 - GNOME Shell 3.38.6

3 Systems - 27 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

2 Systems - 18 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

3 Systems - 20 Benchmark Results

Intel Core i3-12100 - ASRock B660M-HDV - Intel Device 7aa7

Ubuntu 22.04 - 5.18.0-051800-generic - GNOME Shell 42.1

3 Systems - 34 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.9.0-050900rc6-generic - GNOME Shell 3.36.4

3 Systems - 8 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

4 Systems - 119 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

2 Systems - 33 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 11 - 5.10.0-13-amd64 - X Server 1.20.11

2 Systems - 42 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 11 - 5.10.0-10-amd64 - X Server

3 Systems - 144 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.11.0-43-generic - GNOME Shell 3.36.4

2 Systems - 56 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 21.04 - 5.19.0-rc2-amd-patch - GNOME Shell 3.38.4

4 Systems - 10 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

4 Systems - 25 Benchmark Results

AMD EPYC 72F3 8-Core - Supermicro H12SSL-i v1.01 - AMD Starship

Ubuntu 21.04 - 5.17.0-051700rc7daily20220310-generic - GNOME Shell 3.38.4

2 Systems - 27 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc2daily20220617-generic - GNOME Shell 42.1

Find More Test Results