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. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  2. The New Place Where Linux Code Is Constantly Being Benchmarked
  3. 18-GPU NVIDIA/AMD Linux Comparison Of BioShock: Infinite
  4. Phoronix Test Suite 5.6 Adds New Phoromatic Enterprise Benchmarking Features
  5. OpenGL Threaded Optimizations Responsible For NVIDIA's Faster Performance?
  6. Big Graphics Card Comparison Of Metro Redux Games On Linux
Latest Linux News
  1. Git 2.4.0-rc0 Does A Ton Of Polishing
  2. The Most Common, Annoying Issue When Benchmarking Ubuntu On Many Systems
  3. Mesa Is At Nearly 1,500 Commits This Year
  4. Gestures & Other GTK3 Features For LibreOffice
  5. It's Now Easier To Try PHP 7 On Fedora & RHEL
  6. BQ Is Cleaning Up Their Aquaris E4.5 Ubuntu Kernel
  7. Allwinner Continues Jerking Around The Open-Source Community
  8. NVIDIA Linux 349.12 Beta Has Improved G-SYNC & VDPAU Features
  9. Canonical Just Made It Even Easier To Benchmark Ubuntu Linux In The Cloud
  10. NVIDIA GeForce GTX TITAN X Linux Testing Time
Most Viewed News This Week
  1. Introducing The Library Operating System For Linux
  2. AMD Is Hiring Two More Open-Source Linux GPU Driver Developers
  3. New SecureBoot Concerns Arise With Windows 10
  4. GNOME Shell & Mutter 3.16.0 Released
  5. GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More
  6. Systemd Change Allows For Stateless Systems With Tmpfs
  7. GCC 5 Compiler Is Getting Close To Being Released
  8. Red Hat Is Rolling Out A VirtIO DRM/KMS GPU Driver
%%CLICK_URL_UNESC%%