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

1 Minute

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.094K8K12K16K20K
* 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 10 October 2024.
SqueezeNetV1.012.4%resnet-v2-5013.0%inception-v312.4%mobilenetV312.6%squeezenetv1.112.4%mobilenet-v1-1.012.4%nasnet12.4%MobileNetV2_22412.4%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 152 public results since 11 August 2024 with the latest data as of 11 October 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)
96th
3
8.9 +/- 1.2
79th
11
10.9 +/- 0.8
Mid-Tier
75th
> 11.2
74th
4
11.3 +/- 1.7
67th
4
12.6 +/- 0.2
54th
4
16.7 +/- 0.2
52nd
6
17.0 +/- 1.7
51st
6
18.4 +/- 0.8
Median
50th
18.9
46th
4
19.5 +/- 0.6
44th
4
19.7 +/- 0.1
35th
4
20.3 +/- 0.4
35th
5
20.4 +/- 0.3
33rd
4
20.8 +/- 0.4
29th
6
29.7 +/- 0.8
Low-Tier
25th
> 31.8
19th
6
33.9 +/- 0.5
14th
4
35.1 +/- 0.5
12th
4
35.8 +/- 1.7
8th
4
38.0 +/- 1.1
3rd
4
59.3 +/- 4.1
OpenBenchmarking.orgDistribution Of Public Results - Model: resnet-v2-50149 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 17 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: 17 / Max: 55

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: resnet-v2-50Deviation246810Min: 0 / Avg: 0.17 / 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 - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 54 Benchmark Results

Intel Core Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.11.0-phx - GNOME Shell 47.0

2 Systems - 55 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

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

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

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

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

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

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

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

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

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

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

2 Systems - 91 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

Find More Test Results