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.
HTML result view exported from: https://openbenchmarking.org/result/1110088-AR-1110066AR56&gru .
Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) Stock AES-NI Intel Stock AES-NI Intel Intel Core i5-2520M @ 2.50GHz (4 Cores) HP 161C Intel 2nd Generation Core Family 4096MB 160GB INTEL SSDSA2M160 Intel 2nd Generation Core Family IGP IDT 92HD81B1X5 Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 Ubuntu 11.10 3.0.0-12-generic (x86_64) Unity 4.22.0 X Server 1.10.4 intel 2.15.901 GCC 4.6.1 ext4 1600x900 OpenBenchmarking.org System Details - 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.
fs-mark: 1000 Files, 1MB Size dbench: 12 tiobench: Rand Write - 64MB - 8 iozone: 64Kb - 8GB - Write Performance postmark: Disk Transaction Performance fio: Intel IOMeter File Server Access Pattern sqlite: Default Test Directory Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) Stock AES-NI Intel Stock AES-NI Intel 41.73 205.74 36.62 102.79 694 123.41 35.78 40.53 249.75 37.05 99.18 555 144.84 38.41 51.53 429.19 89.98 106.14 4166 105.66 47.88 61.43 533.73 90.15 103.95 4249 105.31 31.40 OpenBenchmarking.org
CPU Usage Monitor Phoronix Test Suite System Monitoring Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent CPU Usage Monitor Phoronix Test Suite System Monitoring Stock AES-NI Intel 20 40 60 80 100 Min: 0.24 / Avg: 47.46 / Max: 95.09 Min: 0 / Avg: 51.97 / Max: 92.27 Min: 0 / Avg: 50.06 / Max: 100 Min: 0 / Avg: 41.99 / Max: 100
FS-Mark Test: 1000 Files, 1MB Size Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Stock AES-NI Intel 14 28 42 56 70 SE +/- 0.20, N = 3 SE +/- 0.19, N = 3 SE +/- 0.24, N = 3 SE +/- 0.81, N = 6 41.73 40.53 51.53 61.43
Dbench Client Count: 12 Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 12 Stock AES-NI Intel 120 240 360 480 600 SE +/- 0.20, N = 3 SE +/- 0.17, N = 3 SE +/- 1.08, N = 3 SE +/- 1.14, N = 3 205.74 249.75 429.19 533.73
Threaded I/O Tester Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 Stock AES-NI Intel 20 40 60 80 100 SE +/- 0.43, N = 4 SE +/- 0.63, N = 4 SE +/- 0.19, N = 4 SE +/- 0.25, N = 4 36.62 37.05 89.98 90.15
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org MB/s, More Is Better IOzone 3.347 Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Stock AES-NI Intel 20 40 60 80 100 SE +/- 1.08, N = 3 SE +/- 0.60, N = 3 SE +/- 0.52, N = 3 SE +/- 0.30, N = 3 102.79 99.18 106.14 103.95
PostMark Disk Transaction Performance Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Stock AES-NI Intel 900 1800 2700 3600 4500 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 83.40, N = 10 694 555 4166 4249
SQLite CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better SQLite 3.7.3 CPU Usage Monitor Stock AES-NI Intel 8 16 24 32 40 Min: 3.72 / Avg: 17.1 / Max: 40 Min: 0 / Avg: 18.94 / Max: 37.06 Min: 0.49 / Avg: 20.73 / Max: 23.7 Min: 0 / Avg: 18.9 / Max: 35.09
PostMark CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better PostMark 1.51 CPU Usage Monitor Stock AES-NI Intel 7 14 21 28 35 Min: 21.63 / Avg: 24.98 / Max: 26.48 Min: 14.07 / Avg: 24.96 / Max: 30.89 Min: 0.27 / Avg: 20.57 / Max: 33.78 Min: 0 / Avg: 19.12 / Max: 29.79
FS-Mark CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor Stock AES-NI Intel 6 12 18 24 30 Min: 0.5 / Avg: 15.13 / Max: 17.29 Min: 0 / Avg: 15.64 / Max: 21.38 Min: 0 / Avg: 18.76 / Max: 28.3 Min: 0 / Avg: 15.31 / Max: 22.26
Flexible IO Tester CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better Flexible IO Tester 1.57 CPU Usage Monitor Stock AES-NI Intel 20 40 60 80 100 Min: 0.56 / Avg: 42.53 / Max: 67.14 Min: 2.75 / Avg: 41.71 / Max: 77.97 Min: 2.12 / Avg: 41.64 / Max: 100 Min: 0 / Avg: 21.28 / Max: 35.05
Dbench CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better Dbench 4.0 CPU Usage Monitor Stock AES-NI Intel 20 40 60 80 100 Min: 0.5 / Avg: 57.87 / Max: 72.11 Min: 2.21 / Avg: 66.09 / Max: 92.27 Min: 0.25 / Avg: 54.09 / Max: 79.56 Min: 0.22 / Avg: 52.65 / Max: 65.88
Threaded I/O Tester CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better Threaded I/O Tester 0.3.3 CPU Usage Monitor Stock AES-NI Intel 20 40 60 80 100 Min: 0.26 / Avg: 43.89 / Max: 95.09 Min: 0.45 / Avg: 40.35 / Max: 76.83 Min: 0.25 / Avg: 57.61 / Max: 100 Min: 0 / Avg: 48.85 / Max: 100
IOzone CPU Usage Monitor Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Percent, Fewer Is Better IOzone 3.347 CPU Usage Monitor Stock AES-NI Intel 20 40 60 80 100 Min: 0.25 / Avg: 41.36 / Max: 66.85 Min: 0.25 / Avg: 38.84 / Max: 73.08 Min: 0 / Avg: 55.58 / Max: 100 Min: 0 / Avg: 26.26 / Max: 100
Flexible IO Tester Test: Intel IOMeter File Server Access Pattern Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Seconds (Run Time), Fewer Is Better Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern Stock AES-NI Intel 30 60 90 120 150 SE +/- 2.03, N = 4 SE +/- 0.51, N = 3 SE +/- 0.21, N = 3 SE +/- 0.16, N = 3 123.41 144.84 105.66 105.31
SQLite Test Target: Default Test Directory Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.7.3 Test Target: Default Test Directory Stock AES-NI Intel 11 22 33 44 55 SE +/- 0.87, N = 6 SE +/- 0.25, N = 3 SE +/- 0.12, N = 3 SE +/- 0.69, N = 6 35.78 38.41 47.88 31.40
Phoronix Test Suite v10.8.5