Running An Encrypted LVM In Ubuntu 10.10

Published on September 25, 2010
Written by Michael Larabel
Page 1 of 2
Discuss This Article

Back with Ubuntu 7.10 an option was added to Ubuntu's alternate CD installer to easily setup an encrypted LVM during the Ubuntu installation process. This would better protect your personal data in the case your laptop or mobile device was ever stolen or misplaced as the Ubuntu Linux installation cannot boot if the encrypted LVM cannot be mounted with the encryption pass-phrase. Of course, encrypting the entire root partition can cause a performance penalty as some of our earlier results have shown while introduced in Ubuntu 9.04 was support for home encryption where only your SWAP and home folder is encrypted and this is done using eCryptfs. This continues to be Canonical's preferred method of encrypting user data with it being available from the standard Ubuntu installer while even three years later only the install-time encrypted LVM support can be accessed from their alternate installer. For those serious about encrypting their disk drive on Linux, we have new benchmarks from Ubuntu 10.10 showing how an encrypted LVM will affect your file-system performance.

To satisfy some reader requests we simply ran a few disk benchmarks when an Ubuntu 10.10 development snapshot was installed on an un-encrypted LVM and then again, when the root file-system was under an encrypted LVM setup by the Ubuntu Maverick alternate CD installer. Ubuntu 10.10 was used with the Linux 2.6.35 kernel, X.Org Server 1.9.0, GCC 4.4.3, and an EXT4 file-system. The test system was a Lenovo ThinkPad W510 with an Intel Core i7 720QM CPU clocked at 1.60GHz with a total of eight cores (physical quad core + Hyper Threading), 4GB of system memory, a NVIDIA Quadro FX880M graphics processor, and the disk used was a 160GB Intel X25-M SATA 2.0 SSD (SSDSA2M160).

When firing up the Phoronix Test Suite with the Apache test profile, using an encrypted LVM of the entire disk resulted in a 6% performance drop compared to using an LVM without LUKS encryption.

<< Previous Page
1
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  2. KDE's KWin Made Lots Of Progress In 4.11
  3. Planetary Annihilation Plans To Come To Linux
  4. Intel GPU Driver Tries To Rip Out FBDEV Support
  5. Ubuntu Announces Carrier Advisory Group
  6. VP9 Codec Now Enabled By Default In Chrome
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite