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.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1309011-SO-DISKENCRY67
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
Stock - No Encryption
September 01 2013
 
Full Disk Encryption
September 01 2013
 
Home Directory Encryption
September 01 2013
 
Invert Hiding All Results Option
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


Ubuntu 13.10 Disk Encryption PerformanceOpenBenchmarking.orgPhoronix Test SuiteIntel 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.8ext4ext4 (ecryptfs)1920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemsScreen ResolutionUbuntu 13.10 Disk Encryption Performance BenchmarksSystem Logs- --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 - Stock - No Encryption: DEADLINE / data=ordered,errors=remount-ro,relatime,rw- Stock - No Encryption: Scaling Governor: acpi-cpufreq ondemand- Stock - No Encryption: Disk Scheduler: DEADLINE. Python 2.7.5+.- Full Disk Encryption: Python 2.7.5+.- Home Directory Encryption: Python 2.7.5+.- 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

Stock - No EncryptionFull Disk EncryptionHome Directory EncryptionResult OverviewPhoronix Test Suite100%171%242%313%384%Compile BenchIOzoneFS-MarkPostMarkCompile BenchFS-MarkFS-MarkFlexible IO TesterDbenchCompile64Kb - 8GB - Write Performance5.F.1.S.4.TD.T.PInitial Create4.F.3.S.D.1.S1.F.1.SI.I.F.S.A.P1

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

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
OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.57Test: Intel IOMeter File Server Access PatternStock - No EncryptionFull Disk EncryptionHome Directory Encryption20406080100Min: 65.11 / Avg: 65.6 / Max: 66.51Min: 111.43 / Avg: 113.11 / Max: 114.57Min: 61.76 / Avg: 62.24 / Max: 62.81. (CC) gcc options: -std=gnu99 -O2 -rdynamic -lm -lpthread -ldl -lrt -laio

FS-Mark

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
OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeStock - No EncryptionFull Disk EncryptionHome Directory Encryption4080120160200Min: 204 / Avg: 242.8 / Max: 291.9Min: 110.2 / Avg: 118.73 / Max: 128.3Min: 124 / Avg: 125.2 / Max: 126.51. (CC) gcc options: -static

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
OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsStock - No EncryptionFull Disk EncryptionHome Directory Encryption70140210280350Min: 408.8 / Avg: 409.07 / Max: 409.2Min: 100.4 / Avg: 128.33 / Max: 156.8Min: 140 / Avg: 140.13 / Max: 140.41. (CC) gcc options: -static

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
OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeStock - No EncryptionFull Disk EncryptionHome Directory Encryption50100150200250Min: 247.7 / Avg: 251.8 / Max: 255.6Min: 122.2 / Avg: 125 / Max: 128Min: 123 / Avg: 123.13 / Max: 123.31. (CC) gcc options: -static

Dbench

Dbench is a benchmark designed by the Samba project as a free alternative to netbench, but dbench contains only file-system calls for testing the disk performance. Learn more via the OpenBenchmarking.org test page.

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
OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1Stock - No EncryptionFull Disk EncryptionHome Directory Encryption60120180240300Min: 320.16 / Avg: 320.56 / Max: 321.23Min: 292.7 / Avg: 294 / Max: 295.49Min: 225.73 / Avg: 226.1 / Max: 226.491. (CC) gcc options: -lpopt -O2

IOzone

The IOzone benchmark tests the hard disk drive / file-system performance. Learn more via the OpenBenchmarking.org test page.

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
OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceStock - No EncryptionFull Disk EncryptionHome Directory Encryption80160240320400Min: 423.79 / Avg: 472.05 / Max: 484.93Min: 141.74 / Avg: 142.95 / Max: 144.91Min: 138.69 / Avg: 139.13 / Max: 139.911. (CC) gcc options: -O3

Compile Bench

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
OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileStock - No EncryptionFull Disk EncryptionHome Directory Encryption130260390520650Min: 719.36 / Avg: 732.51 / Max: 754Min: 487.46 / Avg: 497.85 / Max: 516.7Min: 190.14 / Avg: 190.99 / Max: 192.41

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
OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateStock - No EncryptionFull Disk EncryptionHome Directory Encryption70140210280350Min: 365.01 / Avg: 367.05 / Max: 369.07Min: 273.04 / Avg: 280.5 / Max: 293.25Min: 121.09 / Avg: 125.03 / Max: 128.09

PostMark

This is a test of NetApp's PostMark benchmark designed to simulate small-file testing similar to the tasks endured by web and mail servers. This test profile will set PostMark to perform 25,000 transactions with 500 files simultaneously with the file sizes ranging between 5 and 512 kilobytes. Learn more via the OpenBenchmarking.org test page.

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
OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceStock - No EncryptionFull Disk EncryptionHome Directory Encryption9001800270036004500Min: 5208 / Avg: 5245 / Max: 5319Min: 5102 / Avg: 5102 / Max: 5102Min: 1677 / Avg: 1681 / Max: 16891. (CC) gcc options: -O3