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.

Ubuntu 13.10 Disk Encryption PerformanceProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionOpenGLStock - No EncryptionFull Disk EncryptionHome Directory EncryptionIntel Core i7-4900MQ @ 2.80GHz (8 Cores)System76 Gazelle ProfessionalIntel Xeon E3-1200 v3/4th8192MB120GB INTEL SSDSC2CW12Intel 4th Gen Core IGP (1300MHz)Intel Haswell HDMIRealtek RTL8111/8168/8411 + Intel Centrino Advanced-N 6235Ubuntu 13.103.11.0-4-generic (x86_64)Xfce 4.10X Server 1.14.2.901 (1.14.3 RC 1)intel 2.21.14GCC 4.8ext41920x10803.1 Mesa 9.2.0ext4 (ecryptfs)OpenBenchmarking.orgCompiler 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,rwProcessor Details- Stock - No Encryption: Scaling Governor: acpi-cpufreq ondemandSystem 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 Performancefio: Intel IOMeter File Server Access Patternfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizedbench: 1iozone: 64Kb - 8GB - Write Performancecompilebench: Compilecompilebench: Initial Createpostmark: Disk Transaction PerformanceStock - No EncryptionFull Disk EncryptionHome Directory Encryption65.60242.80409.07251.80320.56472.05732.51367.055245113.11118.73128.33125.00294.00142.95497.85280.50510262.24125.20140.13123.13226.10139.13190.99125.031681OpenBenchmarking.org

Flexible IO Tester

Test: Intel IOMeter File Server Access Pattern

OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.57Test: Intel IOMeter File Server Access PatternStock - No EncryptionFull Disk EncryptionHome Directory Encryption306090120150SE +/- 0.45, N = 3SE +/- 0.91, N = 3SE +/- 0.30, N = 365.60113.1162.241. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeStock - No EncryptionFull Disk EncryptionHome Directory Encryption50100150200250SE +/- 15.82, N = 6SE +/- 3.24, N = 6SE +/- 0.72, N = 3242.80118.73125.201. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsStock - No EncryptionFull Disk EncryptionHome Directory Encryption90180270360450SE +/- 0.13, N = 3SE +/- 8.49, N = 6SE +/- 0.13, N = 3409.07128.33140.131. (CC) gcc options: -static

FS-Mark

Test: 4000 Files, 32 Sub Dirs, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeStock - No EncryptionFull Disk EncryptionHome Directory Encryption60120180240300SE +/- 2.29, N = 3SE +/- 1.68, N = 3SE +/- 0.09, N = 3251.80125.00123.131. (CC) gcc options: -static

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1Stock - No EncryptionFull Disk EncryptionHome Directory Encryption70140210280350SE +/- 0.34, N = 3SE +/- 0.81, N = 3SE +/- 0.22, N = 3320.56294.00226.101. (CC) gcc options: -lpopt -O2

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceStock - No EncryptionFull Disk EncryptionHome Directory Encryption100200300400500SE +/- 9.94, N = 6SE +/- 0.99, N = 3SE +/- 0.39, N = 3472.05142.95139.131. (CC) gcc options: -O3

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileStock - No EncryptionFull Disk EncryptionHome Directory Encryption160320480640800SE +/- 10.84, N = 3SE +/- 9.44, N = 3SE +/- 0.71, N = 3732.51497.85190.99

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateStock - No EncryptionFull Disk EncryptionHome Directory Encryption80160240320400SE +/- 1.17, N = 3SE +/- 6.40, N = 3SE +/- 2.07, N = 3367.05280.50125.03

PostMark

Disk Transaction Performance

OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceStock - No EncryptionFull Disk EncryptionHome Directory Encryption11002200330044005500SE +/- 37.00, N = 3SE +/- 0.00, N = 3SE +/- 4.00, N = 35245510216811. (CC) gcc options: -O3


Phoronix Test Suite v10.8.4