Ubuntu 14.04 Disk Encryption Benchmarks Disk encryption benchmarks by Michael Larabel for a future article on Phoronix.com... Stock (no encryption), eCryptfs home encryption, and LUKS-based LVM encryption... Stock: Processor: Intel Core i7-3517U @ 1.90GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.13.0-16-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.1.0-rc3, Compiler: GCC 4.8, File-System: ext4, Screen Resolution: 1920x1080 Full-Disk Encryption: Processor: Intel Core i7-3517U @ 1.90GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.13.0-16-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, Compiler: GCC 4.8, File-System: ext4, Screen Resolution: 1920x1080 Home Directory Encryption: Processor: Intel Core i7-3517U @ 1.90GHz (4 Cores), Motherboard: ASUS UX32VDA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 2 x 128GB SanDisk SD5SF212, Graphics: Intel HD 4000 512MB (1150MHz), Audio: Realtek ALC269VB, Network: Intel Centrino Advanced-N 6235 OS: Ubuntu 14.04, Kernel: 3.13.0-16-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.15.0, Display Driver: intel 2.99.910, OpenGL: 3.3 Mesa 10.1.0-rc3, Compiler: GCC 4.8, File-System: ext4 (ecryptfs), Screen Resolution: 1920x1080 PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better Stock ..................... 1789 |============================================= Full-Disk Encryption ...... 1376 |=================================== Home Directory Encryption . 901 |======================= PostMark 1.51 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 0.3 AVG: 16.2 MAX: 21.8 Full-Disk Encryption ...... MIN: 2.0 AVG: 25.5 MAX: 39.0 Home Directory Encryption . MIN: 1.8 AVG: 23.0 MAX: 35.3 Timed Linux Kernel Compilation 3.1 Time To Compile Seconds < Lower Is Better Stock ..................... 238.41 |========================================== Full-Disk Encryption ...... 242.78 |=========================================== Home Directory Encryption . 241.72 |=========================================== Timed Linux Kernel Compilation 3.1 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 1 AVG: 95 MAX: 100 Full-Disk Encryption ...... MIN: 2 AVG: 95 MAX: 100 Home Directory Encryption . MIN: 1 AVG: 94 MAX: 100 Timed Apache Compilation 2.4.7 Time To Compile Seconds < Lower Is Better Stock ..................... 64.22 |=========================================== Full-Disk Encryption ...... 64.95 |============================================ Home Directory Encryption . 65.17 |============================================ Timed Apache Compilation 2.4.7 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 1 AVG: 63 MAX: 100 Full-Disk Encryption ...... MIN: 2 AVG: 65 MAX: 100 Home Directory Encryption . MIN: 1 AVG: 66 MAX: 100 FS-Mark 3.3 Test: 1000 Files, 1MB Size Files/s > Higher Is Better Stock ..................... 50.73 |============================================ Full-Disk Encryption ...... 47.73 |========================================= Home Directory Encryption . 40.83 |=================================== FS-Mark 3.3 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 0.3 AVG: 6.5 MAX: 7.4 Full-Disk Encryption ...... MIN: 2.5 AVG: 11.5 MAX: 13.8 Home Directory Encryption . MIN: 1.0 AVG: 10.7 MAX: 13.9 FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Files/s > Higher Is Better Stock ..................... 134.27 |=========================================== Full-Disk Encryption ...... 132.20 |========================================== Home Directory Encryption . 103.20 |================================= FS-Mark 3.3 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 0.3 AVG: 13.1 MAX: 41.3 Full-Disk Encryption ...... MIN: 2.3 AVG: 23.6 MAX: 46.3 Home Directory Encryption . MIN: 1.8 AVG: 25.6 MAX: 29.7 FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Files/s > Higher Is Better Stock ..................... 50.60 |============================================ Full-Disk Encryption ...... 47.53 |========================================= Home Directory Encryption . 40.40 |=================================== FS-Mark 3.3 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 6.2 AVG: 7.5 MAX: 14.7 Full-Disk Encryption ...... MIN: 2.3 AVG: 12.1 MAX: 13.8 Home Directory Encryption . MIN: 1.3 AVG: 11.9 MAX: 13.2 Dbench 4.0 Client Count: 1 MB/s > Higher Is Better Stock ..................... 91.86 |============================================ Full-Disk Encryption ...... 90.77 |=========================================== Home Directory Encryption . 70.52 |================================== Dbench 4.0 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 0.3 AVG: 12.0 MAX: 17.2 Full-Disk Encryption ...... MIN: 2.3 AVG: 14.4 MAX: 22.5 Home Directory Encryption . MIN: 1.0 AVG: 16.0 MAX: 22.8 Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better Stock ..................... 172.27 |=========================================== Full-Disk Encryption ...... 165.59 |========================================= Home Directory Encryption . 70.64 |================== Compile Bench 0.6 CPU Usage Monitor Percent < Lower Is Better Stock ..................... MIN: 0.3 AVG: 18.6 MAX: 34.2 Full-Disk Encryption ...... MIN: 2.0 AVG: 33.6 MAX: 73.6 Home Directory Encryption . MIN: 2.5 AVG: 20.7 MAX: 43.0 Compile Bench 0.6 Test: Compile MB/s > Higher Is Better Stock ..................... 221.47 |=========================================== Full-Disk Encryption ...... 219.43 |=========================================== Home Directory Encryption . 189.78 |===================================== Compile Bench 0.6 Test: Read Compiled Tree MB/s > Higher Is Better Stock ..................... 584.51 |=========================================== Full-Disk Encryption ...... 554.63 |========================================= Home Directory Encryption . 82.71 |====== CPU Usage Monitor Phoronix Test Suite System Monitoring Percent Stock ..................... MIN: 0 AVG: 27 MAX: 100 Full-Disk Encryption ...... MIN: 1 AVG: 32 MAX: 100 Home Directory Encryption . MIN: 1 AVG: 30 MAX: 100