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

30 August 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

33 Minutes, 36 Seconds

Test Dependencies

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

Accolades

400k+ Downloads + 20k+ Public Benchmark Results

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.0850K100K150K200K250K
* 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 15 October 2021.

Revision History

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.14

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 557 public results since 30 August 2021 with the latest data as of 16 October 2021.

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
> 55
72nd
3
60 +/- 5
60th
28
77 +/- 2
55th
27
85 +/- 4
Median
50th
92
45th
23
99 +/- 4
43rd
6
105 +/- 2
41st
3
112 +/- 1
37th
5
123 +/- 5
36th
4
126 +/- 11
33rd
4
153 +/- 1
28th
4
188 +/- 6
Low-Tier
25th
> 208
25th
3
208 +/- 1
21st
11
232 +/- 28
21st
4
244 +/- 16
18th
4
284 +/- 9
18th
4
285 +/- 5
17th
5
292 +/- 15
11th
6
593 +/- 3
5th
33
4949 +/- 291
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile552 Results Range From 17 To 6115 Seconds1713926138350562774987199311151237135914811603172518471969209122132335245725792701282329453067318933113433355536773799392140434165428744094531465347754897501951415263538555075629575158735995611780160240320400

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.14 - Time To Compile) has an average run-time of 12 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 BenchmarkTime To CompileRun-Time306090120150Min: 1 / Avg: 11.49 / Max: 170

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.68 / Max: 5

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed Linux Kernel Compilation CPU Core ScalingTime To Compile46812162432641.36462.72924.09385.45846.823

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 8 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRockRack X470D4U - 32GB

Ubuntu 20.04.1 LTS - 5.10.0-0.bpo.8-amd64 - astdrmfb

1 System - 1 Benchmark Result

Intel Core i7-11800H - Razer CH570 v4 - Intel Tiger Lake-H

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

1 System - 1 Benchmark Result

8 Systems - 18 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS XTREME - AMD Starship

Arch rolling - 5.14.2 - 1.2.188

3 Systems - 326 Benchmark Results

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

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

1 System - 8 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRockRack X470D4U - 32GB

Ubuntu 20.04.1 LTS - 5.10.0-0.bpo.8-amd64 - astdrmfb

1 System - 5 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRockRack X470D4U - 32GB

Ubuntu 20.04.1 LTS - 5.10.0-0.bpo.8-amd64 - astdrmfb

1 System - 3 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRockRack X470D4U - 32GB

Ubuntu 20.04.1 LTS - 5.10.0-0.bpo.8-amd64 - astdrmfb

1 System - 2 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRockRack X470D4U - 32GB

Ubuntu 20.04.1 LTS - 5.10.0-0.bpo.8-amd64 - astdrmfb

3 Systems - 28 Benchmark Results

AMD EPYC 74F3 24-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 20.04 - 5.4.0-88-generic - 1.0.2

1 System - 1 Benchmark Result

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

Fedora 34 - 5.14.12-200.fc34.x86_64 - GNOME Shell 40.4

1 System - 1 Benchmark Result

4 Systems - 318 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

1 System - 1 Benchmark Result

Intel Core i7-11800H - Razer CH570 v4 - Intel Tiger Lake-H

Arch rolling - 5.14.11-zen1-1-zen - X Server 1.20.13

1 System - 1 Benchmark Result

Intel Core i7-11800H - Razer CH570 v4 - Intel Tiger Lake-H

Arch rolling - 5.14.11-zen1-1-zen - X Server 1.20.13

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 67 Benchmark Results

Intel Core i5-6600K - MSI Z170A KRAIT GAMING 3X - Intel Xeon E3-1200 v5

Ubuntu 21.04 - 5.11.0-34-generic - GNOME Shell 3.38.4

4 Systems - 15 Benchmark Results

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

Debian 10 - 4.19.0-17-amd64 - X Server 1.20.4

2 Systems - 16 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.04 - 5.11.0-25-generic - 1.0.2

4 Systems - 196 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

6 Systems - 8 Benchmark Results

AMD A8-4500M APU - AMD Pumori - AMD 15h

Linuxmint 20.2 - 5.14.5-051405-generic - Cinnamon 5.0.5

3 Systems - 68 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

4 Systems - 66 Benchmark Results

AMD Ryzen 7 5700G - ASUS TUF GAMING B550M-PLUS - AMD Renoir Root Complex

Ubuntu 21.10 - 5.14.0-rc7-amd-pstate-phx - GNOME Shell 40.2

2 Systems - 59 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

4 Systems - 146 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

3 Systems - 40 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 60 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

Find More Test Results