Nettle

GNU Nettle is a low-level cryptographic library used by GnuTLS and other software.

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

Project Site

lysator.liu.se

Source Repository

github.com

Test Created

22 March 2020

Last Updated

4 June 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

13 Seconds

Average Run Time

30 Seconds

Test Dependencies

C/C++ Compiler Toolchain + OpenSSL

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsNettle Popularity Statisticspts/nettle2020.032020.042020.052020.062020.072020.082020.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.115001000150020002500
* 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 29 November 2022.
poly1305-aes24.9%sha51224.9%aes25624.9%chacha25.3%Test Option PopularityOpenBenchmarking.org

Revision History

pts/nettle-1.1.0   [View Source]   Sat, 04 Jun 2022 11:55:05 GMT
Update against GNU Nettle 3.8 upstream.

pts/nettle-1.0.1   [View Source]   Sun, 22 Mar 2020 10:19:46 GMT
Fix for library handling on some distros.

pts/nettle-1.0.0   [View Source]   Sun, 22 Mar 2020 10:15:50 GMT
Initial commit.

Suites Using This Test

Cryptography

C/C++ Compiler Tests


Performance Metrics

Analyze Test Configuration:

Nettle 3.8

Test: chacha

OpenBenchmarking.org metrics for this test profile configuration based on 313 public results since 4 June 2022 with the latest data as of 15 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
Mbyte/s (Average)
100th
10
1805 +/- 25
96th
9
1643 +/- 9
93rd
8
1612 +/- 10
92nd
3
1584 +/- 1
89th
4
1545 +/- 1
88th
8
1533 +/- 31
86th
11
1519 +/- 12
82nd
8
1503 +/- 19
79th
4
1490 +/- 1
Mid-Tier
75th
< 1483
73rd
3
1417 +/- 2
70th
8
1374 +/- 45
68th
7
1358 +/- 1
66th
4
1315 +/- 12
66th
3
1296 +/- 1
64th
4
1293 +/- 1
64th
4
1293 +/- 1
62nd
3
1290 +/- 1
58th
10
1224 +/- 16
56th
4
1217 +/- 12
55th
5
1206 +/- 1
Median
50th
1199
49th
4
1195 +/- 4
48th
4
1177 +/- 5
41st
4
1147 +/- 1
27th
3
1063 +/- 4
26th
4
1052 +/- 1
Low-Tier
25th
< 1050
25th
3
1044 +/- 4
23rd
3
1015 +/- 2
22nd
3
1004 +/- 1
19th
3
979 +/- 17
18th
5
944 +/- 55
10th
3
866 +/- 1
8th
4
810 +/- 4
OpenBenchmarking.orgDistribution Of Public Results - Test: chacha313 Results Range From 287 To 1869 Mbyte/s28732736740744748752756760764768772776780784788792796710071047108711271167120712471287132713671407144714871527156716071647168717271767180718471887714212835

Based on OpenBenchmarking.org data, the selected test / test configuration (Nettle 3.8 - Test: chacha) has an average run-time of 2 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 BenchmarkTest: chachaRun-Time246810Min: 1 / Avg: 1 / Max: 1

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 BaseNettle CPU Core ScalingTest: chacha4681216640.38130.76261.14391.52521.9065

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.
 
COMISD CVTSI2SD MOVAPD ADDSD DIVSD MULSD MOVDQU MOVDQA PSHUFHW PSHUFLW PSHUFD MOVD PUNPCKLQDQ PUNPCKHQDQ PSRLDQ PMULUDQ PADDQ MOVLPD PSLLDQ
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
AESENC AESENCLAST AESDEC AESDECLAST
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).

 
VINSERTF128 VZEROUPPER VEXTRACTF128 VPERM2F128
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).

 
VINSERTI128 VPERMQ VEXTRACTI128 VPERM2I128 VPGATHERDD VPBROADCASTQ VPBROADCASTD VPERMD VPBLENDD 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).

 
VFMADD132SD
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: 4 June 2022

This test profile binary relies on the shared libraries libnettle.so.8, libm.so.6, libcrypto.so.3, libc.so.6.

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)
ARMv8 64-bit
arm64
Apple M1
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-V1, ARMv8 rev 0 4-Core, Apple M1