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, 41 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.042024.09200K400K600K800K1000K
* 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 20 December 2024.
allmodconfig34.7%defconfig65.3%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 6.8

Build: allmodconfig

OpenBenchmarking.org metrics for this test profile configuration based on 1,139 public results since 14 March 2024 with the latest data as of 20 December 2024.

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)
96th
26
133 +/- 6
93rd
13
173 +/- 1
93rd
7
176 +/- 2
89th
15
190 +/- 3
87th
7
194 +/- 2
83rd
21
201 +/- 2
83rd
10
201 +/- 5
83rd
22
203 +/- 11
Mid-Tier
75th
> 239
73rd
10
252 +/- 1
73rd
16
256 +/- 37
70th
10
276 +/- 1
68th
13
301 +/- 18
64th
12
325 +/- 18
62nd
9
347 +/- 15
58th
9
382 +/- 8
Median
50th
561
50th
10
578 +/- 15
46th
3
625 +/- 2
45th
4
633 +/- 1
44th
12
682 +/- 49
41st
24
714 +/- 2
38th
4
742 +/- 69
34th
4
944 +/- 1
32nd
18
983 +/- 4
29th
3
1027 +/- 11
28th
19
1072 +/- 103
26th
10
1158 +/- 50
Low-Tier
25th
> 1224
25th
5
1288 +/- 10
24th
4
1305 +/- 7
23rd
6
1311 +/- 87
23rd
10
1312 +/- 13
22nd
10
1331 +/- 8
20th
11
1382 +/- 100
20th
10
1417 +/- 26
20th
3
1418 +/- 2
17th
4
1600 +/- 1
17th
7
1634 +/- 210
16th
14
1726 +/- 3
14th
10
1773 +/- 31
13th
5
1829 +/- 3
13th
7
1848 +/- 20
11th
7
1937 +/- 124
10th
3
2050 +/- 2
10th
4
2063 +/- 1
8th
5
2473 +/- 289
7th
8
2587 +/- 19
5th
8
2887 +/- 140
5th
3
2891 +/- 166
4th
3
3292 +/- 4
3rd
5
4736 +/- 487
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Build: allmodconfig1128 Results Range From 114 To 34931 Seconds1148111508220529023599429649935690638770847781847891759872105691126611963126601335714054147511544816145168421753918236189331963020327210242172122418231152381224509252062590326600272972799428691293883008530782314793217632873335703426734964160320480640800

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 6.8 - Build: allmodconfig) has an average run-time of 46 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: allmodconfigRun-Time60120180240300Min: 6 / Avg: 45.65 / Max: 345

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseTimed Linux Kernel Compilation CPU Core ScalingBuild: allmodconfig681012141624326496128192510152025

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)
RISC-V 64-bit
riscv64
rv64imafdcvsu
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E
ARMv8 64-bit
aarch64
ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core, ARMv8 Neoverse-V2 96-Core, AmpereOne 192-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 2 Benchmark Results

2 x Intel Xeon Silver 4214 - HPE ProLiant BL460c Gen10 - Intel Sky Lake-E DMI3 Registers

CentOS Stream 9 - 5.14.0-539.el9.x86_64 - GNOME Shell 40.10

2 Systems - 24 Benchmark Results

ARMv8 - NVIDIA Jetson - 62GB

Ubuntu 22.04 - 5.15.148-tegra - GNOME Shell 42.9

1 System - 2 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MAG B550 TOMAHAWK - AMD Starship

ManjaroLinux 24.2.0 - 6.13.0-rc1-1-MANJARO - KDE Plasma 6.2.4

1 System - 21 Benchmark Results

Intel Core i7-4790K - Gigabyte H97N-WIFI - Intel 4th Gen Core DRAM

Ubuntu 24.04 - 6.8.0-49-generic - GCC 13.2.0

1 System - 52 Benchmark Results

AMD Ryzen 3 5300G - Gigabyte B450 I AORUS PRO WIFI-CF - AMD Renoir

Ubuntu 24.04 - 6.8.0-49-generic - GNOME Shell 46.0

2 Systems - 37 Benchmark Results

2 x AMD EPYC 9684X 96-Core - Giga Computing MZ73-LM0-000 v02000200 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-49-generic - GCC 13.2.0

3 Systems - 1 Benchmark Result

Intel Xeon W3690 - Dell 09KPNV - Intel 5520

VoidLinux rolling - 6.6.63_1 - X Server 1.21.1.14

1 System - 37 Benchmark Results

2 x AMD EPYC 9684X 96-Core - Giga Computing MZ73-LM0-000 v02000200 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-49-generic - GCC 13.2.0

2 Systems - 37 Benchmark Results

Intel Xeon W-1270 - Dell 01NP3N - Intel Comet Lake PCH

Fedora Linux 41 - 6.11.8-300.fc41.x86_64 - GNOME Shell 47.1

1 System - 37 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

Ubuntu 22.04 - 6.5.0-45-generic - GNOME Shell 42.9

2 Systems - 66 Benchmark Results

AMD EPYC 9655P 96-Core - Supermicro Super Server H13SSL-N v1.01 - AMD 1Ah

Ubuntu 24.10 - 6.12.0-rc7-linux-pm-next-phx - GNOME Shell 47.0

1 System - 120 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

Ubuntu 22.04 - 6.5.0-45-generic - GNOME Shell 42.9

1 System - 4 Benchmark Results

Intel Core i5-4670 - ASRock H87 Performance - Intel 4th Gen Core DRAM

Ubuntu 22.04 - 6.8.0-49-generic - GNOME Shell 42.9

1 System - 2 Benchmark Results

2 x Intel Xeon E5-2470 v2 - Dell PowerEdge T420 03015M - Intel Xeon E7 v2

Debian GNU - 6.8.12-4-pve - GCC 12.2.0

2 Systems - 36 Benchmark Results

Intel Core i7-14700K - MSI MAG Z790 TOMAHAWK MAX WIFI - Intel Device 7a27

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 3 Benchmark Results

POWER8E - PowerNV 8247-22L - 256GB

Fedora Linux 40 - 6.10.11-200.fc40.ppc64le - GCC 14.2.1 20240912

6 Systems - 59 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Arch rolling - 6.10.0-arch1-1 - X Server 1.21.1.13 + Wayland

18 Systems - 442 Benchmark Results

AMD Ryzen 9 7900X3D 12-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

2 Systems - 95 Benchmark Results

16 x AMD Ryzen 7 5700G - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 6.5.0-41-generic - GNOME Shell 42.9

3 Systems - 111 Benchmark Results

2 x AMD EPYC 9734 112-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

4 Systems - 158 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell 45.0

1 System - 2 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING B550-PLUS WIFI II - AMD Starship

Fedora 40 - 6.10.9-200.fc40.x86_64 - KDE Plasma 6.1.4

76 Systems - 921 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P - Intel Device 7a27

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

4 Systems - 62 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-rc5-phx-patched - GNOME Shell 45.0

1 System - 47 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Arch rolling - 6.10.0-3-cachyos - X Server 1.21.1.13 + Wayland

2 Systems - 37 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASRock X570 Steel Legend - AMD Starship

EndeavourOS rolling - 6.9.9-arch1-1 - KDE Plasma 6.1.2

Find More Test Results