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

13 March 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

6 Minutes, 14 Seconds

Test Dependencies

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

Accolades

500k+ Downloads + 30k+ 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.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.0460K120K180K240K300K
* 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 updated weekly as of 21 April 2024.
allmodconfig33.3%defconfig66.7%Build Option PopularityOpenBenchmarking.org

Revision History

pts/build-linux-kernel-1.16.0   [View Source]   Wed, 13 Mar 2024 11:01:20 GMT
Update against Linux 6.8 upstream.

pts/build-linux-kernel-1.15.0   [View Source]   Mon, 12 Dec 2022 11:27:44 GMT
Update against v6.1 upstream. Also add cpio as possible system dependency - Fixes: https://github.com/phoronix-test-suite/test-profiles/issues/263

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

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 1,567 public results since 4 March 2021 with the latest data as of 8 December 2023.

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)
91st
21
27 +/- 1
88th
12
29 +/- 3
82nd
29
33 +/- 3
Mid-Tier
75th
> 46
66th
12
53 +/- 2
52nd
26
77 +/- 3
Median
50th
82
48th
10
85 +/- 6
43rd
3
95 +/- 3
42nd
13
100 +/- 11
42nd
4
100 +/- 1
38th
7
112 +/- 6
38th
8
112 +/- 5
38th
11
112 +/- 6
37th
24
117 +/- 10
35th
4
123 +/- 9
35th
10
124 +/- 15
34th
3
125 +/- 13
31st
3
140 +/- 12
31st
6
141 +/- 10
30th
10
147 +/- 5
28th
17
152 +/- 1
28th
4
152 +/- 13
26th
4
173 +/- 1
26th
3
175 +/- 2
Low-Tier
25th
> 177
25th
4
179 +/- 5
25th
4
189 +/- 9
25th
3
191 +/- 1
25th
3
191 +/- 3
23rd
4
201 +/- 1
22nd
7
204 +/- 22
22nd
3
212 +/- 3
21st
3
217 +/- 4
21st
6
225 +/- 32
19th
7
249 +/- 4
18th
9
255 +/- 17
16th
4
281 +/- 16
15th
3
283 +/- 1
15th
4
287 +/- 15
15th
4
288 +/- 16
13th
6
304 +/- 11
13th
3
313 +/- 4
12th
5
321 +/- 19
12th
6
327 +/- 34
9th
3
420 +/- 2
9th
7
475 +/- 40
8th
3
598 +/- 3
7th
3
625 +/- 5
6th
3
706 +/- 5
5th
3
895 +/- 27
1st
13
5340 +/- 351
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile1567 Results Range From 17 To 8038 Seconds171783395006618229831144130514661627178819492110227124322593275429153076323733983559372038814042420343644525468648475008516953305491565258135974613562966457661867796940710172627423758477457906806730060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.10.20 - 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-Time20406080100Min: 1 / Avg: 10.23 / Max: 121

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation3691215Min: 0 / Avg: 1.09 / Max: 9

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 Compile246812162432486412848121620

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)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A7 8-Core, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 80-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD EPYC 7713 64-Core - Red Hat KVM - 4 x 16384 MB RAM

CentOS Linux 7 - 3.10.0-1160.90.1.el7.x86_64 - GCC 8.3.1 20190311

Find More Test Results