1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

The Performance Impact Of Linux Disk Encryption On Ubuntu 14.04 LTS

Michael Larabel

Published on 10 March 2014
Written by Michael Larabel
Page 1 of 5 - 30 Comments

For any Linux laptop users or those concerned about their data's safety on production systems, I highly recommend utilizing disk encryption for safeguarding the data. However, what's the performance impact like these days? In this article with the current development snapshot of Ubuntu 14.04 LTS on a modern Intel ultrabook we're looking at the impact (including CPU utilization) of using an eCryptfs-based home directory encryption and LUKS-based full-disk encryption on Ubuntu Linux.

There have been many Phoronix articles over the years looking at disk encryption performance on Linux. With time the cost of using disk encryption has lowered with modern CPUs and encryption implementations supporting AES-NI plus modern systems being faster so the overhead of encrypting the disk is lessened. For our first disk encryption tests of Ubuntu 14.04, which is an important release given that it is a Long-Term Support release and will end up on enterprise systems where encryption is often mandated, we're looking at the disk encryption costs from an Intel ultrabook.

The ultrabook used for this testing was an ASUS Zenbook Prime UX32VDA. This 2013 ASUS Zenbook model features an Intel Core i7 3517U (Ivy Bridge) processor with 4GB of RAM and dual 128GB SanDisk SSDs, but for this article only one of the solid-state drives was used. On the Ubuntu side was a clean 14.04 daily snapshot install using the Linux 3.13.0-16-generic x86_64 kernel.

Besides testing the Ubuntu 14.04 LTS install with its stock install options (no disk encryption), we also tested it with the full disk-encryption method using LUKS on LVM. On modern versions of Ubuntu Linux the option to do the full-disk encryption using LUKS on LVM is provided from the standard Ubiquity LiveCD-based installer and you no longer have to use any alternate CD for having easy access to this option.

The other option that was tested following another clean install on the Zenbook ultrabook was the eCryptfs-based home directory encryption. With this option eCryptfs is used to encrypt the home directory but only the home directory and not the rest of the file-system or temporary storage area. In general, I personally always go for full-disk encryption regardless of the associated performance penalties.

Latest Linux News
  1. At Least Two Ubuntu Phone Announcements Expected In June
  2. Russia's Baikal Chips End Up Going For A MIPS CPU
  3. Mesa Git OpenGL Tests With Intel Ivy Bridge Graphics
  4. Blender 2.75 Allows For AMD OpenCL Support
  5. GNOME's Mutter 3.17.2 Adds X11/Wayland Clipboard Interoperation
  6. Wayland 1.8 RC2 Arrives Along With New Weston Compositor Release
  7. LLVM 3.7 Is Planned For A Late August Release
  8. The OpenGL ES 3.1 Foundation Is Being Laid In Mesa
  9. There Are 140k Benchmark Results So Far On LinuxBenchmarking.com
  10. LLVM 3.6.1 Brings R600 & MIPS Fixes
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  2. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  3. Systemd 220 Has Finally Been Released
  4. Microsoft Open-Sources The Windows Communication Foundation
  5. Zapcc Claims To Be A "Much Faster C++ Compiler"
  6. LibreOffice 5.0 Beta 1 Released
  7. Another HTTPS Vulnerability Rattles The Internet
  8. OpenWRT 15.05 Preparing Improved Security & Better Networking