Running An Encrypted LVM In Ubuntu 10.10

Written by Michael Larabel in Storage on 25 September 2010. Page 2 of 2. 11 Comments

While running the Apache web server did not cause a large performance hit when on an encrypted LVM, when running our PostgreSQL test profile there was a very dramatic hit even for this powerful laptop with an Intel Core i7 CPU and an Intel SSD. When an encrypted LVM was not used, the number of transactions per second was over nine times faster.

However, in a more basic disk serving benchmark like PostMark, there was not any measurable change in performance.

In the simplest test of measuring the time to extract the Linux kernel source package, there was no measurable change in performance when using an encrypted LVM.

These Linux encrypted LVM benchmarks are similar to that of some of our earlier runs where when running any demanding applications/processes that stress the disk heavily (such as PostgreSQL) there is a huge performance hit due to the encryption overhead even with a very fast notebook. However, in more light applications there is not a measurable hit. Personally I continue to use an encrypted LVM on my mobile production systems for securing data and a more complete solution than just encrypting the home data and SWAP with Ubuntu's more popular encryption option.

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 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via