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.102021.112021.124K8K12K16K20K
* 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 7 December 2021.
CPU27.6%Vulkan GPU72.4%Target Option PopularityOpenBenchmarking.org
efficientnet-b06.7%regnety_400m6.7%mnasnet6.6%resnet186.7%mobilenet-v36.6%mobilenet6.6%vgg166.7%blazeface6.6%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 830 public results since 27 July 2021 with the latest data as of 6 December 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)
98th
4
6.3 +/- 0.9
97th
5
6.4 +/- 0.5
97th
20
6.5 +/- 0.7
93rd
4
7.5 +/- 0.4
91st
6
8.4 +/- 0.2
83rd
56
11.2 +/- 0.2
Mid-Tier
75th
> 16.7
53rd
3
39.8 +/- 0.9
53rd
5
42.7 +/- 2.9
Median
50th
43.4
48th
4
49.8 +/- 3.2
47th
4
53.0 +/- 1.3
46th
3
54.7 +/- 0.3
46th
3
57.6 +/- 0.6
46th
3
62.1 +/- 0.4
Low-Tier
25th
> 67.9
17th
345
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-tiny790 Results Range From 5 To 87 ms512192633404754616875828950100150200250

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

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTarget: Vulkan GPU - Model: yolov4-tinyDeviation3691215Min: 0 / Avg: 0.88 / 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

2 Systems - 169 Benchmark Results

1 System - 169 Benchmark Results

3 Systems - 177 Benchmark Results

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

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

3 Systems - 261 Benchmark Results

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

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

1 System - 126 Benchmark Results

Intel Core i5-11600K - NZXT N7 Z490 - Intel Comet Lake PCH

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

1 System - 124 Benchmark Results

Intel Core i7-11800H - Dell 0YC2KJ - Intel Device 43ef

Ubuntu 20.04 - 5.14.0-1007-oem - GNOME Shell 3.36.9

1 System - 124 Benchmark Results

Intel Core i5-10400F - Dell 0M6C7G - Intel Comet Lake PCH

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

1 System - 26 Benchmark Results

Intel Core i5-7440HQ - Dell 00YYJC - Intel Xeon E3-1200 v6

Debian 10 - 5.14.5 - KDE Plasma 5.14.5

3 Systems - 75 Benchmark Results

AMD FX-8350 Eight-Core - ASUS SABERTOOTH 990FX R2.0 - AMD RD9x0

Gentoo - 5.15.2-gentoo-x86_64 - X Server 1.20.13

3 Systems - 75 Benchmark Results

AMD FX-8350 Eight-Core - ASUS SABERTOOTH 990FX R2.0 - AMD RD9x0

Gentoo - 5.15.2-gentoo-x86_64 - KDE Plasma 5.22.5

4 Systems - 39 Benchmark Results

Intel Core i5-12600K - MSI PRO Z690-A DDR4 - Intel Device 7aa7

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

3 Systems - 203 Benchmark Results

Intel Core i7-8086K - ASUS PRIME Z370-A - Intel 8th Gen Core

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

4 Systems - 56 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 21.10 - 5.15.0-051500rc7daily20211029-generic - GNOME Shell 40.5

3 Systems - 266 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.9.0-050900rc8daily20201005-generic - GNOME Shell 3.36.2

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.04 - 5.11.0-31-generic - GNOME Shell 3.38.4

2 Systems - 30 Benchmark Results

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

Ubuntu 21.04 - 5.11.0-25-generic - GNOME Shell 3.38.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

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

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

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

3 Systems - 105 Benchmark Results

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

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

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

Find More Test Results