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