From 66a10cf74801c6d1c655f1198414fecd4e79123d Mon Sep 17 00:00:00 2001 From: rfjakob Date: Sat, 29 Feb 2020 20:55:13 +0100 Subject: Updated CPU Benchmarks (markdown) --- CPU-Benchmarks.md | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) (limited to 'CPU-Benchmarks.md') diff --git a/CPU-Benchmarks.md b/CPU-Benchmarks.md index 2f78333..4f27f34 100644 --- a/CPU-Benchmarks.md +++ b/CPU-Benchmarks.md @@ -134,4 +134,80 @@ $ ./stupidgcm.test -test.bench . PASS Benchmark4kEncStupidGCM-2 30000 46697 ns/op 87.71 MB/s Benchmark4kEncGoGCM-2 10000 194095 ns/op 21.10 MB/s -``` \ No newline at end of file +``` + +### ARM devices + +Data gathered by @DavyLandman ([post](https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-586453188)), thank you very much! + +### Odroid XU4 (Exynos 5422 - ARM Cortex-A15 - 2 GHz) +``` +model name : ARMv7 Processor rev 3 (v7l) +Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae +``` + +``` +$ gocryptfs -speed +AES-GCM-256-OpenSSL 34.26 MB/s (selected in auto mode) +AES-GCM-256-Go 17.24 MB/s +AES-SIV-512-Go 17.58 MB/s +``` + +``` +$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm +... +The 'numbers' are in 1000s of bytes per second processed. +type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes +chacha20-poly1305 64066.72k 130153.44k 275532.80k 306572.84k 320018.56k 307903.74k +aes-256-gcm 40323.87k 49980.74k 64734.47k 70323.03k 71862.66k 71786.19k +``` + + + + +### Raspberry Pi 3 B rev 1.2 (BCM2835 - ARM Cortex-A53 - 1.2Ghz) +``` +model name : ARMv7 Processor rev 4 (v7l) +Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 +``` + +``` +$ gocryptfs -speed +AES-GCM-256-OpenSSL 17.13 MB/s (selected in auto mode) +AES-GCM-256-Go 5.27 MB/s +AES-SIV-512-Go 4.31 MB/s +``` + +``` +$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm +... +The 'numbers' are in 1000s of bytes per second processed. +type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes +chacha20-poly1305 30020.39k 63560.13k 77169.32k 82019.33k 83536.55k 83645.78k +aes-256-gcm 16137.38k 19500.97k 20668.33k 20986.20k 21127.17k 21135.36k +``` + + + + +### Raspberry Pi B rev 2 (BCM2835 - ARM 11 - 700Mhz) +``` +model name : ARMv6-compatible processor rev 7 (v6l) +Features : half thumb fastmult vfp edsp java tls +``` + +``` +$ gocryptfs -speed +AES-GCM-256-OpenSSL 4.80 MB/s (selected in auto mode) +AES-GCM-256-Go 1.85 MB/s +AES-SIV-512-Go 1.50 MB/s +``` + +``` +$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm +... +The 'numbers' are in 1000s of bytes per second processed. +type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes +chacha20-poly1305 8090.97k 18202.65k 23222.03k 24960.34k 25666.44k 24958.29k +aes-256-gcm 4525.91k 6268.65k 6972.36k 7141.38k 7230.33k 7150.88k +``` \ No newline at end of file -- cgit v1.2.3