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, 3 Seconds

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.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 current as of 21 September 2021.
CPU33.0%Vulkan GPU67.0%Target Option PopularityOpenBenchmarking.org
efficientnet-b06.6%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.8%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 341 public results since 27 July 2021 with the latest data as of 11 September 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)
99th
7
7.1 +/- 0.4
92nd
6
8.4 +/- 0.2
88th
5
11.2 +/- 0.5
Mid-Tier
75th
> 20.4
58th
3
39.8 +/- 0.9
57th
4
43.9 +/- 1.6
55th
3
54.7 +/- 0.3
54th
3
57.6 +/- 0.6
53rd
3
62.1 +/- 0.4
Median
50th
67.8
20th
162
67.9 +/- 0.1
Low-Tier
25th
> 67.9
3rd
3
76.3 +/- 0.1
1st
3
82.4 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Target: Vulkan GPU - Model: yolov4-tiny341 Results Range From 6 To 83 ms61320273441485562697683904080120160200

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.82 / 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.73 / 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 - 30 Benchmark Results

AMD Ryzen 5 3500U - Schenker PF5PU1G - AMD Raven

Arch Linux - 5.14.7-arch1-1 - GNOME Shell 40.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

1 System - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 PG Velocita - AMD Starship

Pop 21.04 - 5.11.0-7620-generic - GNOME Shell 3.38.4

1 System - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 PG Velocita - AMD Starship

Pop 21.04 - 5.11.0-7620-generic - GNOME Shell 3.38.4

4 Systems - 146 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

4 Systems - 113 Benchmark Results

Intel Core i7-4770K - Gigabyte Z97-HD3 - Intel 4th Gen Core DRAM

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

4 Systems - 145 Benchmark Results

Intel Xeon E3-1270 v5 - ASUS E3 PRO GAMING V5 - Intel Xeon E3-1200 v5

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

3 Systems - 192 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

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

2 Systems - 140 Benchmark Results

AMD Ryzen 9 5900X 12-Core - 8GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 5.10.16.3-microsoft-standard-WSL2 - Wayland

3 Systems - 64 Benchmark Results

Intel Xeon E3-1231 v3 - Gigabyte H81M-S1 - Intel Xeon E3-1200 v3 DRAM

Debian 10 - 4.19.0-17-amd64 - X Server 1.20.4

1 System - 166 Benchmark Results

AMD Ryzen 9 5900X 12-Core - 8GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 5.10.16.3-microsoft-standard-WSL2 - Wayland

3 Systems - 170 Benchmark Results

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

5 Systems - 186 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-16-generic - GNOME Shell 3.38.4

1 System - 15 Benchmark Results

AMD Ryzen 9 5900HX - GIGABYTE RC47AK - AMD Renoir

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

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

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

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

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

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

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

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

3 Systems - 91 Benchmark Results

Intel Xeon E3-1275 v6 - ASUS P10S-M WS - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.9.0-050900rc8daily20201007-generic - X Server 1.20.8

Find More Test Results