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 + Recently Updated Test Profile

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.027K14K21K28K35K
* 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, 14 Apr 2021 02:56:50 GMT.
ChaCha20Poly130516.6%AES-25616.8%CAST-25616.5%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 - Decrypt

OpenBenchmarking.org metrics for this test profile configuration based on 147 public results since 27 March 2021 with the latest data as of 12 April 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)
99th
5
7816 +/- 32
95th
4
7560 +/- 47
91st
4
7376 +/- 50
91st
5
7376 +/- 317
84th
4
6205 +/- 6
76th
3
5652 +/- 11
Mid-Tier
75th
< 5648
65th
4
5034 +/- 4
63rd
3
4910 +/- 7
58th
3
4810 +/- 3
52nd
3
4763 +/- 31
52nd
3
4762 +/- 4
Median
50th
4727
48th
3
4586 +/- 15
46th
3
4558 +/- 3
44th
3
4522 +/- 4
42nd
3
4299 +/- 5
40th
3
4111 +/- 4
38th
3
4026 +/- 3
36th
3
4022 +/- 1
32nd
3
3906 +/- 2
27th
3
3772 +/- 9
Low-Tier
25th
< 3659
25th
3
3658 +/- 5
23rd
3
3444 +/- 4
22nd
4
3383 +/- 10
15th
3
3021 +/- 3
12th
3
2888 +/- 8
7th
3
2328 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Test: AES-256 - Decrypt146 Results Range From 39 To 7841 MiB/s391963535106678249811138129514521609176619232080223723942551270828653022317933363493365038073964412142784435459247494906506352205377553456915848600561626319647666336790694771047261741875757732788948121620

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

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

1 System - 111 Benchmark Results

2 x AMD EPYC 7V13 64-Core - Microsoft Virtual Machine - 442GB

CentOS Linux 8 - 4.18.0-147.8.1.el8_1.x86_64 - GCC 8.3.1 20190507

3 Systems - 95 Benchmark Results

2 x AMD EPYC 7V13 64-Core - Microsoft Virtual Machine - 442GB

CentOS Linux 8 - 4.18.0-147.8.1.el8_1.x86_64 - GCC 8.3.1 20190507

2 Systems - 86 Benchmark Results

2 x AMD EPYC 7V13 64-Core - Microsoft Virtual Machine - 442GB

CentOS Linux 8 - 4.18.0-147.8.1.el8_1.x86_64 - GCC 8.3.1 20190507

12 Systems - 453 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 12 Benchmark Results

Intel Core 2 Duo T6500 - TOSHIBA KSKAA v1.00 - Intel Mobile 4 MCH + ICH9M

LinuxMint 19.3 - 5.3.0-26-generic - MATE 1.22.2

1 System - 212 Benchmark Results

Intel Core i5-8250U - LENOVO 20L7CTO1WW - Intel Xeon E3-1200 v6

Debian testing - 5.10.0-5-amd64 - GNOME Shell 3.38.4

1 System - 2 Benchmark Results

AMD Ryzen 7 PRO 4750U - 26GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 4.19.128-microsoft-standard - X Server

1 System - 15 Benchmark Results

AMD Athlon 3000G - Gigabyte B450 I AORUS PRO WIFI-CF - AMD Raven

Fedora 33 - 5.11.11-200.fc33.x86_64 - GNOME Shell 3.38.4

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

9 Systems - 442 Benchmark Results

Intel Core i5-10600K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

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

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

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

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

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

3 Systems - 47 Benchmark Results

Intel Core i5-9400F - MSI B360M GAMING PLUS - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.9.0-050900rc7daily20200928-generic - GNOME Shell 3.36.0

3 Systems - 47 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.11.6-051106-generic - GNOME Shell 3.38.2

Find More Test Results