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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. Qt For Tizen Launches, Based On Qt 5.1
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Humble Indie Bundle Finally Sells Out
  4. Debian GNU/Hurd 2013 Release Brings New Packages
  5. Wayland's Weston Gets Output Scaling Support
  6. Richard Stallman is right yet, again.
  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