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

5 Minutes, 27 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 15 July 2024.
allmodconfig37.2%defconfig62.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.8

Build: defconfig

OpenBenchmarking.org metrics for this test profile configuration based on 1,006 public results since 14 March 2024 with the latest data as of 18 July 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)
83rd
7
39 +/- 1
80th
7
41 +/- 1
78th
7
43 +/- 1
Mid-Tier
75th
> 45
71st
15
51 +/- 3
Median
50th
80
45th
11
98 +/- 8
45th
10
98 +/- 1
44th
10
100 +/- 1
40th
3
113 +/- 1
40th
14
116 +/- 17
38th
4
121 +/- 12
38th
4
121 +/- 8
31st
9
141 +/- 1
29th
3
147 +/- 1
28th
20
153 +/- 21
28th
10
154 +/- 22
Low-Tier
25th
> 163
25th
5
168 +/- 2
22nd
11
185 +/- 2
21st
3
188 +/- 21
21st
5
196 +/- 9
19th
4
208 +/- 1
18th
4
223 +/- 15
17th
7
244 +/- 28
16th
6
248 +/- 30
16th
3
249 +/- 29
15th
6
268 +/- 23
13th
5
322 +/- 13
13th
5
323 +/- 32
12th
4
326 +/- 3
10th
11
388 +/- 24
10th
3
405 +/- 31
8th
4
450 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Build: defconfig999 Results Range From 21 To 9969 Seconds2122041961881710161215141416131812201122102409260828073006320534043603380240014200439945984797499651955394559357925991619063896588678769867185738475837782798181808379857887778976917593749573977299712004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 6.8 - Build: defconfig) has an average run-time of 14 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-Time50100150200250Min: 1 / Avg: 13.69 / Max: 290

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

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

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: defconfig4681216243264961.783.565.347.128.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)
RISC-V 64-bit
riscv64
rv64imafdcvsu
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen Threadripper 3970X 32-Core - System76 Thelio Major - AMD Starship

Arch Linux - 6.9.9-arch1-1 - GNOME Shell 46.3.1

2 Systems - 84 Benchmark Results

AMD Ryzen 7 5800H - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

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

1 System - 1 Benchmark Result

Intel Core i7-13700K - MSI MPG Z690 FORCE WIFI - Intel Alder Lake-S PCH

Fedora 40 - 6.9.6-200.fc40.x86_64 - GNOME Shell 46.2

1 System - 389 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Debian 12 - 6.1.0-22-amd64 - GNOME Shell 43.9

1 System - 1 Benchmark Result

Intel Core i5-11400 - ASUS PRIME H510M-E - Intel Tiger Lake-H

Arch rolling - 6.9.9-arch1-1 - X Server 1.21.1.13

3 Systems - 30 Benchmark Results

Intel Core i7-4790K - ASUS Z97M-PLUS - Intel 4th Gen Core DRAM

Debian GNU - 6.8.4-2-pve - nouveau

1 System - 2 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Debian 12 - 6.6.31+rpt-rpi-2712 - X Server + Wayland

1 System - 12 Benchmark Results

Intel Pentium M - LG WIND RIVER - Intel Mobile 915GM

Debian 12 - 6.1.0-15-686-pae - GCC 12.2.0

1 System - 36 Benchmark Results

Intel Core i5-3570K - ASRock Z77 Extreme4 - Intel Xeon E3-1200 v2

Debian 12 - 6.7.12+bpo-amd64 - Xfce 4.18

1 System - 22 Benchmark Results

Intel Core i5-3570K - ASRock Z77 Extreme4 - Intel Xeon E3-1200 v2

Debian 12 - 6.7.12+bpo-amd64 - Xfce 4.18

2 Systems - 30 Benchmark Results

Intel Core i5-7300U - HP 83B3 - Intel Xeon E3-1200 v6

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

2 Systems - 28 Benchmark Results

Intel Core i5-7300U - HP 83B3 - Intel Xeon E3-1200 v6

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

2 Systems - 27 Benchmark Results

Intel Core i5-7300U - HP 83B3 - Intel Xeon E3-1200 v6

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

2 Systems - 21 Benchmark Results

Intel Core i5-7300U - HP 83B3 - Intel Xeon E3-1200 v6

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 15 Benchmark Results

Intel Core i5-7300U - HP 83B3 - Intel Xeon E3-1200 v6

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

2 Systems - 28 Benchmark Results

Intel 0000% - ASUS Pro WS W790E-SAGE SE - Intel Alder Lake-S PCH

Fedora 39 - 6.7.7-200.fc39.x86_64 - OpenCL 3.0 + OpenCL 1.2 Intel FPGA SDK for OpenCL 20.3 + OpenCL 3.0 LINUX + OpenCL 1.2 Intel FPGA SDK for OpenCL 20.3

4 Systems - 2 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-25-generic - GNOME Shell 45.2

2 Systems - 108 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

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

3 Systems - 177 Benchmark Results

Intel Xeon E E-2488 - Supermicro Super Server X13SCL-F v0123456789 - Intel Device 7a27

Ubuntu 22.04 - 6.2.0-26-generic - GNOME Shell 42.9

4 Systems - 2 Benchmark Results

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

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

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

3 Systems - 119 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

8 Systems - 25 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

2 Systems - 30 Benchmark Results

Intel Core i7-5960X - Gigabyte X99-UD4-CF - Intel Xeon E7 v3

Debian 12 - 6.1.0-11-amd64 - GCC 12.2.0

8 Systems - 33 Benchmark Results

Intel Core i7 870 - ASUS BM5275 - Intel Core DMI

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

4 Systems - 70 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.8.0-060800rc1daily20240126-generic - GNOME Shell 45.2

3 Systems - 2 Benchmark Results

AMD Ryzen 9 5900HX - ASUS ROG Strix G513QY_G513QY G513QY v1.0 - AMD Renoir

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

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

Find More Test Results