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

10 January 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

33 Minutes, 33 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.1250K100K150K200K250K
* 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 January 2022.
allmodconfig39.2%defconfig60.8%Build Option PopularityOpenBenchmarking.org

Revision History

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

Build: defconfig

OpenBenchmarking.org metrics for this test profile configuration based on 380 public results since 10 January 2022 with the latest data as of 28 January 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)
77th
16
50 +/- 1
Mid-Tier
75th
> 51
63rd
6
71 +/- 1
Median
50th
81
40th
6
109 +/- 2
34th
3
139 +/- 9
32nd
9
152 +/- 3
28th
4
161 +/- 3
27th
3
162 +/- 6
27th
5
163 +/- 8
Low-Tier
25th
> 171
24th
3
206 +/- 3
24th
4
206 +/- 1
22nd
3
208 +/- 1
22nd
4
208 +/- 2
20th
4
217 +/- 17
18th
5
221 +/- 3
16th
6
226 +/- 1
15th
3
231 +/- 1
14th
4
236 +/- 1
13th
3
287 +/- 1
12th
6
299 +/- 15
10th
3
320 +/- 4
6th
3
398 +/- 1
6th
6
400 +/- 6
3rd
5
620 +/- 9
OpenBenchmarking.orgDistribution Of Public Results - Build: defconfig364 Results Range From 18 To 1544 Seconds185796135174213252291330369408447486525564603642681720759798837876915954993103210711110114911881227126613051344138314221461150015391578306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.16 - Build: defconfig) has an average run-time of 6 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-Time714212835Min: 1 / Avg: 5.72 / Max: 35

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

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

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 ScalingBuild: defconfig246812161.49172.98344.47515.96687.4585

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

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

Fedora 35 - 5.15.17-200.fc35.x86_64 - GNOME Shell 41.3

1 System - 1 Benchmark Result

Intel Core i7-4770 - Dell 0XCR8D - Intel 4th Gen Core DRAM

Debian 11 - 5.10.0-11-amd64 - LXQt 0.16.0

2 Systems - 526 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 21.10 - 5.16.0-051600rc8daily20220108-generic - GNOME Shell 40.5

2 Systems - 167 Benchmark Results

Intel Celeron G6900 - ASRock B660M-HDV - Intel Device 7aa7

Fedora Linux 35 - 5.15.16-200.fc35.x86_64 - GNOME Shell 41.3

3 Systems - 28 Benchmark Results

Intel Core i9-10850K - NZXT N7 Z490 - Intel Comet Lake PCH

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

1 System - 2 Benchmark Results

2 Systems - 28 Benchmark Results

Intel Core i9-10850K - NZXT N7 Z490 - Intel Comet Lake PCH

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

1 System - 167 Benchmark Results

Intel Celeron G6900 - ASRock B660M-HDV - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-17-generic - GNOME Shell 40.5

1 System - 28 Benchmark Results

Intel Core i9-10850K - NZXT N7 Z490 - Intel Comet Lake PCH

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

13 Systems - 1 Benchmark Result

Intel Core i7-11800H - Microsoft Virtual Machine - 32GB

Ubuntu 22.04 - 5.16.0-zen-pppig-10346-ge8589db0bb99 - GCC 11.2.0 + Clang 13.0.0-9 + LLVM 13.0.0

2 Systems - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - MSI X570-A PRO - AMD Starship

Artix rolling - 5.16.1-artix1-1 - X Server 1.20.13

1 System - 1 Benchmark Result

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

Fedora 35 - 5.16.2-200.fc35.x86_64 - GNOME Shell 41.3

3 Systems - 165 Benchmark Results

AMD Ryzen 5 3600 6-Core - Gigabyte B450 AORUS M - AMD Starship

Fedora Linux 35 - 5.15.16-200.fc35.x86_64 - KDE Plasma 5.23.4

1 System - 2 Benchmark Results

Ampere ARMv8 Neoverse-N1 - FOXCONN Mt. Collins - Ampere Computing LLC Device e100

Ubuntu 20.04 - 5.4.0-96-generic - GCC 10.3.0

Most Popular Test Results

Find More Test Results