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&sor&grs .
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.
dbench: 12 tiobench: Rand Write - 64MB - 8 sqlite: Default Test Directory fs-mark: 1000 Files, 1MB Size fio: Intel IOMeter File Server Access Pattern iozone: 64Kb - 8GB - Write Performance postmark: Disk Transaction Performance Encrypted Home (eCryptfs) Encrypted LVM (dmcrypt) Stock AES-NI Intel Stock AES-NI Intel 205.74 36.62 35.78 41.73 123.41 102.79 694 249.75 37.05 38.41 40.53 144.84 99.18 555 429.19 89.98 47.88 51.53 105.66 106.14 4166 533.73 90.15 31.40 61.43 105.31 103.95 4249 OpenBenchmarking.org
Dbench CPU Usage Monitor Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Percent, Fewer Is Better Dbench 4.0 CPU Usage Monitor AES-NI Intel Stock 20 40 60 80 100 Min: 0.22 / Avg: 52.65 / Max: 65.88 Min: 0.25 / Avg: 54.09 / Max: 79.56 Min: 0.5 / Avg: 57.87 / Max: 72.11 Min: 2.21 / Avg: 66.09 / Max: 92.27
Dbench Client Count: 12 Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 12 AES-NI Intel Stock 120 240 360 480 600 SE +/- 1.14, N = 3 SE +/- 1.08, N = 3 SE +/- 0.17, N = 3 SE +/- 0.20, N = 3 533.73 429.19 249.75 205.74
Threaded I/O Tester Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org MB/s, More Is Better Threaded I/O Tester 0.3.3 Test: Random Write - Size Per Thread: 64MB - Thread Count: 8 AES-NI Intel Stock 20 40 60 80 100 SE +/- 0.25, N = 4 SE +/- 0.19, N = 4 SE +/- 0.63, N = 4 SE +/- 0.43, N = 4 90.15 89.98 37.05 36.62
SQLite Test Target: Default Test Directory Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.7.3 Test Target: Default Test Directory AES-NI Intel Stock 11 22 33 44 55 SE +/- 0.69, N = 6 SE +/- 0.12, N = 3 SE +/- 0.87, N = 6 SE +/- 0.25, N = 3 31.40 47.88 35.78 38.41
FS-Mark Test: 1000 Files, 1MB Size Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size AES-NI Intel Stock 14 28 42 56 70 SE +/- 0.81, N = 6 SE +/- 0.24, N = 3 SE +/- 0.20, N = 3 SE +/- 0.19, N = 3 61.43 51.53 41.73 40.53
Flexible IO Tester Test: Intel IOMeter File Server Access Pattern Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Seconds (Run Time), Fewer Is Better Flexible IO Tester 1.57 Test: Intel IOMeter File Server Access Pattern AES-NI Intel Stock 30 60 90 120 150 SE +/- 0.16, N = 3 SE +/- 0.21, N = 3 SE +/- 2.03, N = 4 SE +/- 0.51, N = 3 105.31 105.66 123.41 144.84
IOzone Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) 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 +/- 0.52, N = 3 SE +/- 0.30, N = 3 SE +/- 1.08, N = 3 SE +/- 0.60, N = 3 106.14 103.95 102.79 99.18
IOzone CPU Usage Monitor Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Percent, Fewer Is Better IOzone 3.347 CPU Usage Monitor AES-NI Intel Stock 20 40 60 80 100 Min: 0 / Avg: 26.26 / Max: 100 Min: 0 / Avg: 55.58 / Max: 100 Min: 0.25 / Avg: 38.84 / Max: 73.08 Min: 0.25 / Avg: 41.36 / Max: 66.85
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 AES-NI Intel Stock 20 40 60 80 100 Min: 0.45 / Avg: 40.35 / Max: 76.83 Min: 0.26 / Avg: 43.89 / Max: 95.09 Min: 0 / Avg: 48.85 / Max: 100 Min: 0.25 / Avg: 57.61 / Max: 100
Flexible IO Tester CPU Usage Monitor Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Percent, Fewer Is Better Flexible IO Tester 1.57 CPU Usage Monitor AES-NI Intel Stock 20 40 60 80 100 Min: 0 / Avg: 21.28 / Max: 35.05 Min: 2.12 / Avg: 41.64 / Max: 100 Min: 2.75 / Avg: 41.71 / Max: 77.97 Min: 0.56 / Avg: 42.53 / Max: 67.14
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: 15.31 / Max: 22.26 Min: 0 / Avg: 18.76 / Max: 28.3
PostMark CPU Usage Monitor Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Percent, Fewer Is Better PostMark 1.51 CPU Usage Monitor AES-NI Intel Stock 7 14 21 28 35 Min: 0 / Avg: 19.12 / Max: 29.79 Min: 0.27 / Avg: 20.57 / Max: 33.78 Min: 14.07 / Avg: 24.96 / Max: 30.89 Min: 21.63 / Avg: 24.98 / Max: 26.48
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 / Avg: 18.9 / Max: 35.09 Min: 0.49 / Avg: 20.73 / Max: 23.7
CPU Usage Monitor Phoronix Test Suite System Monitoring Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org Percent CPU Usage Monitor Phoronix Test Suite System Monitoring AES-NI Intel Stock 20 40 60 80 100 Min: 0 / Avg: 41.99 / Max: 100 Min: 0 / Avg: 50.06 / Max: 100 Min: 0.24 / Avg: 47.46 / Max: 95.09 Min: 0 / Avg: 51.97 / Max: 92.27
PostMark Disk Transaction Performance Encrypted LVM (dmcrypt) Encrypted Home (eCryptfs) OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance AES-NI Intel Stock 900 1800 2700 3600 4500 SE +/- 83.40, N = 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 4249 4166 694 555
Phoronix Test Suite v10.8.5