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

23 June 2020

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

34 Minutes, 6 Seconds

Test Dependencies

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

Accolades

400k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsTimed Linux Kernel Compilation Popularity Statisticspts/build-linux-kernel2011.022011.062011.102012.022012.062012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.062018.102019.022019.062019.102020.022020.062020.102021.0240K80K120K160K200K
* 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.
Data current as of Fri, 26 Feb 2021 04:05:28 GMT.

Revision History

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.4

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 4,169 public results since 13 October 2019 with the latest data as of 27 February 2021.

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
# Matching Public Results
Seconds (Average)
91st
10
28 +/- 2
91st
28
29 +/- 3
91st
28
29 +/- 1
84th
19
39 +/- 1
77th
61
46 +/- 4
77th
15
46 +/- 1
76th
15
47 +/- 3
Mid-Tier
75th
> 47
74th
24
48 +/- 1
67th
13
57 +/- 2
63rd
47
63 +/- 2
63rd
17
64 +/- 5
61st
12
68 +/- 1
58th
3
75 +/- 4
57th
3
77 +/- 2
56th
16
80 +/- 7
56th
3
80 +/- 4
55th
28
82 +/- 10
55th
13
82 +/- 3
53rd
4
85 +/- 5
Median
50th
94
50th
9
94 +/- 7
49th
8
98 +/- 9
49th
8
99 +/- 14
47th
20
102 +/- 3
47th
18
102 +/- 10
46th
55
104 +/- 12
46th
24
105 +/- 3
46th
10
105 +/- 3
45th
15
108 +/- 6
44th
4
110 +/- 10
43rd
10
111 +/- 8
42nd
13
118 +/- 11
41st
9
119 +/- 12
41st
7
122 +/- 6
41st
10
123 +/- 4
38th
3
137 +/- 1
38th
7
137 +/- 14
38th
4
138 +/- 4
38th
8
140 +/- 7
37th
16
146 +/- 11
37th
14
148 +/- 14
36th
3
150 +/- 13
36th
9
151 +/- 16
35th
12
158 +/- 10
34th
15
162 +/- 12
34th
5
164 +/- 2
33rd
10
166 +/- 20
33rd
13
169 +/- 13
32nd
7
175 +/- 3
32nd
3
176 +/- 13
32nd
4
177 +/- 24
32nd
6
180 +/- 20
31st
12
183 +/- 14
31st
26
184 +/- 24
31st
8
185 +/- 23
30th
3
189 +/- 8
30th
8
192 +/- 20
30th
3
194 +/- 2
30th
33
195 +/- 11
29th
5
198 +/- 2
28th
15
212 +/- 8
28th
4
212 +/- 2
27th
5
215 +/- 31
27th
5
218 +/- 2
26th
20
221 +/- 4
26th
8
222 +/- 14
26th
14
229 +/- 30
Low-Tier
25th
> 231
25th
12
232 +/- 14
24th
6
239 +/- 19
23rd
6
249 +/- 11
22nd
7
252 +/- 18
22nd
3
253 +/- 19
21st
10
258 +/- 26
21st
7
261 +/- 5
21st
19
264 +/- 20
21st
27
264 +/- 33
20th
3
274 +/- 34
19th
4
282 +/- 17
18th
6
300 +/- 23
18th
3
304 +/- 26
18th
4
307 +/- 33
17th
3
311 +/- 35
17th
5
317 +/- 44
16th
6
319 +/- 8
15th
4
335 +/- 8
15th
4
337 +/- 13
14th
3
353 +/- 43
14th
4
360 +/- 17
14th
9
373 +/- 50
14th
3
375 +/- 3
13th
3
380 +/- 48
12th
6
409 +/- 53
12th
3
418 +/- 26
12th
5
424 +/- 50
12th
3
431 +/- 43
12th
3
434 +/- 37
11th
5
449 +/- 7
11th
4
457 +/- 57
11th
5
458 +/- 41
10th
5
488 +/- 44
10th
3
492 +/- 15
10th
9
497 +/- 53
9th
5
517 +/- 34
9th
4
535 +/- 70
9th
6
542 +/- 40
9th
6
543 +/- 38
8th
3
546 +/- 3
7th
19
623 +/- 34
3rd
18
1205 +/- 130
2nd
7
2179 +/- 209
2nd
3
2321 +/- 196
2nd
17
3674 +/- 418
1st
7
4097 +/- 563
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile4164 Results Range From 3 To 9931 Seconds32024016007999981197139615951794199321922391259027892988318733863585378439834182438145804779497851775376557557745973617263716570676969687167736675657764796381628361856087598958915793569555975499536001200180024003000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Linux Kernel Compilation 5.4 - Time To Compile) has an average run-time of 11 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 BenchmarkTime To CompileRun-Time20406080100Min: 1 / Avg: 10.13 / Max: 131

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation3691215Min: 0 / Avg: 1.26 / Max: 12

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 ScalingTime To Compile2468101216182024324864128918273645

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i5-7600 - ASRock Z270M Extreme4 - Intel Xeon E3-1200 v6

Pop 20.10 - 5.8.0-7642-generic - X Server 1.20.9

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X 8-Core - 26GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 5.4.72-microsoft-standard-WSL2 - X Server

2 Systems - 95 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-051100-generic - GNOME Shell 3.38.1

1 System - 1 Benchmark Result

Intel Core i7-2600K - Gigabyte Z68XP-UD3P - 24GB

Debian 10 - 5.9.0-0.bpo.5-amd64 - GCC 8.3.0

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2690 0 - IBM 00Y8362 - 126GB

CentOS Linux 7 - 3.10.0-1160.el7.x86_64 - GCC 4.8.5 20150623

4 Systems - 5 Benchmark Results

AMD model unknown - ASUS M2A-MX - AMD RS690 + SB600

Arch Linux - 5.5.14-1-ck - GCC 9.2.1 20200130

1 System - 1 Benchmark Result

Intel Xeon E3-1230 v5 - Dell 0FGCC7 - Intel Xeon E3-1200 v5

Debian testing - 5.10.0-1-amd64 - GCC 10.2.1 20210110

1 System - 4 Benchmark Results

Intel Xeon Gold 6278C - OpenStack Foundation Nova - 1 x 8192 MB RAM QEMU

CentOS Linux 7 - 3.10.0-957.27.2.el7.x86_64 - GCC 4.8.5 20150623

1 System - 1 Benchmark Result

2 x Intel Core - Fedora OpenStack Nova - 1 x 8192 MB RAM

CentOS Linux 7 - 3.10.0-957.27.2.el7.x86_64 - GCC 4.8.5 20150623

1 System - 1 Benchmark Result

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

CentOS Linux 7 - 3.10.0-1127.el7.x86_64 - GCC 4.8.5 20150623

1 System - 25 Benchmark Results

2 x Intel Xeon E5-2698R v4 - HP ProLiant DL360 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.4.0-65-generic - GCC 9.3.0

1 System - 1 Benchmark Result

Intel Core i7-10700K - ASRock Z490 Phantom Gaming 4 - Intel Comet Lake PCH Shared SRAM

CentOS Linux 8 - 4.18.0-240.10.1.el8_3.x86_64 - GNOME Shell 3.32.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 268 Benchmark Results

Intel Core i5-2520M - HP 161C - Intel 2nd Generation Core DRAM

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

16 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8259L - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

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

2 Systems - 535 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

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

12 Systems - 593 Benchmark Results

Intel Core i5-10600K - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

Ubuntu 20.04 - 5.8.0-050800daily20200622-generic - GNOME Shell 3.36.2

11 Systems - 217 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

4 Systems - 9 Benchmark Results

Intel Core i7-3615QM - Apple Mac-C3EC7CD22292981F - Intel 3rd Gen Core DRAM

Gentoo 2.6 - 5.7.6-gentoo-x86_64 - MATE 1.24.0

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 2970WX 24-Core - Gigabyte X399 AORUS Gaming 7 - AMD 17h

Ubuntu 19.10 - 5.4.0-999-generic - GNOME Shell 3.34.1

3 Systems - 174 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Fedora 32 - 5.8.11-200.fc32.x86_64 - GNOME Shell 3.36.6

3 Systems - 301 Benchmark Results

Intel Core i5-10600K - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

Ubuntu 20.04 - 5.4.0-40-generic - GNOME Shell 3.36.3

Find More Test Results

OpenBenchmarking.org Community User Comments

Post A Comment