EXT4 LUKS dm-crypt, eCryptfs, Fscrypt Encryption Benchmarks For A USB 3.0 HDD

Written by Michael Larabel in Storage on 29 June 2018 at 04:32 PM EDT. Page 3 of 3. 4 Comments.

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.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.