The Cost Of Ubuntu Disk Encryption

Written by Michael Larabel in Operating Systems on 20 May 2013 at 04:02 AM EDT. Page 3 of 3. 19 Comments.
Ubuntu 13.04 Disk Encryption

When dealing with multiple threads for FS-Mark, the full disk encryption and Ubuntu home directory encryption impact was similar.

Ubuntu 13.04 Disk Encryption

For the Flexible I/O Tester, the home directory encryption was now faster than using full disk encryption for this particular strenuous disk workload.

Ubuntu 13.04 Disk Encryption

For Compile Bench, both forms of encryption led to the throughput being more than halved.

Ubuntu 13.04 Disk Encryption
Ubuntu 13.04 Disk Encryption

The IOzone performance results met expectations.

While there is an obvious cost to disk encryption even for modern CPUs supporting AES-NI and when using a solid-state drive, the cost of disk encryption for production systems (particularly mobile devices) tend to be worth the cost and overhead for the added security and peace of mind. As shown by these benchmarks, the performance when using a fully encrypted LVM is also generally better than just using the encrypted home directory feature of Ubuntu 13.04.

Coming up in the next few days will also be benchmarks of the eCryptfs AES-NI performance improvements to be found with the Linux 3.10 kernel.

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.