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 the Intel oneAPI toolkit.

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

1 March 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

5 Minutes, 40 Seconds

Average Run Time

2 Minutes, 16 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

70k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsoneDNN Popularity Statisticspts/onednn2020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.0220K40K60K80K100K
* 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 26 March 2024.

Revision History

pts/onednn-3.4.0   [View Source]   Fri, 01 Mar 2024 13:02:43 GMT
Update against oneDNN 3.4 upstream.

pts/onednn-3.3.0   [View Source]   Thu, 12 Oct 2023 11:14:07 GMT
Update against oneDNN 3.3 upstream.

pts/onednn-3.1.0   [View Source]   Fri, 31 Mar 2023 18:14:37 GMT
Update against oneDNN 3.1 upstream.

pts/onednn-3.0.0   [View Source]   Mon, 19 Dec 2022 21:07:39 GMT
Update against oneDNN 3.0 upstream.

pts/onednn-2.7.0   [View Source]   Wed, 28 Sep 2022 13:00:44 GMT
Update against oneDNN 2.7 upstream.

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

HPC - High Performance Computing

Intel oneAPI

CPU Massive

Creator Workloads

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

oneDNN 2.0

Harness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.org metrics for this test profile configuration based on 519 public results since 9 December 2020 with the latest data as of 29 August 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
# Compatible Public Results
ms (Average)
85th
5
0.7 +/- 0.1
Mid-Tier
75th
> 0.9
66th
11
1.3 +/- 0.1
66th
4
1.3 +/- 0.1
61st
8
1.7 +/- 0.1
Median
50th
2.8
50th
7
2.9 +/- 0.1
48th
6
3.0 +/- 0.1
42nd
6
3.3 +/- 0.1
41st
13
3.4 +/- 0.3
Low-Tier
25th
> 5.8
23rd
3
6.1 +/- 0.1
22nd
3
6.5 +/- 0.2
19th
3
7.0 +/- 0.1
18th
3
7.1 +/- 0.2
17th
3
7.3 +/- 0.1
10th
6
9.5 +/- 0.1
10th
3
9.7 +/- 0.2
10th
3
9.8 +/- 0.7
9th
3
10.0 +/- 0.1
6th
3
15.2 +/- 0.4
5th
3
15.5 +/- 0.1
4th
3
27.2 +/- 0.3
4th
3
28.4 +/- 0.3
2nd
3
51.4
1st
4
73.6 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Harness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPU519 Results Range From 0 To 74 ms7142128354249566370778490180270360450

Based on OpenBenchmarking.org data, the selected test / test configuration (oneDNN 2.0 - Harness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - 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: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPURun-Time246810Min: 1 / Avg: 1.03 / Max: 3

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: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPUDeviation246810Min: 0 / Avg: 0.44 / Max: 4

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 BaseoneDNN CPU Core ScalingHarness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPU468121624324864128612182430

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
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VBROADCASTSS VINSERTF128 VPERMILPS VBROADCASTSD VEXTRACTF128 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 VPBROADCASTD VPBLENDD VPSLLVD VEXTRACTI128 VPSRAVD VPERM2I128 VPGATHERQQ VGATHERQPS VPERMQ VPBROADCASTW VPSRLVQ VPBROADCASTB VPGATHERDQ VPGATHERQD 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 VFMADD213SS VFMADD132SS VFMADD132SD VFMADD132PS VFMADD231PS VFMADD213PS VFNMADD132PS VFNMSUB231PS VFNMSUB132SS VFNMADD132SS VFNMSUB231SS VFNMADD231PS VFNMADD231SS VFNMADD213SS VFMADD231SD VFMSUB132SS VFMADD132PD VFMADD231PD VFMADD213PD VFMSUB231SS VFMSUB213PS VFMSUB132PS VFMSUB213SS VFMSUB231SD
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 March 2024

This test profile binary relies on the shared libraries libdnnl.so.3, 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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core