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, 25 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 4 November 2024.
allmodconfig35.2%defconfig64.8%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.1

Build: allmodconfig

OpenBenchmarking.org metrics for this test profile configuration based on 1,403 public results since 12 December 2022 with the latest data as of 15 October 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)
88th
13
223 +/- 21
84th
14
262 +/- 31
76th
11
304 +/- 13
76th
21
308 +/- 22
Mid-Tier
75th
> 309
73rd
12
328 +/- 20
73rd
4
331 +/- 28
67th
10
460 +/- 47
67th
8
462 +/- 21
66th
19
471 +/- 15
61st
19
516 +/- 17
57th
29
537 +/- 15
53rd
3
577 +/- 49
Median
50th
636
49th
6
660 +/- 61
47th
4
684 +/- 1
47th
26
694 +/- 40
44th
8
754 +/- 1
43rd
3
768 +/- 11
43rd
6
777 +/- 37
43rd
13
781 +/- 27
41st
4
846 +/- 61
39th
22
906 +/- 69
38th
3
918 +/- 14
37th
28
968 +/- 60
33rd
3
1090 +/- 13
30th
4
1155 +/- 24
30th
15
1160 +/- 148
28th
7
1225 +/- 1
27th
4
1244 +/- 1
27th
14
1255 +/- 68
27th
15
1283 +/- 147
27th
13
1285 +/- 116
26th
5
1289 +/- 131
26th
5
1322 +/- 98
Low-Tier
25th
> 1364
25th
3
1372 +/- 30
22nd
10
1482 +/- 101
22nd
11
1484 +/- 163
22nd
3
1510 +/- 70
22nd
3
1522 +/- 149
21st
4
1523 +/- 2
21st
10
1534 +/- 2
20th
4
1569 +/- 10
19th
9
1604 +/- 21
19th
3
1611 +/- 47
19th
7
1617 +/- 138
17th
12
1765 +/- 106
15th
3
1907 +/- 126
14th
3
1980 +/- 20
13th
3
2056 +/- 9
13th
3
2078 +/- 34
13th
6
2081 +/- 3
12th
3
2104 +/- 66
11th
5
2177 +/- 4
11th
4
2280 +/- 15
9th
3
2607 +/- 1
9th
3
2658 +/- 27
8th
5
2829 +/- 417
7th
3
3278 +/- 40
7th
4
3437 +/- 1
7th
3
3472 +/- 2
6th
3
3867 +/- 31
5th
3
4461 +/- 104
2nd
4
9907 +/- 20
OpenBenchmarking.orgDistribution Of Public Results - Build: allmodconfig1403 Results Range From 118 To 34926 Seconds11881515122209290636034300499756946391708877858482917998761057311270119671266413361140581475515452161491684617543182401893719634203312102821725224222311923816245132521025907266042730127998286952939230089307863148332180328773357434271349682004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 6.1 - Build: allmodconfig) has an average run-time of 1 hour, 1 minute. 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-Time80160240320400Min: 6 / Avg: 60.1 / Max: 473

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: allmodconfigDeviation246810Min: 0 / Avg: 0.07 / Max: 2

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: allmodconfig46810121416324856643691215

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
rv64imafdcv
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2 72-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc, rk1-rok-emmc6

Recent 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

1 System - 2 Benchmark Results

POWER8E - PowerNV 8247-22L - 256GB

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

2 Systems - 76 Benchmark Results

3 Systems - 19 Benchmark Results

16 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

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

2 Systems - 19 Benchmark Results

16 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

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

1 System - 12 Benchmark Results

AMD EPYC 4584PX 16-Core - MSI S3661 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-36-generic - GCC 13.2.0

1 System - 12 Benchmark Results

AMD EPYC 4584PX 16-Core - MSI S3661 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-36-generic - GCC 13.2.0

1 System - 12 Benchmark Results

AMD EPYC 4464P 12-Core - MSI S3661 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-36-generic - GCC 13.2.0

1 System - 12 Benchmark Results

AMD EPYC 4344P 8-Core - MSI S3661 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-36-generic - GCC 13.2.0

1 System - 12 Benchmark Results

AMD EPYC 4244P 6-Core - MSI S3661 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-36-generic - GCC 13.2.0

3 Systems - 36 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS ELITE AX V2 - AMD Starship

Fedora Linux 39 - 6.6.2-202.fsync.fc39.x86_64 - GNOME Shell 45.2

1 System - 36 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS ELITE AX V2 - AMD Starship

Fedora Linux 39 - 6.6.7-203.fsync.fc39.x86_64 - GNOME Shell 45.2

1 System - 36 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS ELITE AX V2 - AMD Starship

Fedora Linux 39 - 6.6.2-202.fsync.fc39.x86_64 - GNOME Shell 45.2

1 System - 36 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS ELITE AX V2 - AMD Starship

Fedora Linux 38 - 6.5.12-201.fsync.fc38.x86_64 - GNOME Shell 44.6

1 System - 36 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS ELITE AX V2 - AMD Starship

Fedora Linux 38 - 6.5.11-200.fc38.x86_64 - GNOME Shell 44.6

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

5 Systems - 396 Benchmark Results

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

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.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

6 Systems - 162 Benchmark Results

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-PLUS - AMD Renoir

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.0

2 Systems - 244 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASRockRack B650D4U-2L2T/BCM - AMD Device 14d8

Ubuntu 22.04 - 6.6.0-060600rc1daily20230913-generic - GNOME Shell 42.9

2 Systems - 328 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

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

2 Systems - 831 Benchmark Results

Intel Core Ultra 7 155H - MTL Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

1 System - 35 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

Fedora Linux 39 - 6.5.6-300.fc39.x86_64 - KDE Plasma 5.27.8

2 Systems - 98 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Pop 22.04 - 6.7.0-060700-generic - GNOME Shell 42.5

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

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

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

Find More Test Results