The Cost Of Home Directory Encryption & LUKS Full Disk Encryption On Ubuntu 18.04

Written by Michael Larabel in Operating Systems on 9 February 2018 at 11:00 AM EST. Page 5 of 5. 33 Comments.
Ubuntu 18.04 Disk Encryption Benchmarks

Should you find yourself running PostgreSQL on your system if for example you are using it when prototyping/developing, full disk encryption performance did over much better performance than home directory encryption.

Ubuntu 18.04 Disk Encryption Benchmarks

Here the CPU usage was similar between the different disk setups.

Ubuntu 18.04 Disk Encryption Benchmarks

Lastly is a look at the overall CPU usage over the course of all the benchmarks carried out. When using eCryptfs-based home encryption the average CPU usage was just about 1% higher than no encryption on this Broadwell laptop with SATA solid-state storage. Using full disk encryption meanwhile had on average 4% higher CPU usage than without encryption.

While full disk encryption consumes more CPU cycles than the home directory encryption, as shown by these test results, the performance tends to be significantly better than with home directory encryption.

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.