EXT4 LUKS dm-crypt, eCryptfs, Fscrypt Encryption Benchmarks For A USB 3.0 HDD
Under FS-Mark the performance is quite slow for this HDD USB enclosure setup, so it's difficult to get meaningful data.
Under CompileBench, while LUKS dm-crypt was the slowest in some of the earlier benchmarks, this time around it was the fastest of the encrypted options... Fscrypt wasn't too far behind but eCryptfs was by far the slowest in this scenario.
Under the OSBench test, the EXT4 LUKS full-disk encryption again performed very well followed by Fscrypt and then eCryptfs being in a distant last.
LUKS dm-crypt was performing very well in some of these tests, but was the slowest in others. Ecryptfs tended to be slow overall. Seeming to deliver the best balance for offering native file-system encryption in these USB 3.0 hard drive Linux storage benchmarks was the newest option, EXT4 fscrypt support.
If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.