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

27 July 2021

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 1 Second

Average Run Time

20 Minutes, 48 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + Vulkan

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsNCNN Popularity Statisticspts/ncnn2020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.104K8K12K16K20K
* 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 current as of 16 October 2021.
CPU30.2%Vulkan GPU69.8%Target Option PopularityOpenBenchmarking.org
efficientnet-b06.7%regnety_400m6.7%mnasnet6.6%resnet186.7%mobilenet-v36.6%mobilenet6.6%vgg166.7%blazeface6.7%mobilenet-v26.6%resnet506.7%squeezenet_ssd6.7%yolov4-tiny6.7%alexnet6.7%googlenet6.6%shufflenet-v26.6%Model Option PopularityOpenBenchmarking.org

Revision History

pts/ncnn-1.3.0   [View Source]   Tue, 27 Jul 2021 16:34:42 GMT
Update against NCNN 2021-07-20 upstream, fix possible Vulkan build issue by including glslang source tree.

pts/ncnn-1.2.0   [View Source]   Fri, 18 Jun 2021 08:11:33 GMT
Update against NCNN 20210525 release.

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 20210720

Target: Vulkan GPU - Model: yolov4-tiny

OpenBenchmarking.org metrics for this test profile configuration based on 483 public results since 27 July 2021 with the latest data as of 12 October 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)
96th
4
6.3 +/- 0.9
95th
17
6.4 +/- 0.7
95th
5
6.4 +/- 0.5
89th
4
7.5 +/- 0.4
85th
6
8.4 +/- 0.2
81st
12
11.2 +/- 0.4
Mid-Tier
75th
> 16.7
53rd
3
39.8 +/- 0.9
52nd
4
43.9 +/- 1.6
Median
50th
54.6
50th
3
54.7 +/- 0.3
50th
3
57.6 +/- 0.6
49th
3
62.1 +/- 0.4
Low-Tier
25th
> 67.9
19th
213
67.9 +/- 0.1
2nd
3
76.3 +/- 0.1
1st
3
82.4 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Target: Vulkan GPU - Model: yolov4-tiny477 Results Range From 5 To 87 ms5121926334047546168758289306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (NCNN 20210720 - Target: Vulkan GPU - Model: yolov4-tiny) has an average run-time of 4 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: yolov4-tinyRun-Time510152025Min: 1 / Avg: 3.66 / Max: 21

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTarget: Vulkan GPU - Model: yolov4-tinyDeviation3691215Min: 0 / Avg: 0.65 / Max: 11

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 PUNPCKLQDQ SUBSD MOVAPD MINSD MAXSD ADDSD CVTSI2SD DIVSD CVTSS2SD MULSD MULPD PSRLDQ CVTSD2SS CVTDQ2PS CVTTPS2DQ
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 VPERMQ VPBROADCASTD VPERMD VPBROADCASTB VGATHERDPS VPBROADCASTW 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 VFMADD231PS VFNMADD231PS VFMADD213PS VFMSUB132PS VFMADD213SS VFNMADD132PS VFMSUB231PS VFMSUB132SS VFMADD231SD VFNMADD213SS VFNMADD132SS VFMADD132PD VFMADD132SD VFNMADD213PS VFMSUB213PS VFNMADD231SS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 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

1 System - 495 Benchmark Results

AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

3 Systems - 326 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

4 Systems - 318 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

3 Systems - 210 Benchmark Results

AMD EPYC 74F3 24-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-16-generic - GNOME Shell 40.5

1 System - 30 Benchmark Results

3 Systems - 67 Benchmark Results

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

Ubuntu 20.04 - 5.11.0-37-generic - GNOME Shell 3.36.9

3 Systems - 185 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 19.10 - 5.9.0-050900rc6daily20200922-generic - GNOME Shell 3.34.1

2 Systems - 149 Benchmark Results

AMD Ryzen 5 3600XT 6-Core - MSI X470 GAMING M7 AC - AMD Starship

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

17 Systems - 41 Benchmark Results

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

Ubuntu 20.04 - 5.11.0-37-generic - GNOME Shell 3.36.9

17 Systems - 41 Benchmark Results

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

Ubuntu 20.04 - 5.11.0-37-generic - GNOME Shell 3.36.9

1 System - 149 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 19.10 - 5.3.0-18-generic - GNOME Shell 3.34.1

3 Systems - 126 Benchmark Results

AMD Ryzen 3 3300X 4-Core - MSI B350M GAMING PRO - AMD Starship

Ubuntu 20.04 - 5.9.0-rc5-14sep-patch - GNOME Shell 3.36.4

6 Systems - 186 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

openSUSE Tumbleweed 20210929 - 5.14.6-1-default - KDE Plasma

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 115 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.10 - 5.13.0-14-generic - GNOME Shell 40.2

2 Systems - 30 Benchmark Results

AMD Ryzen 5 3600 6-Core - Gigabyte X570 AORUS PRO - AMD Starship

ManjaroLinux 21.1.0 - 5.14.0-1-MANJARO - X Server 1.20.13

4 Systems - 63 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 20.10 - 5.11.0-rc1-phx - GNOME Shell 3.38.1

3 Systems - 34 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.14.0-rc1-clang-lto - GNOME Shell 3.36.9

3 Systems - 65 Benchmark Results

Intel Core i3-8100 - ASRock Z370M-ITX/ac - Intel 8th Gen Core 4-core Desktop

Ubuntu 20.04 - 5.9.0-050900rc1daily20200819-generic - GNOME Shell 3.36.4

3 Systems - 89 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.9.0-050900rc6daily20200922-generic - GNOME Shell 3.36.4

3 Systems - 52 Benchmark Results

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

Ubuntu 20.04 - 5.9.0-050900daily20201012-generic - GNOME Shell 3.36.4

3 Systems - 34 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

4 Systems - 93 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 20.04 - 5.12.0-051200rc2daily20210307-generic - GNOME Shell 3.36.4

4 Systems - 196 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

3 Systems - 34 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

3 Systems - 66 Benchmark Results

Intel Core i5-8400 - MSI Z370M MORTAR - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc7daily20200929-generic - GNOME Shell 3.36.4

3 Systems - 149 Benchmark Results

Intel Core i5-10600K - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

Ubuntu 20.10 - 5.11.0-051100rc2daily20210106-generic - GNOME Shell 3.38.1

5 Systems - 67 Benchmark Results

AMD Ryzen Threadripper 2970WX 24-Core - Gigabyte X399 AORUS Gaming 7 - AMD 17h

Ubuntu 20.04 - 5.9.0-050900rc6daily20200926-generic - GNOME Shell 3.36.4

Find More Test Results