Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfjakob/b28383f4c84263ac7c5388ccc262e38b to your computer and use it in GitHub Desktop.
Save rfjakob/b28383f4c84263ac7c5388ccc262e38b to your computer and use it in GitHub Desktop.
Running on a Raspberry Pi 4, ubuntu arm64, /tmp is a tmpfs.
jakob@ubuntu:~/gocryptfs$ ./benchmark.bash
Testing gocryptfs at /tmp/benchmark.bash.oXb: gocryptfs v2.1-28-g62ed081.xchacha; go-fuse v2.1.1-0.20210802120645-15a8bb029a4e; 2021-08-24 go1.17 linux/arm64
/tmp/benchmark.bash.oXb.mnt is a mountpoint
WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 9.76918 s, 26.8 MB/s
READ: 262144000 bytes (262 MB, 250 MiB) copied, 7.24712 s, 36.2 MB/s
UNTAR: 72.591
MD5: 41.548
LS: 10.238
RM: 13.410
jakob@ubuntu:~/gocryptfs$ ./benchmark.bash -xchacha
Testing gocryptfs -xchacha at /tmp/benchmark.bash.eqk: gocryptfs v2.1-28-g62ed081.xchacha; go-fuse v2.1.1-0.20210802120645-15a8bb029a4e; 2021-08-24 go1.17 linux/arm64
/tmp/benchmark.bash.eqk.mnt is a mountpoint
WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 4.67363 s, 56.1 MB/s
READ: 262144000 bytes (262 MB, 250 MiB) copied, 2.21119 s, 119 MB/s
UNTAR: 43.880
MD5: 25.211
LS: 10.129
RM: 13.490
jakob@ubuntu:~/gocryptfs$ gocryptfs -speed
gocryptfs v2.1-28-g62ed081.xchacha; go-fuse v2.1.1-0.20210802120645-15a8bb029a4e; 2021-08-24 go1.17 linux/arm64
AES-GCM-256-OpenSSL 21.28 MB/s (selected in auto mode)
AES-GCM-256-Go 22.52 MB/s
AES-SIV-512-Go 18.55 MB/s
XChaCha20-Poly1305-Go 117.83 MB/s (benchmark only, not selectable yet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment