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

3 Minutes, 13 Seconds

Average Run Time

7 Minutes, 4 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

200k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsBotan Popularity Statisticspts/botan2012.112013.032013.072013.112014.032014.072014.112015.032015.072015.112016.032016.072016.112017.032017.072017.112018.032018.072018.112019.032019.072019.112020.032020.072020.112021.032021.072021.112022.032022.072022.112023.032023.072023.112024.032024.072024.1190K180K270K360K450K
* 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 25 November 2024.
ChaCha20Poly130516.2%AES-25617.0%CAST-25616.6%KASUMI16.7%Blowfish16.6%Twofish16.8%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 1,302 public results since 27 March 2021 with the latest data as of 19 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
MiB/s (Average)
100th
3
10132 +/- 369
100th
5
8723 +/- 52
99th
16
8333 +/- 484
98th
6
7806 +/- 599
97th
5
7668 +/- 26
97th
3
7615 +/- 57
95th
21
7435 +/- 211
95th
5
7378 +/- 225
94th
6
7189 +/- 417
92nd
30
6746 +/- 515
91st
4
6477 +/- 166
90th
9
6424 +/- 145
90th
5
6345 +/- 748
89th
4
6186 +/- 9
89th
4
6179 +/- 11
87th
4
6153 +/- 12
84th
9
5941 +/- 478
81st
7
5820 +/- 64
78th
4
5665 +/- 41
Mid-Tier
75th
< 5590
67th
10
5346 +/- 4
65th
4
5199 +/- 15
64th
13
5190 +/- 734
64th
4
5168 +/- 270
64th
5
5092 +/- 389
62nd
4
5031 +/- 3
61st
10
5023 +/- 45
60th
4
4907 +/- 11
59th
3
4817 +/- 10
59th
3
4815 +/- 1
58th
3
4800 +/- 1
58th
3
4763 +/- 14
57th
3
4757 +/- 3
57th
3
4717 +/- 10
56th
4
4604 +/- 12
55th
3
4558 +/- 2
55th
3
4530 +/- 6
54th
9
4522 +/- 3
52nd
4
4328 +/- 25
52nd
3
4290 +/- 3
51st
3
4284 +/- 7
51st
8
4215 +/- 312
51st
3
4108 +/- 4
Median
50th
4105
50th
3
4030 +/- 1
50th
3
4019 +/- 2
50th
3
4013 +/- 19
50th
4
4008 +/- 14
48th
4
3912 +/- 11
48th
3
3840 +/- 1
47th
6
3808 +/- 1
46th
6
3729 +/- 3
44th
7
3707 +/- 30
43rd
6
3683 +/- 9
43rd
3
3654 +/- 1
42nd
3
3642 +/- 8
41st
6
3477 +/- 6
41st
4
3462 +/- 2
40th
3
3450 +/- 4
40th
4
3386 +/- 6
38th
4
3350 +/- 1
36th
3
3116 +/- 10
35th
3
3021 +/- 2
33rd
19
2929 +/- 6
30th
3
2880 +/- 6
29th
4
2868 +/- 2
29th
8
2864 +/- 155
Low-Tier
25th
< 2721
24th
4
2427 +/- 2
22nd
3
2321 +/- 1
21st
4
2315 +/- 20
19th
3
2229 +/- 19
18th
13
2146 +/- 77
18th
18
2011 +/- 255
14th
14
1728 +/- 5
13th
3
1541 +/- 4
12th
5
1324 +/- 7
11th
32
1258 +/- 10
7th
3
742 +/- 6
6th
4
531 +/- 45
OpenBenchmarking.orgDistribution Of Public Results - Test: AES-2561302 Results Range From 2 To 10345 MiB/s220941662383010371244145116581865207222792486269329003107331435213728393541424349455647634970517753845591579860056212641966266833704072477454766178688075828284898696890391109317952497319938101451035220406080100

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: 2 / Avg: 2.03 / Max: 4

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: AES-256Deviation246810Min: 0 / Avg: 0.13 / 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-256246812162432640.76881.53762.30643.07523.844

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 PUNPCKLQDQ MOVDQA CVTSI2SD DIVSD ADDSD COMISD CVTTSD2SI SUBSD MOVAPD MULSD SHUFPD MOVD PSHUFD PSLLDQ PSRLDQ PSHUFHW PSHUFLW PUNPCKHQDQ 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).

 
VPBROADCASTD VPERM2I128 VINSERTI128 VPERMQ VPBLENDD VPSRLVQ VPSLLVQ VEXTRACTI128 VPBROADCASTW VPBROADCASTB VPBROADCASTQ VPMASKMOVQ VPERMD VPSRAVD VPMASKMOVD VPGATHERQD VPSRLVD
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 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
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: 17 January 2022

This test profile binary relies on the shared libraries libbotan-2.so.17, libc.so.6, libm.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)
IBM Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
rv64imafdch_zicsr_zifencei_zba_zbb_sscofpmf
ARMv7 32-bit
armv7l
ARMv7, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A9 2-Core
ARMv8 64-bit
aarch64
ARMv8 4-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A57 8-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 rev 0 4-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple, Apple M1, HiSilicon, HiSilicon TSV110, Qualcomm

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 37 Benchmark Results

Apple - Apple MacBook Pro - Apple Silicon

Fedora 41 - 6.11.8-400.asahi.fc41.aarch64+16k - KDE Plasma 6.2.3

1 System - 30 Benchmark Results

rv64imafdch_zicsr_zifencei_zba_zbb_sscofpmf - SiFive HiFive Premier P550 - 16GB

Ubuntu 24.04 - 6.6.21-9-premier - GNOME Shell 46.0

1 System - 30 Benchmark Results

rv64imafdch_zicsr_zifencei_zba_zbb_sscofpmf - SiFive HiFive Premier P550 - 16GB

Ubuntu 24.04 - 6.6.21-9-premier - GNOME Shell 46.0

1 System - 37 Benchmark Results

Apple M1 - Apple Mac mini - Apple Silicon

Fedora 41 - 6.11.8-400.asahi.fc41.aarch64+16k - KDE Plasma 6.2.3

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 35 Benchmark Results

QEMU Virtual 2.5+ - QEMU Standard PC - Intel 82G33

Fedora 41 - 6.11.7-300.fc41.x86_64 - GNOME Shell 47.1

1 System - 31 Benchmark Results

Apple M1 - Apple Mac mini - Apple Silicon

Fedora 40 - 6.11.6-401.asahi.fc40.aarch64+16k - GCC 14.2.1 20240912

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 37 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG STRIX B650-A GAMING WIFI - AMD Device 14d8

Ubuntu 24.10 - 6.11.0-9-generic - GNOME Shell 47.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

1 System - 12 Benchmark Results

Intel Core i5-5200U - FF50 SATELLITE L50-C 06F2 - Intel Broadwell-U-OPI

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 12 Benchmark Results

AMD Ryzen 5 3400G - ASUS PRIME B450M-A - AMD Raven

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

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

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

3 Systems - 78 Benchmark Results

AMD Ryzen 7 3700X 8-Core - Gigabyte A320M-S2H-CF - AMD Starship

Ubuntu 20.04 - 5.8.1-050801-generic - GNOME Shell 3.36.4

3 Systems - 162 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.9.0-050900rc8daily20201005-generic - GNOME Shell 3.36.2

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

3 Systems - 164 Benchmark Results

Intel Xeon E5-2609 v4 - MSI X99A RAIDER - Intel Xeon E7 v4

Ubuntu 20.04 - 5.9.0-050900rc6daily20200926-generic - GNOME Shell 3.36.2

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 - 117 Benchmark Results

AMD EPYC 7702 64-Core - ASRockRack EPYCD8 - AMD Starship

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

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