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 1 July 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 221 public results since 21 June 2022 with the latest data as of 2 July 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.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
Mid-Tier
75th
> 57
Median
50th
102
49th
3
104 +/- 2
42nd
3
131 +/- 1
39th
3
137 +/- 5
36th
3
165 +/- 17
34th
4
175 +/- 1
33rd
4
176 +/- 10
28th
9
182 +/- 15
Low-Tier
25th
> 196
24th
3
209 +/- 1
23rd
3
214 +/- 3
19th
3
228 +/- 3
17th
4
231 +/- 9
15th
4
298 +/- 1
13th
3
321 +/- 9
11th
4
344 +/- 6
10th
6
355 +/- 1
6th
7
415 +/- 10
3rd
3
673 +/- 54
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, Apple M1

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 166 Benchmark Results

Intel Core i7-10700T - Logic Supply RXM-181 - Intel Comet Lake PCH

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

2 Systems - 120 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

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

3 Systems - 138 Benchmark Results

AMD Ryzen 7 3700X 8-Core - Gigabyte A320M-S2H-CF - AMD Starship

Ubuntu 20.04 - 5.13.0-39-generic - GNOME Shell 3.36.4

1 System - 1 Benchmark Result

2 x AMD EPYC 7282 16-Core - Supermicro H11DSi v2.00 - 256GB

Ubuntu 20.04.4 LTS - 5.10.0-15-amd64 - GCC 9.4.0

1 System - 1 Benchmark Result

Intel Core i9-12900K - ASUS PRIME Z690-P WIFI D4 - Intel Alder Lake-S PCH

Fedora Linux 36 - 5.18.6-200.fc36.x86_64 - GNOME Shell 42.2

1 System - 74 Benchmark Results

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

Linuxmint 20.3 - 5.4.0-91-generic - Cinnamon 5.2.7

3 Systems - 143 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

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

1 System - 643 Benchmark Results

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

Ubuntu 22.04 - 5.19.0-051900rc4daily20220628-generic - GNOME Shell 42.2

1 System - 1 Benchmark Result

Intel Core i7-12700K - ASUS ROG STRIX B660-I GAMING WIFI - Intel Alder Lake-S PCH

Arch rolling - 5.18.7-arch1-1 - GNOME Shell 42.2

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2620 0 - Dell 0020HJ - Intel Xeon E5

Debian 11 - 5.10.0-15-amd64 - GCC 10.2.1 20210110 + LLVM 11.0.1

1 System - 72 Benchmark Results

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

Linuxmint 20.3 - 5.13.0-25-generic - Cinnamon 5.2.7

1 System - 73 Benchmark Results

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

Linuxmint 20.3 - 5.13.0-25-generic - Cinnamon 5.2.7

1 System - 1 Benchmark Result

AMD Ryzen 7 3700X 8-Core - ASUS ROG STRIX B550-F GAMING - AMD Starship

Fedora 36 - 5.18.8-200.fc36.x86_64 - GNOME Shell 42.2

3 Systems - 45 Benchmark Results

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

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

1 System - 19 Benchmark Results

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

Ubuntu 20.04 - 4.4.0-19041-Microsoft - 1.1.182

Most Popular Test Results

OpenBenchmarking.org Results Compare

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 - 41 Benchmark Results

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

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

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

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

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 - 27 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir

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

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 - 132 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 21.10 - 5.15.5-051505-generic - GNOME Shell 40.5

3 Systems - 114 Benchmark Results

Intel Core i7-1280P - MSI MS-14C6 - Intel Alder Lake PCH

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

3 Systems - 39 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.17.0-rc1-sched-core-phx - GNOME Shell 40.5

4 Systems - 183 Benchmark Results

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

Find More Test Results