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

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

50 Seconds

Average Run Time

20 Minutes, 48 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + Vulkan

Accolades

5k+ Downloads + Recently Updated Test Profile

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.062K4K6K8K10K
* 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 19 June 2021.
Vulkan GPU19.5%CPU69.8%CPU-v3-v35.4%CPU-v2-v25.4%Target Option PopularityOpenBenchmarking.org

Revision History

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 20210525

Target: CPU - Model: efficientnet-b0

OpenBenchmarking.org metrics for this test profile configuration based on 43 public results since 18 June 2021 with the latest data as of 18 June 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)
Mid-Tier
75th
> 5.4
70th
3
6.6 +/- 0.2
61st
3
9.3 +/- 0.2
Median
50th
10.9
42nd
3
11.3 +/- 0.1
40th
4
11.4 +/- 0.6
31st
3
12.5 +/- 0.4
26th
3
12.6 +/- 0.1
Low-Tier
25th
> 12.7
17th
3
13.0 +/- 0.1
10th
3
18.5 +/- 0.4
3rd
3
30.0 +/- 0.4
OpenBenchmarking.orgDistribution Of Public Results - Target: CPU - Model: efficientnet-b043 Results Range From 4 To 31 ms47101316192225283134374048121620

Based on OpenBenchmarking.org data, the selected test / test configuration (NCNN 20210525 - Target: CPU - Model: efficientnet-b0) has an average run-time of 7 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: CPU - Model: efficientnet-b0Run-Time612182430Min: 3 / Avg: 6.9 / Max: 26

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTarget: CPU - Model: efficientnet-b0Deviation48121620Min: 0 / Avg: 2.08 / Max: 13

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

4 Systems - 26 Benchmark Results

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

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

4 Systems - 34 Benchmark Results

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

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

3 Systems - 26 Benchmark Results

Intel Core i7-8550U - Dell 0H0VG3 - Intel Xeon E3-1200 v6

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

3 Systems - 26 Benchmark Results

Intel Xeon E3-1280 v5 - MSI Z170A SLI PLUS - Intel Xeon E3-1200 v5

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

1 System - 95 Benchmark Results

Intel Xeon W-2235 - Dell 06JWJY - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.8.0-55-generic - GNOME Shell 3.36.9

3 Systems - 26 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Ubuntu 20.04 - 5.8.0-53-generic - GNOME Shell 3.36.4

3 Systems - 26 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

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

3 Systems - 26 Benchmark Results

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

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

3 Systems - 34 Benchmark Results

Intel Xeon E-2288G - Compulab SBC-ATCFL v1.2 - Intel Cannon Lake PCH

Ubuntu 20.10 - 5.8.0-41-generic - GNOME Shell 3.38.2

3 Systems - 41 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

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

5 Systems - 26 Benchmark Results

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

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

3 Systems - 41 Benchmark Results

AMD Ryzen 5 3400G - ASUS PRIME B450M-A - AMD Raven

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

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 41 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

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

3 Systems - 41 Benchmark Results

AMD Ryzen 5 3400G - ASUS PRIME B450M-A - AMD Raven

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

3 Systems - 34 Benchmark Results

Intel Xeon E-2288G - Compulab SBC-ATCFL v1.2 - Intel Cannon Lake PCH

Ubuntu 20.10 - 5.8.0-41-generic - GNOME Shell 3.38.2

3 Systems - 41 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

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

3 Systems - 26 Benchmark Results

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

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

5 Systems - 26 Benchmark Results

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

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

3 Systems - 26 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

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

3 Systems - 26 Benchmark Results

Intel Xeon E3-1280 v5 - MSI Z170A SLI PLUS - Intel Xeon E3-1200 v5

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

3 Systems - 26 Benchmark Results

Intel Core i7-8550U - Dell 0H0VG3 - Intel Xeon E3-1200 v6

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

3 Systems - 26 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Ubuntu 20.04 - 5.8.0-53-generic - GNOME Shell 3.36.4

4 Systems - 26 Benchmark Results

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

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

4 Systems - 34 Benchmark Results

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

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

Find More Test Results