EXT4 fscrypt vs. eCryptfs vs. LUKS dm-crypt Benchmarks
Under CompileBench, the LUKS-based full volume encryption was on par with the unencrypted results followed by fscrypt and then eCryptfs.
For those curious how the EXT4-based file-encryption affects build time performance... LUKS continued to do the best while EXT4 fscrypt was the slowest.
The CPU usage for the fscrypt-based encryption was also noticeably higher on average.
While if planning to run an NGINX HTTP web server from an encrypted setup, eCryptfs was the only lagger.
Under the OSBench test, eCryptfs was much slower than fscrypt and dm-crypt.
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.