NCNN

NCNN is a high performance neural network inference framework optimized for mobile and other platforms developed by Tencent.

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

Project Site

github.com

Test Created

18 September 2020

Last Updated

18 December 2020

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

53 Seconds

Average Run Time

20 Minutes, 48 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + Vulkan

Accolades

5k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsNCNN Popularity Statisticspts/ncnn2020.092020.102020.112020.122021.012021.022021.032021.042K4K6K8K10K
* 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.
Data current as of Sun, 18 Apr 2021 09:05:24 GMT.
Vulkan GPU74.7%CPU13.8%Vulkan GPU-v2-v25.7%Vulkan GPU-v3-v35.7%Target Option PopularityOpenBenchmarking.org
mnasnet6.7%efficientnet-b06.7%vgg166.7%yolov4-tiny6.7%squeezenet_ssd6.7%resnet186.7%regnety_400m6.7%shufflenet-v26.7%resnet506.7%mobilenet-v26.7%alexnet6.7%blazeface6.6%googlenet6.7%mobilenet6.7%mobilenet-v36.7%Model Option PopularityOpenBenchmarking.org

Revision History

pts/ncnn-1.1.0   [View Source]   Fri, 18 Dec 2020 08:06:41 GMT
Update against new upstream NCNN 20201218.

pts/ncnn-1.0.3   [View Source]   Fri, 25 Sep 2020 06:36:39 GMT
Drop int8 tests per https://github.com/phoronix-test-suite/test-profiles/pull/167

pts/ncnn-1.0.2   [View Source]   Thu, 24 Sep 2020 12:52:47 GMT
Expose Vulkan GPU support.

pts/ncnn-1.0.1   [View Source]   Fri, 18 Sep 2020 12:28:10 GMT
Increase the run count.

pts/ncnn-1.0.0   [View Source]   Fri, 18 Sep 2020 11:58:15 GMT
Initial commit of Tencent NCNN.

Suites Using This Test

Machine Learning

HPC - High Performance Computing

NVIDIA GPU Compute

Vulkan Compute


Performance Metrics

Analyze Test Configuration:

NCNN 20201218

Target: Vulkan GPU - Model: resnet18

OpenBenchmarking.org metrics for this test profile configuration based on 2,636 public results since 18 December 2020 with the latest data as of 9 April 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.

OpenBenchmarking.orgDistribution Of Public Results - Target: Vulkan GPU - Model: resnet182608 Results Range From 10 To 364 ms10294867861051241431621812002192382572762953143333523715001000150020002500

Based on OpenBenchmarking.org data, the selected test / test configuration (NCNN 20201218 - Target: Vulkan GPU - Model: resnet18) has an average run-time of 10 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 BenchmarkTarget: Vulkan GPU - Model: resnet18Run-Time714212835Min: 3 / Avg: 9.78 / Max: 33

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTarget: Vulkan GPU - Model: resnet18Deviation612182430Min: 0 / Avg: 3.46 / Max: 25

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.
 
MOVDQA MOVD PSHUFD PSHUFLW MOVDQU SUBSD MOVAPD MINSD MAXSD ADDSD CVTSI2SD DIVSD PUNPCKLQDQ CVTSS2SD MULSD MULPD PSRLDQ CVTSD2SS CVTDQ2PS CVTTPS2DQ PMULUDQ
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

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

 
VINSERTI128 VPERM2I128 VEXTRACTI128 VPERMD VPERMQ VPBROADCASTD VPBROADCASTB VGATHERDPS VPBROADCASTW VPGATHERQQ VPSRLVQ VPBROADCASTQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132PS VFMADD132SS VFMADD231SS VFMADD213PS VFMADD231PS VFNMADD231PS VFNMADD132PS VFMSUB231PS VFMSUB132PS VFMADD213SS VFMSUB213PS VFMSUB132SS VFMADD132SD VFNMADD213SS VFNMADD132SS VFNMADD231SS VFMADD132PD VFNMADD213PS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 30 January 2021

This test profile binary relies on the shared libraries libgomp.so.1, libpthread.so.0, libm.so.6, libmvec.so.1, libc.so.6, libdl.so.2.

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 99 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

3 Systems - 100 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

1 System - 92 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRock X570 Phantom Gaming-ITX/TB3 - AMD Device 1480

Ubuntu 18.04 - 5.4.0-70-generic - GNOME Shell 3.28.4

1 System - 100 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

4 Systems - 138 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 30 Benchmark Results

AMD Ryzen 5 3600 6-Core - MSI B550M PRO-VDH WIFI - AMD Starship

Linuxmint 20.1 - 5.11.0-051100-generic - MATE 1.24.0

1 System - 34 Benchmark Results

2 x Intel Xeon E5-2640 v4 - Supermicro X10DRG-O+-CPU v1.00 - Intel Xeon E7 v4

Ubuntu 18.04 - 5.4.0-67-generic - X Server

2 Systems - 23 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASUS ROG STRIX B550-F GAMING - AMD Starship

Pop 20.10 - 5.8.0-7642-generic - GNOME Shell 3.38.3

1 System - 23 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASUS ROG STRIX B550-F GAMING - AMD Starship

Pop 20.10 - 5.8.0-7642-generic - GNOME Shell 3.38.3

1 System - 30 Benchmark Results

ARMv8 rev 0 - Jetson-AGX - 32GB

Ubuntu 18.04 - 4.9.140-tegra - GNOME Shell 3.28.4

1 System - 120 Benchmark Results

2 x AMD EPYC 7V12 64-Core - Microsoft Virtual Machine - 434GB

Ubuntu 20.04 - 5.4.0-1039-azure - GNOME Shell 3.36.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

6 Systems - 143 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.8.0-36-generic - GNOME Shell 3.38.1

3 Systems - 191 Benchmark Results

AMD Ryzen 3 2200G - ASUS PRIME B350M-E - AMD Raven

Ubuntu 20.10 - 5.8.0-38-generic - GNOME Shell 3.38.1

4 Systems - 91 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS TUF GAMING B550M-PLUS - AMD Starship

Ubuntu 20.10 - 5.10.4-051004-generic - GNOME Shell 3.38.1

4 Systems - 80 Benchmark Results

Intel Core i7-9750H - Notebook P95_96_97Ex Rx - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.7.0-999-generic - GNOME Shell 3.36.4

4 Systems - 110 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 20.10 - 5.8.0-33-generic - GNOME Shell 3.38.1

2 Systems - 85 Benchmark Results

Intel Core i7-10510U - LENOVO 20U9CTO1WW - Intel Comet Lake PCH-LP

Fedora 33 - 5.9.16-200.fc33.x86_64 - KDE Plasma 5.20.4

1 System - 16 Benchmark Results

Intel Core i7-7700K - ASUS MAXIMUS IX CODE - Intel Xeon E3-1200 v6

Fedora 32 - 5.9.16-100.fc32.x86_64 - Openbox 3.6.1

4 Systems - 145 Benchmark Results

Intel Core i7-9750H - Notebook P95_96_97Ex Rx - Intel Cannon Lake PCH

Ubuntu 18.04 - 5.4.0-65-generic - KDE Plasma 5.12.9

6 Systems - 107 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Fedora 33 - 5.9.14-200.fc33.x86_64 - GNOME Shell 3.38.2

3 Systems - 147 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

Ubuntu 20.10 - 5.8.0-33-generic - GNOME Shell 3.38.1

Find More Test Results