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

Test: sha512

OpenBenchmarking.org metrics for this test profile configuration based on 411 public results since 4 June 2022 with the latest data as of 16 April 2024.

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
12
913 +/- 19
88th
9
828 +/- 9
86th
10
818 +/- 28
83rd
9
771 +/- 20
Mid-Tier
75th
< 739
74th
8
735 +/- 14
74th
4
735 +/- 14
72nd
4
722 +/- 5
66th
9
704 +/- 24
66th
7
702 +/- 3
59th
3
649 +/- 11
Median
50th
627
46th
3
605 +/- 5
44th
4
601 +/- 2
40th
4
584 +/- 2
39th
3
583 +/- 1
37th
3
575 +/- 1
36th
3
572 +/- 5
36th
3
572 +/- 8
35th
3
560 +/- 7
30th
4
533 +/- 5
29th
3
523 +/- 1
29th
3
517 +/- 17
28th
5
507 +/- 16
Low-Tier
25th
< 498
24th
5
489 +/- 1
21st
4
483 +/- 2
21st
4
483 +/- 2
17th
5
452 +/- 1
11th
8
393 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: sha512410 Results Range From 28 To 957 Mbyte/s285888118148178208238268298328358388418448478508538568598628658688718748778808838868898928958918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (Nettle 3.8 - Test: sha512) 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: sha512Run-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: sha512Deviation246810Min: 0 / Avg: 0.29 / Max: 6

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: sha512468101216640.39170.78341.17511.56681.9585

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)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A6000
ARMv8 64-bit
arm64
Apple M1
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, ARMv8 rev 0 4-Core, Apple M1, Phytium D2000

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 4 Benchmark Results

Intel Core i7-12700H - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-18-amd64 - GNOME Shell 43.9

1 System - 293 Benchmark Results

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 250 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 89 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Arch Linux - 6.8.1-arch1-1 - GCC 13.2.1 20230801 + Clang 17.0.6

1 System - 187 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Debian 12 - 6.1.0-18-amd64 - X Server 1.21.1.7

1 System - 9 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-100-generic - 1.3.255

1 System - 4 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-100-generic - 1.3.255

1 System - 4 Benchmark Results

Phytium D2000/8 E8C - GreatWall GW-001M1A-FTF v1.0 - 16GB

Uos 20 - 4.19.0-arm64-desktop - Deepin Desktop Environment

1 System - 76 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 75 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 89 Benchmark Results

2 x Intel Xeon Gold 6240 - Dell 08JG8G - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

16 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

2 Systems - 86 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 11 - 5.10.0-10-amd64 - X Server

4 Systems - 157 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 - 178 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-40-generic - GNOME Shell 3.38.4

3 Systems - 144 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.11.0-43-generic - GNOME Shell 3.36.4

3 Systems - 171 Benchmark Results

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

Ubuntu 21.10 - 5.13.0-27-generic - GNOME Shell 40.5

4 Systems - 20 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

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

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

Find More Test Results