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

42 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.032024.052024.072024.092024.1111002200330044005500
* 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 24 November 2024.
poly1305-aes24.4%sha51226.5%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 420 public results since 4 June 2022 with the latest data as of 1 November 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
82nd
9
771 +/- 20
Mid-Tier
75th
< 739
74th
8
735 +/- 14
74th
4
735 +/- 14
71st
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
37th
3
572 +/- 5
37th
3
572 +/- 8
36th
3
560 +/- 7
31st
4
533 +/- 5
29th
3
523 +/- 1
29th
3
517 +/- 17
29th
5
507 +/- 16
Low-Tier
25th
< 491
24th
5
489 +/- 1
21st
4
483 +/- 2
21st
4
483 +/- 2
17th
5
452 +/- 1
12th
8
393 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: sha512420 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.33 / 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 - 1 Benchmark Result

AMD Ryzen 7 7800X3D 8-Core - Gigabyte B650 EAGLE AX - AMD Device 14d8

Arch Linux - 6.11.5-arch1-1 - GCC 14.2.1 20240910

1 System - 90 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

1 System - 90 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASRock X670E PG Lightning - AMD Device 14d8

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

1 System - 389 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

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

1 System - 9 Benchmark Results

2 x Intel Xeon Gold 6354 - Kraftway PLC KWBLDC - Intel Device 0998

Ubuntu 20.04 - 5.4.0-187-generic - GCC 9.4.0

1 System - 2 Benchmark Results

2 x Intel Xeon Gold 6354 - Kraftway PLC KWBLDC - Intel Device 0998

Ubuntu 20.04 - 5.4.0-187-generic - GCC 9.4.0

Find More Test Results