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 21 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 596 public results since 30 August 2021 with the latest data as of 21 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
> 51
69th
3
60 +/- 5
57th
28
77 +/- 2
52nd
27
85 +/- 4
Median
50th
87
44th
23
99 +/- 4
41st
6
105 +/- 2
40th
3
112 +/- 1
36th
5
123 +/- 5
35th
4
126 +/- 11
32nd
4
153 +/- 1
30th
5
167 +/- 21
27th
4
188 +/- 6
Low-Tier
25th
> 203
24th
3
208 +/- 1
20th
11
232 +/- 28
19th
4
244 +/- 16
17th
4
284 +/- 9
17th
4
285 +/- 5
16th
5
292 +/- 15
11th
6
593 +/- 3
4th
33
4949 +/- 291
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile594 Results Range From 17 To 6115 Seconds1713926138350562774987199311151237135914811603172518471969209122132335245725792701282329453067318933113433355536773799392140434165428744094531465347754897501951415263538555075629575158735995611790180270360450

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 11 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: 10.94 / 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.66 / Max: 4

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 9 5900HS - ASUS GA401QM v1.0 - AMD Renoir Root Complex

ArcoLinux rolling - 5.14.12-arch1-g14-1 - KDE Plasma 5.23.1

1 System - 1 Benchmark Result

AMD Ryzen 9 5900HS - ASUS GA401QM v1.0 - AMD Renoir Root Complex

ArcoLinux rolling - 5.14.12-arch1-g14-1 - KDE Plasma 5.23.1

1 System - 1 Benchmark Result

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Arch rolling - 5.14.12-zen1-1-zen - GNOME Shell 40.5

1 System - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - Gigabyte X570 AORUS ELITE - AMD Starship

Arch Linux - 5.14.12-arch1-1 - GNOME Shell 40.5

1 System - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - Gigabyte X570 AORUS ELITE - AMD Starship

Arch Linux - 5.14.13-208-tkg-pds - GNOME Shell 40.5

1 System - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - MSI MAG B550M MORTAR - AMD Starship

Pop 21.04 - 5.13.0-7614-generic - GNOME Shell 3.38.4

1 System - 1 Benchmark Result

Intel Pentium III - IBM 2645ASG - Intel 440BX

Debian 10 - 4.9.0-264-antix.1-486-smp - IceWM

2 Systems - 62 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASRock B450M Pro4 - AMD 17h

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

1 System - 45 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

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

1 System - 23 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASRock B450M Pro4 - AMD 17h

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

2 Systems - 67 Benchmark Results

AMD Ryzen 5 5600G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

1 System - 1 Benchmark Result

AMD Ryzen 5 5600X 6-Core - ASRock X570 Taichi - AMD Starship

Fedora 34 - 5.14.12-200.fc34.x86_64 - Xfce 4.16

1 System - 26 Benchmark Results

AMD Ryzen 3 3200G - ASRock B450M-HDV R4.0 - AMD Raven

Clear Linux OS 35130 - 5.13.13-1070.native - GNOME Shell 41.0

2 Systems - 17 Benchmark Results

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

Ubuntu 21.10 - 5.15.0-rc4-cluster-sched - GNOME Shell 40.5

1 System - 1 Benchmark Result

AMD Ryzen 5 5500U - HP 887A v59.11 - AMD Renoir

Fedora 34 - 5.14.10-200.fc34.x86_64 - KDE Plasma 5.22.5

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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

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

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

3 Systems - 40 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 108 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 59 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

Find More Test Results