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, 58 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.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.052021.087K14K21K28K35K
* 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 current as of 16 October 2021.
ChaCha20Poly130516.2%AES-25616.5%CAST-25616.8%KASUMI16.8%Blowfish16.8%Twofish16.9%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: Twofish

OpenBenchmarking.org metrics for this test profile configuration based on 454 public results since 27 March 2021 with the latest data as of 16 October 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
# Compatible Public Results
MiB/s (Average)
91st
3
436 +/- 1
83rd
8
403 +/- 23
79th
3
391 +/- 2
78th
3
390 +/- 1
78th
4
390 +/- 1
76th
4
388 +/- 1
Mid-Tier
75th
< 388
69th
5
373 +/- 15
66th
4
368 +/- 2
62nd
4
364 +/- 1
61st
4
360 +/- 21
60th
4
356 +/- 1
52nd
3
343 +/- 1
Median
50th
340
50th
6
339 +/- 2
49th
6
337 +/- 1
49th
13
337 +/- 24
47th
6
336 +/- 2
38th
4
325 +/- 1
38th
6
324 +/- 1
37th
5
320 +/- 19
35th
4
314 +/- 2
34th
3
312 +/- 2
32nd
3
307 +/- 2
28th
4
298 +/- 1
26th
4
291 +/- 1
Low-Tier
25th
< 289
9th
3
234 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: Twofish447 Results Range From 35 To 494 MiB/s355677981191401611822032242452662873083293503713924134344554764971632486480

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

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: TwofishDeviation246810Min: 0 / Avg: 0.08 / Max: 2

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: Twofish46812162432640.41880.83761.25641.67522.094

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 PSUBQ PADDQ 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
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 VPSLLVQ VPSRLVQ VPSLLVD VPSRLVD VPBROADCASTW VPBROADCASTB VPBROADCASTQ VPMASKMOVQ VPSRAVD VPMASKMOVD VPGATHERQD
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, 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, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFMADD231SD VFMADD213SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 9 May 2021

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

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 6 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

3 Systems - 6 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

2 Systems - 6 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

2 Systems - 6 Benchmark Results

4 x ToastCloud Virtual Gen.2 - Fedora OpenStack Nova - Intel 440FX 82441FX PMC

CentOS Linux 7 - 3.10.0-1127.19.1.el7.x86_64 - GCC 4.8.5 20150623

8 Systems - 364 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

1 System - 5 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

1 System - 6 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

3 Systems - 326 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

4 Systems - 318 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

1 System - 5 Benchmark Results

Intel Core i7-10510U - LENOVO 20S0000MRT - Intel Comet Lake PCH-LP

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

2 Systems - 14 Benchmark Results

Common KVM - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-88-generic - 1.0.2

1 System - 12 Benchmark Results

Common KVM - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-88-generic - 1.0.2

1 System - 2 Benchmark Results

Intel Core i7 920 - ASUS P6T - Intel 5520

Ubuntu 20.04 - 5.4.0-88-generic - 3.1 Mesa 21.0.3

5 Systems - 3693 Benchmark Results

Intel Atom C3958 - American Megatrends 5.13 - Intel Device 1980

Ubuntu 16.04 - 4.4.0-116-generic - GCC 5.4.0 20160609

1 System - 208 Benchmark Results

Unknown - Apple Mac Mini Late 2020 - 8GB

Ubuntu 20.04 - 5.11.0-rc4+ - X Server 1.20.11

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

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

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

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

Debian 10 - 4.19.0-9-amd64 - GNOME Shell 3.30.2

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

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

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

2 Systems - 701 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.10 - 5.12.0-051200rc8-generic - GNOME Shell 3.38.2

3 Systems - 178 Benchmark Results

Intel Core i7-4770K - Gigabyte Z97-HD3 - Intel 4th Gen Core DRAM

Ubuntu 20.10 - 5.8.0-43-generic - GNOME Shell 3.38.1

5 Systems - 63 Benchmark Results

2 x AMD EPYC 7551 32-Core - Microsoft Virtual Machine - 226GB

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

Find More Test Results