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, 30 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.082021.122022.042022.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 30 September 2022.
defconfig66.6%allmodconfig33.4%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 844 public results since 21 June 2022 with the latest data as of 2 October 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)
91st
10
29 +/- 2
Mid-Tier
75th
> 52
70th
44
61 +/- 8
57th
18
77 +/- 2
Median
50th
94
49th
5
100 +/- 8
46th
4
106 +/- 5
46th
9
107 +/- 6
44th
4
112 +/- 3
44th
3
113 +/- 6
43rd
16
114 +/- 5
38th
4
126 +/- 11
36th
4
134 +/- 7
34th
3
139 +/- 4
34th
13
140 +/- 15
32nd
3
150 +/- 6
29th
7
166 +/- 1
27th
4
175 +/- 1
27th
4
176 +/- 10
Low-Tier
25th
> 180
25th
4
180 +/- 3
24th
13
189 +/- 22
22nd
3
202 +/- 21
22nd
10
202 +/- 1
21st
3
209 +/- 1
21st
3
214 +/- 3
19th
5
227 +/- 2
18th
6
235 +/- 22
17th
8
244 +/- 9
17th
3
251 +/- 27
15th
3
263 +/- 5
11th
4
298 +/- 1
9th
4
322 +/- 7
8th
6
355 +/- 1
6th
7
415 +/- 10
6th
3
416 +/- 8
5th
4
426 +/- 16
3rd
3
673 +/- 54
1st
5
4230 +/- 565
OpenBenchmarking.orgDistribution Of Public Results - Build: defconfig779 Results Range From 19 To 5241 Seconds1912422933443954464975485996410691174127913841489159416991804190920142119222423292434253926442749285429593064316932743379348435893694379939044009411442194324442945344639474448494954505951645269100200300400500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.18 - Build: defconfig) has an average run-time of 9 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-Time1428425670Min: 2 / Avg: 8.63 / Max: 73

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

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

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: defconfig46812162432641282.85.68.411.214

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
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 80-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2, Snapdragon

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 9 3900X 12-Core - Gigabyte B550 VISION D - AMD Starship

Ubuntu 22.04 - 6.0.0-060000rc7-generic - GNOME Shell 42.4

1 System - 1 Benchmark Result

Intel Core i9-9960X - Dell 02M8NY - Intel Sky Lake-E DMI3 Registers

Fedora Linux 36 - 5.19.9-200.fc36.x86_64 - X Server 1.20.14

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X 8-Core - Gigabyte B550M AORUS ELITE - AMD Starship

Pop 22.04 - 5.19.0-76051900-generic - GNOME Shell 42.3.1

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - ASUS ROG STRIX X570-E GAMING WIFI II - AMD Starship

Fedora Linux 36 - 5.19.11-200.fc36.x86_64 - GNOME Shell 42.5

5 Systems - 58 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GNOME Shell 40.9

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

2 Systems - 60 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

1 System - 24 Benchmark Results

2 x Intel Xeon - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-48-generic - 1.2.204

1 System - 2 Benchmark Results

Intel Core i9-12900K - MSI MPG Z690 CARBON WIFI - Intel Alder Lake-S PCH

openSUSE 20220923 - 5.19.10-1-default - GNOME Shell 43.0

1 System - 24 Benchmark Results

2 x Intel Xeon - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-48-generic - 1.2.204

2 Systems - 60 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 228 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

1 System - 2 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE MP32-AR1-00 v01010101 - Ampere Computing LLC Altra PCI Root Complex A

Debian unstable - 5.19.0-2-arm64 - GCC 12.2.0

1 System - 27 Benchmark Results

Intel Core i7-1185G7E - Kontron Asia 3.5-SBC-TGL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-46-generic - GNOME Shell 3.36.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 80 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS PRIME X570-PRO - AMD Starship

Fedora Linux 36 - 5.18.11-200.fc36.x86_64 - GNOME Shell 42.3.1

4 Systems - 171 Benchmark Results

AMD Ryzen 5 5600G - Gigabyte A520M DS3H - AMD Renoir

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

2 Systems - 74 Benchmark Results

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

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

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

6 Systems - 53 Benchmark Results

AMD EPYC 7763 64-Core - AMD DAYTONA_X - AMD Starship

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

3 Systems - 31 Benchmark Results

2 x Intel Xeon L5640 - HP ProLiant BL2x220c G7 - Intel 5500 I

Ubuntu 20.04 - 5.4.0-120-generic - 1.1.182

Find More Test Results