Botan

Botan is a BSD-licensed cross-platform open-source C++ crypto library "cryptography toolkit" that supports most publicly known cryptographic algorithms. The project's stated goal is to be "the best option for cryptography in C++ by offering the tools necessary to implement a range of practical systems, such as TLS protocol, X.509 certificates, modern AEAD ciphers, PKCS#11 and TPM hardware support, password hashing, and post quantum crypto schemes."

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

Project Site

botan.randombit.net

Test Created

1 November 2012

Last Updated

27 March 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 48 Seconds

Average Run Time

7 Minutes, 4 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

200k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsBotan Popularity Statisticspts/botan2012.112013.022013.052013.082013.112014.022014.052014.082014.112015.022015.052015.082015.112016.022016.052016.082016.112017.022017.052017.082017.112018.022018.052018.082018.112019.022019.052019.082019.112020.022020.052020.082020.112021.022021.057K14K21K28K35K
* 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.
Data current as of Wed, 05 May 2021 13:40:12 GMT.
ChaCha20Poly130516.6%AES-25616.8%CAST-25616.6%KASUMI16.8%Blowfish16.6%Twofish16.6%Test Option PopularityOpenBenchmarking.org

Revision History

pts/botan-1.6.0   [View Source]   Sat, 27 Mar 2021 12:40:33 GMT
Update against Botan 2.17.3 upstream, add ChaCha20Poly1305 option.

pts/botan-1.5.0   [View Source]   Sat, 29 Feb 2020 07:51:13 GMT
Update against Botan upstream.

pts/botan-1.4.0   [View Source]   Tue, 18 Dec 2018 10:44:45 GMT
Update against Botan 2.8, explicitly use Python3

pts/botan-1.3.0   [View Source]   Thu, 17 May 2018 17:08:55 GMT
Update against Botan 2.6 upstream.

pts/botan-1.2.0   [View Source]   Wed, 07 Feb 2018 14:47:57 GMT
Update against upstream Botan 2.4.0 test and make necessary profile changes for accomodating the upstream alterations for benchmarking.

pts/botan-1.1.1   [View Source]   Thu, 25 Aug 2016 14:13:19 GMT
Update download links

pts/botan-1.1.0   [View Source]   Fri, 10 Jan 2014 14:38:52 GMT
Update against upstream Botan 1.11.6.

pts/botan-1.0.0   [View Source]   Thu, 01 Nov 2012 14:28:42 GMT
Initial commit of new botan test profile that is a cryptography algorithm benchmark of the Botan C++ crypto library.

Suites Using This Test

Cryptography

CPU Massive

Single-Threaded


Performance Metrics

Analyze Test Configuration:

Botan 2.17.3

Test: AES-256

OpenBenchmarking.org metrics for this test profile configuration based on 243 public results since 27 March 2021 with the latest data as of 5 May 2021.

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
# Matching Public Results
MiB/s (Average)
100th
11
8197 +/- 494
96th
4
7677 +/- 20
92nd
4
7369 +/- 48
92nd
6
7366 +/- 273
90th
3
7189 +/- 11
88th
5
6334 +/- 3
84th
4
6186 +/- 9
83rd
4
6179 +/- 11
78th
4
6153 +/- 12
Mid-Tier
75th
< 6027
67th
3
5685 +/- 12
51st
5
5092 +/- 389
Median
50th
5034
50th
4
5031 +/- 3
48th
3
4912 +/- 7
46th
3
4817 +/- 10
45th
3
4815 +/- 1
43rd
3
4800 +/- 1
42nd
3
4763 +/- 14
42nd
3
4757 +/- 3
39th
3
4605 +/- 14
38th
3
4591 +/- 1
36th
3
4558 +/- 2
35th
3
4530 +/- 6
34th
3
4290 +/- 3
33rd
3
4108 +/- 4
31st
3
4030 +/- 1
30th
3
4019 +/- 2
28th
3
3906 +/- 2
Low-Tier
25th
< 3769
25th
3
3764 +/- 5
24th
3
3642 +/- 8
21st
3
3450 +/- 4
20th
4
3386 +/- 6
18th
4
3350 +/- 1
13th
3
3021 +/- 2
8th
3
2880 +/- 6
6th
3
2321 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: AES-256243 Results Range From 39 To 8834 MiB/s39215391567743919109512711447162317991975215123272503267928553031320733833559373539114087426344394615479149675143531954955671584760236199637565516727690370797255743176077783795981358311848786638839612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (Botan 2.17.3 - Test: AES-256) 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: AES-256Run-Time246810Min: 1 / Avg: 1.88 / Max: 3

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 BaseBotan CPU Core ScalingTest: AES-2564681624640.6751.352.0252.73.375

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.
 
MOVDQU MOVDQA PUNPCKLQDQ CVTSI2SD DIVSD ADDSD COMISD CVTTSD2SI SUBSD MOVAPD SHUFPD MOVD PSLLDQ PSHUFD PSRLDQ PSHUFHW PSHUFLW PUNPCKHQDQ MULSD PADDQ PSUBQ MINSD PMULUDQ ANDPD UCOMISD ANDNPD CMPNLESD ORPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VZEROALL VINSERTF128 VEXTRACTF128 VBROADCASTSS VBROADCASTSD VPERM2F128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VINSERTI128 VPBROADCASTD VEXTRACTI128 VPERM2I128 VPERMQ VPBLENDD VPSRLVQ VPSLLVQ VPBROADCASTW VPBROADCASTQ VPMASKMOVQ VPSRAVD VPMASKMOVD VPGATHERQD VPSRLVD VPBROADCASTB VPERMD
Used by default on supported hardware.
Found on Intel processors since Westmere (2011).
Found on AMD processors since Bulldozer (2011).

 
AESENC AESENCLAST AESDEC AESDECLAST AESKEYGENASSIST AESIMC
Vector AES (VAES)
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Ice Lake (2019).
Found on AMD processors since Zen 3 (2020).

 
VAESENC VAESENCLAST VAESDEC VAESDECLAST
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 VFMADD213SD VFMADD231SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 30 January 2021

This test profile binary relies on the shared libraries libbotan-2.so.13, libdl.so.2, librt.so.1, libm.so.6, libpthread.so.0, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 120 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Device e100

Ubuntu 20.04 - 5.11.0-051100-generic-64k - GNOME Shell 3.36.4

3 Systems - 158 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

3 Systems - 147 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

3 Systems - 139 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

3 Systems - 134 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

4 Systems - 40 Benchmark Results

Intel Core i7-10700T - Logic Supply RXM-181 - Intel Comet Lake PCH

Ubuntu 21.04 - 5.11.0-16-generic - GNOME Shell 3.38.4

3 Systems - 42 Benchmark Results

Intel Xeon E3-1231 v3 - Gigabyte H81M-S1 - Intel Xeon E3-1200 v3 DRAM

Debian 10 - 4.19.0-16-amd64 - X Server 1.20.4

2 Systems - 110 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

2 Systems - 107 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

8 Systems - 188 Benchmark Results

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

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

1 System - 2 Benchmark Results

ARMv8 Cortex-A57 - Baikal Baikal-M mitx board - 8GB

AstraLinuxCE 4.11.4 - 5.4.0-54-generic - X Server 1.20.10

1 System - 732 Benchmark Results

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

Ubuntu 20.04 - 5.11.6-051106-generic - GNOME Shell 3.36.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 104 Benchmark Results

Intel Core i7-2700K - BIOSTAR B75MU3B v5.0 - Intel 2nd Generation Core DRAM

Ubuntu 20.04 - 5.9.1-050901-generic - GNOME Shell 3.34.1

3 Systems - 47 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

4 Systems - 25 Benchmark Results

AMD EPYC 7F72 24-Core - ASRockRack EPYCD8 - AMD Starship

Ubuntu 20.04 - 5.9.0-050900rc6daily20200921-generic - GNOME Shell 3.36.4

3 Systems - 30 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - MSI MEG X399 CREATION - AMD 17h

Debian 10 - 5.8.1-050801-generic - GNOME Shell 3.30.2

4 Systems - 150 Benchmark Results

Intel Xeon E3-1235L v5 - ASRockRack C236M WS - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.8.0-050800-generic - GNOME Shell 3.36.4

3 Systems - 25 Benchmark Results

Intel Core i9-9900K - ASRock Z390M Pro4 - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.9.0-050900rc1daily20200819-generic - GNOME Shell 3.36.4

5 Systems - 21 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 20.10 - 5.9.0-050900-generic - GNOME Shell 3.38.2

3 Systems - 136 Benchmark Results

Intel Core i5-4670 - ASUS Z87-A - Intel 4th Gen Core DRAM

Clear Linux OS 34440 - 5.10.10-1017.native - GNOME Shell 3.38.4

3 Systems - 104 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

Ubuntu 19.10 - 5.9.0-050900rc7daily20201004-generic - GNOME Shell 3.34.1

3 Systems - 40 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 10 - 4.19.0-16-amd64 - X Server 1.20.4

3 Systems - 158 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

3 Systems - 50 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