TNN

TNN is an open-source deep learning reasoning framework developed by Tencent.

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

Project Site

github.com

Test Created

24 September 2020

Last Updated

18 June 2021

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 12 Seconds

Average Run Time

1 Minute, 29 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTNN Popularity Statisticspts/tnn2020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112K4K6K8K10K
* 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 30 November 2022.
MobileNet v225.0%SqueezeNet v1.124.1%DenseNet26.3%SqueezeNet v224.6%Model Option PopularityOpenBenchmarking.org

Revision History

pts/tnn-1.1.0   [View Source]   Fri, 18 Jun 2021 07:29:44 GMT
Update against TNN 0.3 upstream release.

pts/tnn-1.0.1   [View Source]   Mon, 11 Jan 2021 13:15:50 GMT
Update download mirror as the GitHub URL changed its checksums...

pts/tnn-1.0.0   [View Source]   Thu, 24 Sep 2020 18:33:29 GMT
Initial commit of Tencent TNN framework.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

TNN 0.3

Target: CPU - Model: DenseNet

OpenBenchmarking.org metrics for this test profile configuration based on 899 public results since 18 June 2021 with the latest data as of 29 November 2022.

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)
95th
8
2073 +/- 101
93rd
9
2370 +/- 2
88th
58
2433 +/- 36
84th
16
2531 +/- 24
79th
10
2617 +/- 52
79th
20
2618 +/- 58
78th
13
2636 +/- 37
Mid-Tier
75th
> 2674
74th
12
2697 +/- 270
74th
18
2707 +/- 21
71st
12
2741 +/- 27
69th
4
2805 +/- 46
68th
18
2836 +/- 62
67th
4
2847 +/- 43
66th
6
2849 +/- 20
65th
10
2868 +/- 3
60th
9
2916 +/- 137
58th
16
2984 +/- 94
58th
4
2987 +/- 39
56th
3
3009 +/- 2
52nd
6
3058 +/- 1
51st
5
3101 +/- 271
51st
3
3103 +/- 17
51st
7
3104 +/- 110
Median
50th
3107
49th
4
3152 +/- 6
48th
6
3207 +/- 226
48th
7
3221 +/- 79
45th
6
3313 +/- 58
43rd
6
3407 +/- 31
43rd
3
3412 +/- 13
40th
3
3475 +/- 12
39th
8
3490 +/- 35
38th
3
3516 +/- 3
33rd
3
3674 +/- 4
33rd
3
3677 +/- 3
32nd
4
3687 +/- 1
32nd
6
3703 +/- 296
32nd
3
3707 +/- 10
31st
3
3728 +/- 9
30th
3
3837 +/- 3
27th
3
3956 +/- 1
26th
3
4008 +/- 5
Low-Tier
25th
> 4013
25th
3
4027 +/- 59
24th
6
4055 +/- 118
24th
6
4081 +/- 12
24th
5
4085 +/- 80
22nd
6
4201 +/- 49
22nd
12
4210 +/- 219
22nd
3
4257 +/- 5
21st
6
4258 +/- 90
21st
4
4275 +/- 50
20th
3
4290 +/- 7
20th
3
4319 +/- 19
19th
5
4365 +/- 483
16th
4
4467 +/- 26
16th
6
4503 +/- 67
16th
3
4523 +/- 5
15th
3
4565 +/- 5
14th
14
4612 +/- 494
14th
3
4738 +/- 8
14th
3
4743 +/- 12
13th
6
4864 +/- 445
13th
3
4873 +/- 44
12th
5
4897 +/- 26
12th
3
4999 +/- 7
11th
5
5058 +/- 84
11th
4
5128 +/- 3
9th
7
5275 +/- 160
8th
12
5398 +/- 687
8th
7
5520 +/- 27
6th
4
5818 +/- 65
6th
5
5886 +/- 88
5th
3
6188 +/- 41
4th
4
8347 +/- 9
3rd
4
8548 +/- 10
1st
8
21557 +/- 1221
OpenBenchmarking.orgDistribution Of Public Results - Target: CPU - Model: DenseNet899 Results Range From 1418 To 129572 ms14183982654691101167414238168021936621930244942705829622321863475037314398784244245006475705013452698552625782660390629546551868082706467321075774783388090283466860308859491158937229628698850101414103978106542109106111670114234116798119362121926124490127054129618140280420560700

Based on OpenBenchmarking.org data, the selected test / test configuration (TNN 0.3 - Target: CPU - Model: DenseNet) has an average run-time of 14 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: DenseNetRun-Time1326395265Min: 5 / Avg: 13.17 / Max: 69

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTarget: CPU - Model: DenseNetDeviation246810Min: 0 / Avg: 0.08 / Max: 4

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTNN CPU Core ScalingTarget: CPU - Model: DenseNet246812162432640.71251.4252.13752.853.5625

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.
 
PUNPCKLQDQ MOVDQA MOVDQU PSRLDQ CVTSS2SD CVTSD2SS MOVAPD ADDSD UCOMISD SQRTSD MULSD DIVSD COMISD MOVD UNPCKLPD CVTPD2PS PSHUFD PMULUDQ PADDQ CVTDQ2PS CVTSI2SD CVTTSD2SI MOVUPD MAXSD XORPD SUBSD CVTTPS2DQ CVTPS2PD UNPCKHPD MULPD ANDPD CMPNLESD ANDNPD ORPD ADDPD SUBPD CVTDQ2PD CMPLEPD CVTTPD2DQ
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VEXTRACTF128 VINSERTF128 VPERMILPS VPERM2F128 VBROADCASTSS VMASKMOVPS VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VEXTRACTI128 VPERMD VPBROADCASTQ VPERM2I128 VPBROADCASTD VPERMQ VINSERTI128 VPGATHERDD VPMASKMOVD VPBROADCASTW VPBROADCASTB
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132PS VFNMADD132SS VFMADD231SS VFMADD231PS VFNMADD132PS VFMADD132SS VFMADD132SD VFMSUB231SD VFNMSUB231SD VFNMSUB132SD VFMADD132PD VFNMADD132PD VFMADD213PS VFMADD213SS VFNMADD231SD VFNMADD132SD VFMADD231PD VFMSUB231PS VFMSUB231SS VFNMADD231PD VFMADD231SD VFMSUB132SS VFMADD213SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libTNN.so.0, libm.so.6, libc.so.6, libgomp.so.1.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000LL
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Apple M1, Apple M2, Snapdragon

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 4 Benchmark Results

Intel Core i9-12900K - ASUS TUF GAMING Z690-PLUS WIFI D4 - Intel Alder Lake-S PCH

Ubuntu 22.10 - 5.19.0-21-generic - GNOME Shell 43.0

1 System - 704 Benchmark Results

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

Ubuntu 22.10 - 5.19.0-21-generic - GNOME Shell 43.0

1 System - 100 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

1 System - 4 Benchmark Results

2 x Intel Xeon Gold 6242R - Supermicro X11DPH-T v1.10 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.15.0-46-generic - GNOME Shell 3.36.9

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

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

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

2 Systems - 705 Benchmark Results

AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

1 System - 366 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.10 - 6.0.0-060000rc3daily20220904-generic - GNOME Shell

3 Systems - 221 Benchmark Results

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

CentOS Stream 9 - 5.14.0-148.el9.x86_64 - GNOME Shell 40.10

2 Systems - 240 Benchmark Results

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

Clear Linux OS 36990 - 5.19.6-1185.native - GNOME Shell 42.4

1 System - 232 Benchmark Results

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

CentOS Stream 9 - 5.14.0-148.el9.x86_64 - GNOME Shell 40.10

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 42 Benchmark Results

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

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

2 Systems - 354 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

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

4 Systems - 78 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir

Fedora 34 - 5.13.4-200.fc34.x86_64 - GNOME Shell 40.3

2 Systems - 75 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.13.2 - 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

15 Systems - 182 Benchmark Results

Intel Core i5-11600K - ASUS ROG STRIX Z590-I GAMING WIFI - Intel Tiger Lake-H

Ubuntu 21.10 - 5.16.0-051600rc8-generic - GNOME Shell 40.5

11 Systems - 119 Benchmark Results

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-PLUS - AMD Renoir

Ubuntu 21.10 - 5.16.0-051600rc8-generic - GNOME Shell 40.5

2 Systems - 56 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6i.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1045-aws - 1.0.2

13 Systems - 333 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

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

3 Systems - 89 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 - 75 Benchmark Results

AMD FX-8150 Eight-Core - ASUS M5A78L-M LX PLUS - AMD RS780 + SB7x0

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

Find More Test Results