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

17 November 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

54 Seconds

Average Run Time

8 Minutes, 24 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Accolades

60k+ Downloads + Recently Updated Test Profile

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.092024.114K8K12K16K20K
* 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 18 November 2024.
SqueezeNetV1.012.4%resnet-v2-5012.9%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-3.0.0   [View Source]   Sun, 17 Nov 2024 23:52:11 GMT
Update against MNN 3.0 upstream.

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 209 public results since 11 August 2024 with the latest data as of 15 November 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)
95th
3
8.9 +/- 1.2
81st
5
10.8 +/- 0.2
81st
11
10.9 +/- 0.8
Mid-Tier
75th
> 11.3
75th
4
11.3 +/- 1.7
67th
7
12.5 +/- 0.2
67th
8
12.6 +/- 0.1
56th
3
15.9 +/- 0.1
52nd
4
16.7 +/- 0.2
51st
7
17.3 +/- 1.7
Median
50th
17.5
49th
7
18.4 +/- 0.7
44th
4
19.5 +/- 0.6
43rd
4
19.7 +/- 0.1
36th
4
20.3 +/- 0.4
36th
6
20.5 +/- 0.3
33rd
4
20.8 +/- 0.4
31st
4
21.7 +/- 1.2
Low-Tier
25th
> 27.0
24th
7
29.8 +/- 0.8
20th
8
32.8 +/- 2.9
16th
3
33.6 +/- 1.9
12th
4
35.1 +/- 0.5
10th
4
35.8 +/- 1.7
6th
4
38.0 +/- 1.1
3rd
4
59.3 +/- 4.1
OpenBenchmarking.orgDistribution Of Public Results - Model: resnet-v2-50206 Results Range From 4 To 130 ms4152637485970819210311412513620406080100

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 15 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: 2 / Avg: 14.94 / 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.18 / 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 Cortex-A76 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, AmpereOne 192-Core, HiSilicon TSV110

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 79 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

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

3 Systems - 166 Benchmark Results

Intel Core i7-1065G7 - Dell XPS 13 7390 2-in-1 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

1 System - 323 Benchmark Results

AMD Ryzen Threadripper 7960X 24-Cores - Gigabyte TRX50 AERO D - AMD Device 14a4

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

1 System - 12 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

Fedora 41 - 6.11.5-300.fc41.x86_64 - Cinnamon 6.2.9

2 Systems - 78 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

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

2 Systems - 541 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1012-raspi - KDE Plasma 5.27.11

2 Systems - 525 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1013-raspi - KDE Plasma 5.27.11

1 System - 342 Benchmark Results

Intel Core i9-12900K - ASUS PRIME Z790-V AX - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-47-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

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

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

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

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

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

Find More Test Results