oneDNN

This is a test of the Intel oneDNN as an Intel-optimized library for Deep Neural Networks and making use of its built-in benchdnn functionality. The result is the total perf time reported. Intel oneDNN was formerly known as DNNL (Deep Neural Network Library) and MKL-DNN before being rebranded as part of Intel oneAPI.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark onednn.

Project Site

intel.com

Source Repository

github.com

Test Created

17 June 2020

Last Updated

29 March 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

7 Minutes, 41 Seconds

Average Run Time

2 Minutes, 5 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsoneDNN Popularity Statisticspts/onednn2020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.058K16K24K32K40K
* 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 current as of 25 May 2022.
Matrix Multiply Batch Shapes Transformer10.8%Recurrent Neural Network Training16.8%Convolution Batch Shapes Auto12.0%Recurrent Neural Network Inference16.1%Deconvolution Batch shapes_1d11.1%IP Shapes 3D11.5%Deconvolution Batch shapes_3d10.8%IP Shapes 1D10.9%Harness Option PopularityOpenBenchmarking.org
f3243.1%u8s8f3241.8%bf16bf16bf1615.1%Data Type Option PopularityOpenBenchmarking.org

Revision History

pts/onednn-1.8.0   [View Source]   Tue, 29 Mar 2022 19:55:25 GMT
Update against oneDNN 2.6 upstream.

pts/onednn-1.7.0   [View Source]   Sat, 13 Mar 2021 07:49:33 GMT
Update against oneDNN 2.1.2 upstream.

pts/onednn-1.6.1   [View Source]   Sun, 20 Dec 2020 09:58:16 GMT
This test profile builds and works fine on macOS so enable it (MacOSX).

pts/onednn-1.6.0   [View Source]   Wed, 09 Dec 2020 13:47:31 GMT
Update against oneDNN 2.0 upstream.

pts/onednn-1.5.0   [View Source]   Wed, 17 Jun 2020 16:26:39 GMT
Initial commit of oneDNN test profile based on Intel oneDNN 1.5, forked from existing mkl-dnn test profile that is named from MKL-DNN before it was renamed to DNNL and then oneDNN. So create new test profile to match Intel naming convention.

Suites Using This Test

Multi-Core

Machine Learning

Intel oneAPI

CPU Massive

Server CPU Tests

Creator Workloads

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

oneDNN 2.6

Harness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPU

OpenBenchmarking.org metrics for this test profile configuration based on 246 public results since 29 March 2022 with the latest data as of 21 May 2022.

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
ms (Average)
Mid-Tier
75th
> 1.4
69th
3
6.7 +/- 0.1
65th
3
9.7 +/- 0.8
65th
3
10.0 +/- 0.6
59th
4
10.7 +/- 0.2
59th
4
10.7 +/- 1.2
55th
12
13.3 +/- 0.4
51st
3
14.4 +/- 1.4
Median
50th
14.8
45th
3
16.6 +/- 0.1
43rd
7
17.1 +/- 0.3
37th
6
19.8 +/- 0.8
34th
3
20.1 +/- 0.2
32nd
3
20.6 +/- 0.1
27th
7
21.8 +/- 0.1
Low-Tier
25th
> 21.8
23rd
3
22.4 +/- 0.1
21st
5
23.1 +/- 0.1
20th
3
23.5 +/- 0.1
19th
13
24.0 +/- 1.5
18th
4
24.3 +/- 0.2
13th
3
31.1 +/- 0.1
11th
3
31.3 +/- 0.1
8th
3
34.3 +/- 0.2
6th
3
49.0 +/- 0.6
3rd
5
51.3 +/- 0.2
2nd
4
51.8 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Harness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPU246 Results Range From 0 To 199 ms014284256708498112126140154168182196210306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (oneDNN 2.6 - Harness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPU) has an average run-time of 2 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 BenchmarkHarness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPURun-Time246810Min: 1 / Avg: 1.15 / Max: 2

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsHarness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPUDeviation3691215Min: 0 / Avg: 0.36 / Max: 8

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not 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 BaseoneDNN CPU Core ScalingHarness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPU468163264714212835

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VBROADCASTSS VPERMILPS VEXTRACTF128 VBROADCASTSD VPERMILPD VPERM2F128 VMASKMOVPS
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VINSERTI128 VPBLENDD VPBROADCASTD VPSLLVD VEXTRACTI128 VPSRAVD VPERMQ VPGATHERQQ VGATHERQPS VPBROADCASTW VPSRLVQ VPBROADCASTB VGATHERDPS VPGATHERDQ VPGATHERQD VPERM2I128 VPSLLVQ VPMASKMOVQ VPERMD
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SS VFMADD132SS VFMADD213SS VFMADD132PS VFMADD231PS VFMADD213PS VFNMADD132PS VFNMSUB231PS VFNMSUB132SS VFNMADD132SS VFNMSUB231SS VFNMADD231PS VFNMADD231SS VFNMADD213SS VFMADD132SD VFMSUB231SS VFMSUB132SS VFNMADD132SD VFMADD132PD VFNMADD132PD VFMSUB231PS VFMADD231PD VFMADD231SD VFMADD213PD VFMSUB231SD VFMSUB213PS VFMSUB132PS VFMSUB213SS
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 2 April 2022

This test profile binary relies on the shared libraries libdnnl.so.2, libm.so.6, libgomp.so.1, libc.so.6.

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)
ARMv8 64-bit
aarch64
Ampere ARMv8 Neoverse-N1 256-Core, Apple M1

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 25 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS ELITE WIFI - AMD Starship

Gentoo Linux 2.8 - 5.18.0-gentoo-harambe-edition - KDE Plasma 5.24.5

3 Systems - 77 Benchmark Results

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

Ubuntu 21.10 - 5.13.0-27-generic - GNOME Shell 40.5

2 Systems - 110 Benchmark Results

AMD EPYC 7713P 64-Core - Supermicro H12SSW-NTR v1.01 - AMD Starship

Rocky 8.5 - 4.18.0-348.20.1.0sakura.1.el8_5.x86_64 - 4.5 Mesa 21.1.5

4 Systems - 541 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

8 Systems - 126 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36260 - 5.17.4-1139.native - GNOME Shell 42.0

7 Systems - 126 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

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

6 Systems - 125 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

AlmaLinux 8.5 - 4.18.0-348.23.1.el8_5.x86_64 - GNOME Shell 3.32.2

3 Systems - 541 Benchmark Results

AMD Ryzen Threadripper 1900X 8-Core - ASUS PRIME X399-A - AMD 17h

Linuxmint 20.3 - 5.13.0-39-generic - Cinnamon 5.2.7

5 Systems - 183 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36260 - 5.17.4-1139.native - GNOME Shell 42.0

4 Systems - 183 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36260 - 5.17.4-1139.native - GNOME Shell 42.0

3 Systems - 183 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Ubuntu 20.04 - 5.13.0-40-generic - GNOME Shell 3.36.9

3 Systems - 541 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

2 Systems - 336 Benchmark Results

AMD Ryzen 7 3700X 8-Core - Gigabyte B450M AORUS ELITE - AMD Starship

Ubuntu 20.04 - 5.11.0-40-generic - GNOME Shell 3.36.9

2 Systems - 90 Benchmark Results

Ampere ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.10 - 5.13.0-27-generic - X Server

2 Systems - 177 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36260 - 5.17.4-1139.native - GNOME Shell 42.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 51 Benchmark Results

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

Ubuntu 22.04 - 5.15.0-17-generic - GNOME Shell 40.5

3 Systems - 39 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

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

3 Systems - 93 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

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

3 Systems - 531 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

3 Systems - 18 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 - 24 Benchmark Results

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

Ubuntu 21.10 - 5.17.0-051700-generic - GNOME Shell 40.5

4 Systems - 37 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.17.0-rc7-asahi-next-20220310-5-1-ARCH - KDE Plasma 5.24.3

3 Systems - 81 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.15.35-051535-generic - GNOME Shell 42.0

3 Systems - 81 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.15.35-051535-generic - GNOME Shell 42.0

3 Systems - 24 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir

Ubuntu 21.10 - 5.17.0-051700-generic - GNOME Shell 40.5

3 Systems - 36 Benchmark Results

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

Ubuntu 21.10 - 5.13.0-35-generic - GNOME Shell 40.5

4 Systems - 82 Benchmark Results

Intel Core i5-12400 - ASRock B660M-HDV - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-18-generic - GNOME Shell 41.3

4 Systems - 86 Benchmark Results

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

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

3 Systems - 36 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Ubuntu 22.04 - 5.17.0-051700rc7daily20220309-generic - GNOME Shell 41.3

Find More Test Results