Mobile Neural Network

MNN is the Mobile Neural Network as a highly efficient, lightweight deep learning framework developed by Alibaba. This MNN test profile is building the OpenMP / CPU threaded version for processor benchmarking and not any GPU-accelerated test. MNN does allow making use of AVX-512 extensions.

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

Project Site

mnn.zone

Source Repository

github.com

Test Created

17 September 2020

Last Updated

11 August 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

59 Seconds

Average Run Time

8 Minutes, 24 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsMobile Neural Network Popularity Statisticspts/mnn2020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.093K6K9K12K15K
* 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 17 September 2024.
SqueezeNetV1.012.5%resnet-v2-5012.8%inception-v312.5%mobilenetV312.5%squeezenetv1.112.5%mobilenet-v1-1.012.5%nasnet12.5%MobileNetV2_22412.5%Model Option PopularityOpenBenchmarking.org

Revision History

pts/mnn-2.9.0   [View Source]   Sun, 11 Aug 2024 09:28:57 GMT
Update against MNN upstream Git to fix build problems on modern compilers.

pts/mnn-2.1.0   [View Source]   Wed, 31 Aug 2022 10:53:57 GMT
Update against MNN 2.1 upstream.

pts/mnn-2.0.0   [View Source]   Sat, 13 Aug 2022 09:41:19 GMT
Update against MNN 2.0 upstream.

pts/mnn-1.3.0   [View Source]   Fri, 18 Jun 2021 06:27:34 GMT
Update against new upstream MNN 1.2.0 release.

pts/mnn-1.2.0   [View Source]   Fri, 12 Mar 2021 07:05:09 GMT
Update against upstream MNN 1.1.3.

pts/mnn-1.1.1   [View Source]   Tue, 12 Jan 2021 16:25:37 GMT
Test builds fine on macOS.

pts/mnn-1.1.0   [View Source]   Wed, 06 Jan 2021 12:46:43 GMT
Update against MNN 1.1.1 upstream.

pts/mnn-1.0.1   [View Source]   Thu, 17 Sep 2020 20:25:29 GMT
Add min/max reporting to result parser.

pts/mnn-1.0.0   [View Source]   Thu, 17 Sep 2020 18:57:32 GMT
Initial commit of Alibaba MNN deep learning framework benchmark.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

Mobile Neural Network 2.9.b11b7037d

Model: resnet-v2-50

OpenBenchmarking.org metrics for this test profile configuration based on 129 public results since 11 August 2024 with the latest data as of 18 September 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
ms (Average)
78th
11
10.9 +/- 0.8
Mid-Tier
75th
> 11.1
71st
4
11.3 +/- 1.7
63rd
4
12.6 +/- 0.2
53rd
4
16.0 +/- 0.2
Median
50th
16.2
48th
4
16.7 +/- 0.2
44th
4
18.1 +/- 0.9
42nd
4
19.5 +/- 0.6
39th
4
19.7 +/- 0.1
32nd
3
20.2 +/- 0.1
29th
4
20.3 +/- 0.4
28th
4
20.8 +/- 0.4
Low-Tier
25th
> 21.1
14th
4
35.1 +/- 0.5
13th
4
35.8 +/- 1.7
9th
4
38.0 +/- 1.1
4th
4
59.3 +/- 4.1
OpenBenchmarking.orgDistribution Of Public Results - Model: resnet-v2-50129 Results Range From 6 To 130 ms617283950617283941051161271381632486480

Based on OpenBenchmarking.org data, the selected test / test configuration (Mobile Neural Network 2.9.b11b7037d - Model: resnet-v2-50) 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 BenchmarkModel: resnet-v2-50Run-Time1122334455Min: 5 / Avg: 13.63 / Max: 55

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 RunsModel: resnet-v2-50Deviation246810Min: 0 / Avg: 0.13 / Max: 3

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
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTSS2SD MOVDQA CVTSD2SS MOVDQU PUNPCKLQDQ MOVD CVTSI2SD CVTTSD2SI COMISD MULSD ANDPD MINSD MAXSD SUBSD CMPNLESD ADDSD MOVAPD CVTDQ2PS PSHUFD PMULUDQ PSRLDQ PADDQ CVTDQ2PD CMPLTPD ADDPD CVTPS2PD UNPCKLPD MOVUPD MAXPD UNPCKHPD DIVSD SHUFPD CVTTPS2DQ CVTPS2DQ CVTTPD2DQ ORPD XORPD PSHUFLW SQRTSD ANDNPD CVTPD2PS MOVHPD MULPD SUBPD
SSE3 (SSE3)
Used by default on supported hardware.
 
MOVDDUP MOVSLDUP
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PHADDD PSHUFB
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

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

 
VINSERTI128 VPBROADCASTD VPERMQ VPBROADCASTQ VEXTRACTI128 VPERM2I128 VPBROADCASTW VPBROADCASTB VGATHERQPS VPMASKMOVD VPSLLVD VPERMD VPSRAVD VPERMPD
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
AVX Vector Neural Network Instructions (AVX-VNNI)
Used by default on supported hardware.
 
VPDPBUSDS
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231PS VFMADD231SS VFMADD132PS VFNMADD132PS VFNMADD231PS VFNMADD213PS VFMADD213PS VFMSUB132PS VFMSUB231PS VFMADD132SD VFMADD132SS VFNMADD213SS VFNMADD132SS VFNMADD231SS VFMSUB132SS VFMSUB231SS VFMSUB132SD VFMADD213SS VFMADD231SD VFMSUB231SD VFNMADD132SD VFNMADD231PD VFNMADD132PD VFMADD132PD VFMADD213PD VFNMADD231SD VFMADD231PD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 23 August 2024

This test profile binary relies on the shared libraries libMNN.so, libm.so.6, libc.so.6, libmvec.so.1.

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)
Loongson LoongArch 64-bit
loongarch64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2, AmpereOne 192-Core, HiSilicon TSV110

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 137 Benchmark Results

AMD Ryzen 5 9600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 116 Benchmark Results

2 x AMD EPYC 7303 16-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

1 System - 8 Benchmark Results

2 x Hygon C86 7280 32-core - Suma R6240H0 62DB32 v24002826 - Chengdu Haiguang IC Design Root Complex

Ubuntu 24.04 - 6.8.0-41-generic - GCC 13.2.0

1 System - 8 Benchmark Results

2 x Intel Xeon Gold 6230 - Lenovo 07-[7X06CTO1WW] - Intel Sky Lake-E DMI3 Registers

Ubuntu 24.04 - 6.8.0-41-generic - GCC 13.2.0

1 System - 8 Benchmark Results

2 x Intel Xeon Gold 6248 - Dell PowerEdge R740xd 0WXD1Y - Intel Sky Lake-E DMI3 Registers

Ubuntu 24.04 - 6.8.0-41-generic - GCC 13.2.0

1 System - 8 Benchmark Results

Unknown - LOONGSON Dabieshan Loongson-TC542F0 - Loongson LLC Hyper Transport Bridge

Anolis OS 23.1 - 6.6.25-2.1.an23.loongarch64 - X Server 1.20.14

1 System - 8 Benchmark Results

HiSilicon TSV110 - Huawei TaiShan 200 - Huawei HiSilicon

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

4 Systems - 40 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE G242-P36-00 MP32-AR2-00 v01000100 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 24.04 - 6.8.0-11-generic - GCC 13.2.0

3 Systems - 106 Benchmark Results

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

Ubuntu 22.04 - 6.5.0-35-generic - GNOME Shell 42.9

2 Systems - 41 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

1 System - 84 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-22-amd64 - X Server 1.20.11

3 Systems - 86 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 41 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

5 Systems - 26 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

2 Systems - 62 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-22-amd64 - X Server 1.20.11

2 Systems - 41 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

3 Systems - 34 Benchmark Results

Intel Core Ultra 7 155H - Framework Laptop 13 - Intel Device 7e7f

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

2 Systems - 62 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-22-amd64 - X Server 1.20.11

3 Systems - 86 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

4 Systems - 48 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 26 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - GNOME Shell 46.0

2 Systems - 81 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

2 Systems - 67 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 12 - 6.1.0-11-amd64 - X Server

3 Systems - 106 Benchmark Results

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

Ubuntu 22.04 - 6.5.0-35-generic - GNOME Shell 42.9

4 Systems - 40 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE G242-P36-00 MP32-AR2-00 v01000100 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 24.04 - 6.8.0-11-generic - GCC 13.2.0

4 Systems - 26 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

Find More Test Results