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

39 Seconds

Average Run Time

30 Seconds

Test Dependencies

C/C++ Compiler Toolchain + OpenSSL

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsNettle Popularity Statisticspts/nettle2020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.039001800270036004500
* 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 updated weekly as of 13 April 2024.
poly1305-aes24.5%sha51226.3%aes25624.4%chacha24.7%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.5.1

Test: aes256

OpenBenchmarking.org metrics for this test profile configuration based on 329 public results since 22 March 2020 with the latest data as of 30 December 2023.

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)
99th
11
8166 +/- 118
95th
6
7598 +/- 7
84th
3
6307 +/- 10
Mid-Tier
75th
< 6159
75th
3
6158 +/- 34
Median
50th
5429
50th
3
5389 +/- 43
43rd
3
4803 +/- 10
43rd
4
4799 +/- 5
37th
3
4728 +/- 7
37th
4
4728 +/- 3
29th
3
4518 +/- 7
26th
4
4383 +/- 7
Low-Tier
25th
< 4377
24th
3
4282 +/- 2
15th
3
1257 +/- 7
OpenBenchmarking.orgDistribution Of Public Results - Test: aes256329 Results Range From 38 To 10132 Mbyte/s3824044264484610481250145216541856205822602462266428663068327034723674387640784280448246844886508852905492569458966098630065026704690671087310751277147916811883208522872489269128933095329734993610138918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (Nettle 3.5.1 - Test: aes256) 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: aes256Run-Time246810Min: 1 / Avg: 1 / Max: 1

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: aes256Deviation3691215Min: 0 / Avg: 0.28 / Max: 9

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)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 64-Core, Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

20 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8375C - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

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

19 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8272CL - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

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

18 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8375C - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

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

17 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8272CL - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

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

17 Systems - 119 Benchmark Results

2 x AMD EPYC 7313 16-Core - TYAN S8251GM2NE-2T - AMD Starship

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

Find More Test Results