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

12 December 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

5 Minutes, 10 Seconds

Test Dependencies

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

Accolades

400k+ Downloads + 30k+ Public Benchmark Results

Supported Platforms


allmodconfig26.7%defconfig73.3%Build Option PopularityOpenBenchmarking.org

Revision History

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 6.1

Build: defconfig

OpenBenchmarking.org metrics for this test profile configuration based on 1,746 public results since 12 December 2022 with the latest data as of 19 July 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)
78th
31
48 +/- 4
Mid-Tier
75th
> 51
67th
6
60 +/- 2
60th
19
71 +/- 5
Median
50th
93
50th
5
94 +/- 13
47th
3
102 +/- 3
47th
4
104 +/- 5
44th
3
112 +/- 4
44th
3
112 +/- 11
43rd
4
115 +/- 1
42nd
10
120 +/- 2
40th
5
127 +/- 12
39th
5
131 +/- 5
38th
12
135 +/- 16
37th
3
137 +/- 16
36th
16
140 +/- 14
35th
24
144 +/- 16
35th
3
144 +/- 1
33rd
3
157 +/- 23
32nd
9
161 +/- 17
30th
4
172 +/- 1
30th
3
174 +/- 5
27th
4
187 +/- 1
27th
7
191 +/- 21
26th
3
203 +/- 2
Low-Tier
25th
> 211
24th
3
227 +/- 9
24th
4
228 +/- 10
20th
49
253 +/- 11
19th
4
258 +/- 4
19th
4
261 +/- 11
19th
6
261 +/- 34
18th
4
272 +/- 12
17th
6
299 +/- 29
16th
3
310 +/- 26
16th
3
312 +/- 20
16th
3
314 +/- 44
15th
7
341 +/- 30
14th
4
367 +/- 35
13th
4
376 +/- 2
13th
4
381 +/- 16
12th
4
401 +/- 49
11th
3
447 +/- 60
9th
5
518 +/- 30
8th
5
548 +/- 12
7th
3
612 +/- 16
6th
4
702 +/- 1
5th
3
871 +/- 95
5th
3
964 +/- 88
OpenBenchmarking.orgDistribution Of Public Results - Build: defconfig1700 Results Range From 17 To 13054 Seconds172785398001061132215831844210523662627288831493410367139324193445447154976523754985759602062816542680370647325758678478108836986308891915294139674993510196104571071810979112401150111762120231228412545128061306730060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 6.1 - Build: defconfig) has an average run-time of 13 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-Time306090120150Min: 1 / Avg: 12 / Max: 135

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBuild: defconfigDeviation48121620Min: 0 / Avg: 0.81 / Max: 13

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: defconfig24681012163248642.785.568.3411.1213.9

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 Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 22-Core, POWER9 4-Core, POWER9 44-Core, POWER9 8-Core
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 256-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-N1 96-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M1 Pro, Apple M2, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 67 Benchmark Results

2 x Intel Xeon E5620 - IBM 94Y8600 - 96GB

Ubuntu 20.04.4 LTS - 5.10.0-21-amd64 - GCC 9.4.0

15 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-18-generic - GNOME Shell 3.36.0

1 System - 1 Benchmark Result

1 System - 1 Benchmark Result

AMD Ryzen 5 2600 Six-Core - Gigabyte B450M DS3H-CF - 80GB

Ubuntu 20.04.4 LTS - 5.15.0-76-generic - GCC 9.4.0

1 System - 1 Benchmark Result

AMD EPYC 7543P 32-Core - Dell 052RF2 - 512GB

Ubuntu 20.04.4 LTS - 6.1.0-10-amd64 - GCC 9.4.0

1 System - 20 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-25-generic - GNOME Shell 44.0

1 System - 56 Benchmark Results

2 x Intel Xeon E5-2687W v4 - MACHINIST X99-D8-MAX - Intel Xeon E7 v4

Linuxmint 21.1 - 5.15.0-72-generic - Cinnamon 5.6.8

1 System - 1 Benchmark Result

AMD Ryzen 9 7900X 12-Core - ASRock B650M-HDV/M.2 - AMD Device 14d8

Arch rolling - 6.4.3-zen1-1-zen - KDE Plasma 5.27.6

1 System - 1 Benchmark Result

AMD Ryzen 9 7900X 12-Core - ASRock B650M-HDV/M.2 - AMD Device 14d8

Arch rolling - 6.4.3-zen1-1-zen - KDE Plasma 5.27.6

2 Systems - 51 Benchmark Results

2 x Intel Xeon Platinum 8462Y+ - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-76-generic - X Server

1 System - 1 Benchmark Result

AMD Ryzen 9 7950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

ManjaroLinux 23.0.0 - 6.1.38-1-MANJARO - X Server 1.21.1.8

1 System - 2 Benchmark Results

AMD Ryzen 5 7600 6-Core - ASRock B650M-HDV/M.2 - AMD Device 14d8

ManjaroLinux 23.0.0 - 6.4.2-3-MANJARO - Xfce 4.18

2 Systems - 36 Benchmark Results

2 x Intel Xeon Platinum 8462Y+ - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-76-generic - X Server

2 Systems - 32 Benchmark Results

2 x Intel Xeon Platinum 8462Y+ - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-76-generic - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 110 Benchmark Results

Intel Core i7-10700T - Logic Supply RXM-181 - Intel Comet Lake PCH

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

2 Systems - 89 Benchmark Results

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

Debian 11 - 5.10.0-20-amd64 - X Server 1.20.11

2 Systems - 133 Benchmark Results

2 x AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 22.10 - 5.19.0-26-generic - GNOME Shell 43.0

22 Systems - 17 Benchmark Results

Intel Core i9-11980HK - Alienware x17 R1 - 2 x 32768 MB 3467MHz AO1E34RCTV2-BZWS

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.2364 - 527.56

2 Systems - 343 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

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

2 Systems - 33 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

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

2 Systems - 361 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

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

3 Systems - 99 Benchmark Results

2 Systems - 146 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 6.1.0-phx - GNOME Shell 3.36.9

3 Systems - 28 Benchmark Results

AMD Ryzen 5 3400G - ASUS PRIME B450M-A - AMD Raven

Ubuntu 19.10 - 5.3.0-46-generic - GNOME Shell 3.34.1

3 Systems - 13 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

3 Systems - 149 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.10 - 6.1.1-phx - GNOME Shell 43.1

2 Systems - 33 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

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

5 Systems - 396 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.2

3 Systems - 13 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

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

Find More Test Results