AES-NI Performance: eCryptfs vs. dmcrypt

Ubuntu 11.10 benchmarking of Intel AES-NI performance of the encrypted home feature (using eCryptfs) against the encrypted LVM (using dmcrypt) feature. Testing for Canonical and a future Phoronix.com article by Michael Larabel.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1110088-AR-1110066AR56
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
Show Result Confidence Charts
Allow Limiting Results To Certain Suite(s)

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
Disable Color Branding
Prefer Vertical Bar Graphs
No Box Plots
On Line Graphs With Missing Data, Connect The Line Gaps

Multi-Way Comparison

Condense Comparison
Transpose Comparison

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Toggle/Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
Encrypted Home (eCryptfs): Stock
October 05 2011
 
Encrypted Home (eCryptfs): AES-NI Intel
October 05 2011
 
Encrypted LVM (dmcrypt): Stock
October 08 2011
 
Encrypted LVM (dmcrypt): AES-NI Intel
October 08 2011
 
Invert Behavior (Only Show Selected Data)
 

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):


AES-NI Performance: eCryptfs vs. dmcryptOpenBenchmarking.orgPhoronix Test SuiteIntel Core i5-2520M @ 2.50GHz (4 Cores)HP 161CIntel 2nd Generation Core Family4096MB160GB INTEL SSDSA2M160Intel 2nd Generation Core Family IGPIDT 92HD81B1X5Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205Ubuntu 11.103.0.0-12-generic (x86_64)Unity 4.22.0X Server 1.10.4intel 2.15.901GCC 4.6.1ext41600x900ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionAES-NI Performance: ECryptfs Vs. Dmcrypt BenchmarksSystem Logs- Encrypted Home (eCryptfs): Stock: Disk Scheduler: CFQ. Compiz was running on this system. Intel SpeedStep was enabled. - Encrypted Home (eCryptfs): AES-NI Intel: Disk Scheduler: CFQ. Compiz was running on this system. Intel SpeedStep was enabled. - Encrypted LVM (dmcrypt): Stock: Disk Scheduler: CFQ. Compiz was running on this system.- Encrypted LVM (dmcrypt): AES-NI Intel: Disk Scheduler: CFQ. Compiz was running on this system.

tiobench: Rand Write - 64MB - 8dbench: 12fio: Intel IOMeter File Server Access Patternfs-mark: 1000 Files, 1MB Sizeiozone: 64Kb - 8GB - Write Performancepostmark: Disk Transaction Performancesqlite: Default Test DirectoryEncrypted Home (eCryptfs)Encrypted LVM (dmcrypt) Stock AES-NI Intel Stock AES-NI Intel36.62205.74123.4141.73102.7969435.7837.05249.75144.8440.5399.1855538.4189.98429.19105.6651.53106.14416647.8890.15533.73105.3161.43103.95424931.40OpenBenchmarking.org

Threaded I/O Tester

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 8AES-NI IntelStock20406080100SE +/- 0.63, N = 4SE +/- 0.43, N = 4SE +/- 0.25, N = 4SE +/- 0.19, N = 437.0536.6290.1589.98

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.

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 12AES-NI IntelStock120240360480600SE +/- 0.17, N = 3SE +/- 0.20, N = 3SE +/- 1.14, N = 3SE +/- 1.08, N = 3249.75205.74533.73429.19

Flexible IO Tester

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.57Test: Intel IOMeter File Server Access PatternAES-NI IntelStock306090120150SE +/- 0.51, N = 3SE +/- 2.03, N = 4SE +/- 0.16, N = 3SE +/- 0.21, N = 3144.84123.41105.31105.66

FS-Mark

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeAES-NI IntelStock1428425670SE +/- 0.19, N = 3SE +/- 0.20, N = 3SE +/- 0.81, N = 6SE +/- 0.24, N = 340.5341.7361.4351.53

IOzone

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceAES-NI IntelStock20406080100SE +/- 0.60, N = 3SE +/- 1.08, N = 3SE +/- 0.30, N = 3SE +/- 0.52, N = 399.18102.79103.95106.14

PostMark

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceAES-NI IntelStock9001800270036004500SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 83.40, N = 10SE +/- 0.00, N = 555569442494166

SQLite

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.7.3Test Target: Default Test DirectoryAES-NI IntelStock1122334455SE +/- 0.25, N = 3SE +/- 0.87, N = 6SE +/- 0.69, N = 6SE +/- 0.12, N = 338.4135.7831.4047.88

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterSQLite 3.7.3CPU Usage MonitorAES-NI IntelStock816243240Min: 0 / Avg: 18.94 / Max: 37.06Min: 3.72 / Avg: 17.1 / Max: 40Min: 0 / Avg: 18.9 / Max: 35.09Min: 0.49 / Avg: 20.73 / Max: 23.7

PostMark

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterPostMark 1.51CPU Usage MonitorAES-NI IntelStock714212835Min: 14.07 / Avg: 24.96 / Max: 30.89Min: 21.63 / Avg: 24.98 / Max: 26.48Min: 0 / Avg: 19.12 / Max: 29.79Min: 0.27 / Avg: 20.57 / Max: 33.78

FS-Mark

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterFS-Mark 3.3CPU Usage MonitorAES-NI IntelStock612182430Min: 0 / Avg: 15.64 / Max: 21.38Min: 0.5 / Avg: 15.13 / Max: 17.29Min: 0 / Avg: 15.31 / Max: 22.26Min: 0 / Avg: 18.76 / Max: 28.3

Flexible IO Tester

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 1.57CPU Usage MonitorAES-NI IntelStock20406080100Min: 2.75 / Avg: 41.71 / Max: 77.97Min: 0.56 / Avg: 42.53 / Max: 67.14Min: 0 / Avg: 21.28 / Max: 35.05Min: 2.12 / Avg: 41.64 / Max: 100

Dbench

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterDbench 4.0CPU Usage MonitorAES-NI IntelStock20406080100Min: 2.21 / Avg: 66.09 / Max: 92.27Min: 0.5 / Avg: 57.87 / Max: 72.11Min: 0.22 / Avg: 52.65 / Max: 65.88Min: 0.25 / Avg: 54.09 / Max: 79.56

Threaded I/O Tester

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterThreaded I/O Tester 0.3.3CPU Usage MonitorAES-NI IntelStock20406080100Min: 0.45 / Avg: 40.35 / Max: 76.83Min: 0.26 / Avg: 43.89 / Max: 95.09Min: 0 / Avg: 48.85 / Max: 100Min: 0.25 / Avg: 57.61 / Max: 100

IOzone

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercent, Fewer Is BetterIOzone 3.347CPU Usage MonitorAES-NI IntelStock20406080100Min: 0.25 / Avg: 38.84 / Max: 73.08Min: 0.25 / Avg: 41.36 / Max: 66.85Min: 0 / Avg: 26.26 / Max: 100Min: 0 / Avg: 55.58 / Max: 100

CPU Usage Monitor

Encrypted Home (eCryptfs)Encrypted LVM (dmcrypt)OpenBenchmarking.orgPercentCPU Usage MonitorPhoronix Test Suite System MonitoringAES-NI IntelStock20406080100Min: 0 / Avg: 51.97 / Max: 92.27Min: 0.24 / Avg: 47.46 / Max: 95.09Min: 0 / Avg: 41.99 / Max: 100Min: 0 / Avg: 50.06 / Max: 100

15 Results Shown

Threaded I/O Tester
Dbench
Flexible IO Tester
FS-Mark
IOzone
PostMark
SQLite
SQLite:
  CPU Usage Monitor:
    Percent
    Percent
    Percent
    Percent
    Percent
    Percent
    Percent
  Phoronix Test Suite System Monitoring:
    Percent