Ubuntu 13.10 Disk Encryption Performance Full disk encryption and eCrytpfs home directory encryption on Ubntu 13.10 against no encryption for Intel SSD on Ubuntu 13.10 with Linux 3.11 Kernel. Benchmarks by Michael Larabel for a future article on Phoronix.
HTML result view exported from: https://openbenchmarking.org/result/1309011-SO-DISKENCRY67&grr&rdt .
Ubuntu 13.10 Disk Encryption Performance Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution OpenGL Stock - No Encryption Full Disk Encryption Home Directory Encryption Intel Core i7-4900MQ @ 2.80GHz (8 Cores) System76 Gazelle Professional Intel Xeon E3-1200 v3/4th 8192MB 120GB INTEL SSDSC2CW12 Intel 4th Gen Core IGP (1300MHz) Intel Haswell HDMI Realtek RTL8111/8168/8411 + Intel Centrino Advanced-N 6235 Ubuntu 13.10 3.11.0-4-generic (x86_64) Xfce 4.10 X Server 1.14.2.901 (1.14.3 RC 1) intel 2.21.14 GCC 4.8 ext4 1920x1080 3.1 Mesa 9.2.0 ext4 (ecryptfs) OpenBenchmarking.org Compiler Details - --build=x86_64-linux-gnu --disable-browser-plugin --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details - Stock - No Encryption: DEADLINE / data=ordered,errors=remount-ro,relatime,rw Processor Details - Stock - No Encryption: Scaling Governor: acpi-cpufreq ondemand System Details - Stock - No Encryption: Disk Scheduler: DEADLINE. Python 2.7.5+. - Full Disk Encryption: Python 2.7.5+. - Home Directory Encryption: Python 2.7.5+. Disk Mount Options Details - Full Disk Encryption: data=ordered,errors=remount-ro,relatime,rw - Home Directory Encryption: ecryptfs_cipher=aes,ecryptfs_fnek_sig=9195f0e115f4f1a5,ecryptfs_key_bytes=16,ecryptfs_sig=d56cbaad831ad3be,ecryptfs_unlink_sigs,nodev,nosuid,relatime,rw
Ubuntu 13.10 Disk Encryption Performance postmark: Disk Transaction Performance compilebench: Initial Create compilebench: Compile iozone: 64Kb - 8GB - Write Performance dbench: 1 fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size fio: Intel IOMeter File Server Access Pattern Stock - No Encryption Full Disk Encryption Home Directory Encryption 5245 367.05 732.51 472.05 320.56 251.80 409.07 242.80 65.60 5102 280.50 497.85 142.95 294.00 125.00 128.33 118.73 113.11 1681 125.03 190.99 139.13 226.10 123.13 140.13 125.20 62.24 OpenBenchmarking.org
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Stock - No Encryption Full Disk Encryption Home Directory Encryption 1100 2200 3300 4400 5500 SE +/- 37.00, N = 3 SE +/- 0.00, N = 3 SE +/- 4.00, N = 3 5245 5102 1681 1. (CC) gcc options: -O3
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Stock - No Encryption Full Disk Encryption Home Directory Encryption 80 160 240 320 400 SE +/- 1.17, N = 3 SE +/- 6.40, N = 3 SE +/- 2.07, N = 3 367.05 280.50 125.03
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Stock - No Encryption Full Disk Encryption Home Directory Encryption 160 320 480 640 800 SE +/- 10.84, N = 3 SE +/- 9.44, N = 3 SE +/- 0.71, N = 3 732.51 497.85 190.99
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance OpenBenchmarking.org MB/s, More Is Better IOzone 3.405 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Stock - No Encryption Full Disk Encryption Home Directory Encryption 100 200 300 400 500 SE +/- 9.94, N = 6 SE +/- 0.99, N = 3 SE +/- 0.39, N = 3 472.05 142.95 139.13 1. (CC) gcc options: -O3
Dbench Client Count: 1 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 1 Stock - No Encryption Full Disk Encryption Home Directory Encryption 70 140 210 280 350 SE +/- 0.34, N = 3 SE +/- 0.81, N = 3 SE +/- 0.22, N = 3 320.56 294.00 226.10 1. (CC) gcc options: -lpopt -O2
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Stock - No Encryption Full Disk Encryption Home Directory Encryption 60 120 180 240 300 SE +/- 2.29, N = 3 SE +/- 1.68, N = 3 SE +/- 0.09, N = 3 251.80 125.00 123.13 1. (CC) gcc options: -static
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Stock - No Encryption Full Disk Encryption Home Directory Encryption 90 180 270 360 450 SE +/- 0.13, N = 3 SE +/- 8.49, N = 6 SE +/- 0.13, N = 3 409.07 128.33 140.13 1. (CC) gcc options: -static
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Stock - No Encryption Full Disk Encryption Home Directory Encryption 50 100 150 200 250 SE +/- 15.82, N = 6 SE +/- 3.24, N = 6 SE +/- 0.72, N = 3 242.80 118.73 125.20 1. (CC) gcc options: -static
Flexible IO Tester Test: Intel IOMeter File Server Access Pattern OpenBenchmarking.org Seconds (Run Time), Fewer Is Better Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Stock - No Encryption Full Disk Encryption Home Directory Encryption 30 60 90 120 150 SE +/- 0.45, N = 3 SE +/- 0.91, N = 3 SE +/- 0.30, N = 3 65.60 113.11 62.24 1. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio
Phoronix Test Suite v10.8.5