Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LUKS vs Veracrypt
- 48000 MiB test file:
- Layout:
3 NVM DRIVES ->
3 x 900G partition ->
3 x Encryption Layer ->
Raid 0 Layer(mdadm) / Chunk size: 512K ->
XFS Filesystem (total 2,6 TiB)
===================
LUKS - default settings:
===================
----------------------
RSYNC: $ time rsync -rltDvx /tmp/ramdisk/zero /mnt/test/ --progress --inplace :
----------------------
1.
50,331,648,000 100% 545.30MB/s 0:01:28 (xfr#1, to-chk=0/1)
sent 50,343,936,083 bytes received 35 bytes 568,858,035.23 bytes/sec
total size is 50,331,648,000 speedup is 1.00
real 1m28.513s
user 2m10.237s
sys 0m24.849s
2.
50,331,648,000 100% 543.98MB/s 0:01:28 (xfr#1, to-chk=0/1)
sent 50,343,936,083 bytes received 35 bytes 568,858,035.23 bytes/sec
total size is 50,331,648,000 speedup is 1.00
real 1m28.372s
user 2m9.920s
sys 0m24.628s
----------------------
CP: $ time cp /tmp/ramdisk/zero /mnt/test/
----------------------
1. (Average speed: 2028,14044873 MiB /s)
real 0m23.667s
user 0m0.042s
sys 0m21.952s
2. (Average speed: 2033,12296158 MiB/s)
real 0m23.609s
user 0m0.042s
sys 0m21.362s
===================
VERACRYPT - AES 256bit, Whirlpool:
===================
----------------------
RSYNC: $ time rsync -rltDvx /tmp/ramdisk/zero /mnt/test/ --progress --inplace :
----------------------
1.
50,331,648,000 100% 546.57MB/s 0:01:27 (xfr#1, to-chk=0/1)
sent 50,343,936,083 bytes received 35 bytes 568,858,035.23 bytes/sec
total size is 50,331,648,000 speedup is 1.00
real 1m28.067s
user 2m10.282s
sys 0m24.674s
2.
50,331,648,000 100% 544.18MB/s 0:01:28 (xfr#1, to-chk=0/1)
sent 50,343,936,083 bytes received 35 bytes 568,858,035.23 bytes/sec
total size is 50,331,648,000 speedup is 1.00
real 1m28.270s
user 2m10.127s
sys 0m24.384s
----------------------
CP: $ time cp /tmp/ramdisk/zero /mnt/test/
----------------------
1. (Average speed: 2035,79608109 MiB/s)
real 0m23.578s
user 0m0.063s
sys 0m22.092s
2. (Average speed: 1945,84076536 MiB/s)
real 0m24.668s
user 0m0.050s
sys 0m22.222s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment