Some performance numbers:
mainline:
4.4 kernel:
mainline:
Code:
root@rock64:~# uname -a
Linux rock64 4.13.0-rc1-rockchip-ayufan-1-00195-ga1d4fc4 #3 SMP PREEMPT Tue Aug 29 10:47:42 CEST 2017 aarch64 GNU/Linux
root@rock64:~# cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 75328 iterations per second
PBKDF2-sha256 50180 iterations per second
PBKDF2-sha512 38460 iterations per second
PBKDF2-ripemd160 67702 iterations per second
PBKDF2-whirlpool 5184 iterations per second
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 200.5 MiB/s 271.7 MiB/s
serpent-cbc 128b 12.9 MiB/s 14.3 MiB/s
twofish-cbc 128b 16.0 MiB/s 15.9 MiB/s
aes-cbc 256b 171.7 MiB/s 241.5 MiB/s
serpent-cbc 256b 13.0 MiB/s 14.3 MiB/s
twofish-cbc 256b 16.0 MiB/s 15.9 MiB/s
aes-xts 256b 232.6 MiB/s 235.3 MiB/s
serpent-xts 256b 13.5 MiB/s 14.6 MiB/s
twofish-xts 256b 16.9 MiB/s 16.0 MiB/s
aes-xts 512b 210.7 MiB/s 209.5 MiB/s
serpent-xts 512b 13.8 MiB/s 14.6 MiB/s
twofish-xts 512b 17.2 MiB/s 16.0 MiB/s
4.4 kernel:
Code:
root@rock64:~# uname -a
Linux rock64 4.4.77-rockchip-ayufan-92 #1 SMP Mon Aug 28 19:38:29 UTC 2017 aarch64 GNU/Linux
root@rock64:~# cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 163840 iterations per second
PBKDF2-sha256 108503 iterations per second
PBKDF2-sha512 82643 iterations per second
PBKDF2-ripemd160 144035 iterations per second
PBKDF2-whirlpool 11115 iterations per second
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 341.0 MiB/s 422.9 MiB/s
serpent-cbc 128b N/A N/A
twofish-cbc 128b 29.0 MiB/s 29.0 MiB/s
aes-cbc 256b 299.6 MiB/s 394.3 MiB/s
serpent-cbc 256b N/A N/A
twofish-cbc 256b 29.1 MiB/s 29.0 MiB/s
aes-xts 256b 381.1 MiB/s 379.3 MiB/s
serpent-xts 256b N/A N/A
twofish-xts 256b N/A N/A
aes-xts 512b 352.1 MiB/s 353.2 MiB/s
serpent-xts 512b N/A N/A
twofish-xts 512b N/A N/A
Homepage: https://ayufan.eu
Releases:
Rock/Pro 64/Pinebook Pro: Linux; Chromium OS
So/Pine A64/Pinebook: Linux; Android 6.0; Android 7.1
Buy me a Beer
Releases:
Rock/Pro 64/Pinebook Pro: Linux; Chromium OS
So/Pine A64/Pinebook: Linux; Android 6.0; Android 7.1
Buy me a Beer