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.org

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 Articles & Reviews
  1. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  2. 5-Way Linux Distribution Comparison On The Core i3 NUC
  3. OCZ ARC 100 Linux SSD Benchmarks
  4. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
  5. Transcend SSD370 256GB
  6. Linux 3.19 File-System Tests Of EXT4, Btrfs, XFS & F2FS
Latest Linux News
  1. Ubuntu 15.04 Beta Released, Ubuntu MATE Made Official
  2. Coreboot Developer: Purism Doesn't Deliver On Libre Firmware
  3. LLVM 3.6 & Clang 3.6 Deliver More Features, Complete C++14 Support
  4. The Most Popular Open-Source Linux Benchmarks
  5. The Tremendous Features Of Fedora 22
  6. Krita 2.9 Released, Their Biggest Release Ever
  7. RISC OS Now Works With The Raspberry Pi 2
  8. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  9. Unigine 2.0 Beta Brings Performance Optimizations, Oculus Rift DK2 Support
  10. Wayland's Weston Gets A Surface-Shooting API
Most Viewed News This Week
  1. Linux 4.0-RC1 Tagged, Linux 4.0 Will Bring Many Notable Improvements
  2. Screenshots Of The GNOME 3.16 Changes
  3. Ubuntu 14.04.2 LTS Released & Ubuntu 15.04 Now In Feature Freeze
  4. Qt 5.5 Features: Many Exciting Improvements
  5. Mir Now Depends Upon C++14
  6. Linux 4.0 Doesn't Have The Weirdest Codename
  7. GNOME 3.16 Beta Brings Wayland-Based Log-in Screen
  8. LLVM Clang Compiling The Linux Kernel Is A Big Topic For 2015
%%CLICK_URL_UNESC%%