summaryrefslogtreecommitdiff
path: root/CPU-Benchmarks.md
diff options
context:
space:
mode:
Diffstat (limited to 'CPU-Benchmarks.md')
-rw-r--r--CPU-Benchmarks.md26
1 files changed, 9 insertions, 17 deletions
diff --git a/CPU-Benchmarks.md b/CPU-Benchmarks.md
index d59b991..7893365 100644
--- a/CPU-Benchmarks.md
+++ b/CPU-Benchmarks.md
@@ -8,7 +8,7 @@ In recent gocryptfs versions you can run `gocryptfs -speed` to run the benchmark
The tests were run on `go version go1.6 linux/amd64` unless noted otherwise.
-### x86_64 with AES-NI
+### 64-bit Intel/AMD (amd64) with AES-NI
**Kaby Lake (Launch: Q2'17)**
```
@@ -90,7 +90,7 @@ Benchmark4kEncStupidGCM-16 100000 18297 ns/op 223.85
Benchmark4kEncGoGCM-16 200000 9579 ns/op 427.58 MB/s
```
-### x86_64 without AES-NI
+### 64-bit Intel/AMD (amd64) without AES-NI
**Ivy Bridge (Launch: Q1'13)**
```
@@ -136,7 +136,7 @@ Benchmark4kEncStupidGCM-2 30000 46697 ns/op 87.71 MB/s
Benchmark4kEncGoGCM-2 10000 194095 ns/op 21.10 MB/s
```
-### ARM devices
+### 64-bit ARM CPUs (arm64)
#### Apple M1 (Launch: Q4'2020)
@@ -151,18 +151,7 @@ AES-SIV-512-Go 452.57 MB/s
XChaCha20-Poly1305-Go 747.43 MB/s (benchmark only, not selectable yet)
```
-Data gathered by @DavyLandman ([post](https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-586453188)), thank you very much!
-
-#### Raspberry Pi 4 Model B (4 x Cortex A72 @ 1.5GHz)
-
-Ubuntu 19.10, 64-bit
-
-```
-$ ./gocryptfs -speed
-AES-GCM-256-OpenSSL 21.46 MB/s (selected in auto mode)
-AES-GCM-256-Go 21.65 MB/s
-AES-SIV-512-Go 17.59 MB/s
-```
+#### Raspberry Pi 4 Model B (BCM2835, 4 x Cortex A72 @ 1.5GHz)
From https://github.com/rfjakob/gocryptfs/issues/531#issue-760624096 , Raspberry Pi 4b running ubuntu 20.10 64bit
```
@@ -173,6 +162,8 @@ AES-SIV-512-Go 17.70 MB/s
XChaCha20-Poly1305-Go 122.86 MB/s
```
+### 32-bit ARM CPUs
+
#### Odroid XU4 (Exynos 5422 - ARM Cortex-A15 - 2 GHz)
```
model name : ARMv7 Processor rev 3 (v7l)
@@ -204,10 +195,11 @@ chacha20-poly1305 64066.72k 130153.44k 275532.80k 306572.84k 320018.5
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)
+
+(64-bit CPU running in 32-bit mode)
+
```
model name : ARMv7 Processor rev 4 (v7l)
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32