Ubuntu 14.04 Disk Encryption Benchmarks Disk encryption benchmarks by Michael Larabel for a future article on Phoronix.com... Stock (no encryption), eCryptfs home encryption, and LUKS-based LVM encryption...
HTML result view exported from: https://openbenchmarking.org/result/1403072-PL-ENCRYPTIO66&gru&rdt .
Ubuntu 14.04 Disk Encryption Benchmarks Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution Stock Full-Disk Encryption Home Directory Encryption Intel Core i7-3517U @ 1.90GHz (4 Cores) ASUS UX32VDA v1.0 Intel 3rd Gen Core DRAM 4096MB 2 x 128GB SanDisk SD5SF212 Intel HD 4000 512MB (1150MHz) Realtek ALC269VB Intel Centrino Advanced-N 6235 Ubuntu 14.04 3.13.0-16-generic (x86_64) Unity 7.1.2 X Server 1.15.0 intel 2.99.910 3.3 Mesa 10.1.0-rc3 GCC 4.8 ext4 1920x1080 3.3 Mesa 10.1.0-rc3 ext4 (ecryptfs) OpenBenchmarking.org Compiler Details - --build=x86_64-linux-gnu --disable-browser-plugin --disable-libmudflap --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-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details - Stock: DEADLINE / data=ordered,errors=remount-ro,relatime,rw - Full-Disk Encryption: DEADLINE / data=ordered,errors=remount-ro,relatime,rw - Home Directory Encryption: DEADLINE / ecryptfs_cipher=aes,ecryptfs_fnek_sig=c2f9ee110bf9e0e1,ecryptfs_key_bytes=16,ecryptfs_sig=ecb49ec787a762a8,ecryptfs_unlink_sigs,nodev,nosuid,relatime,rw Processor Details - Scaling Governor: acpi-cpufreq ondemand System Details - Disk Scheduler: DEADLINE. Python 2.7.6.
Ubuntu 14.04 Disk Encryption Benchmarks fs-mark: 1000 Files, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size dbench: 1 compilebench: Initial Create compilebench: Compile compilebench: Read Compiled Tree postmark: Disk Transaction Performance build-linux-kernel: Time To Compile build-apache: Time To Compile Stock Full-Disk Encryption Home Directory Encryption 50.73 134.27 50.60 91.86 172.27 221.47 584.51 1789 238.41 64.22 47.73 132.20 47.53 90.77 165.59 219.43 554.63 1376 242.78 64.95 40.83 103.20 40.40 70.52 70.64 189.78 82.71 901 241.72 65.17 OpenBenchmarking.org
CPU Usage Monitor Phoronix Test Suite System Monitoring OpenBenchmarking.org Percent CPU Usage Monitor Phoronix Test Suite System Monitoring Stock Full-Disk Encryption Home Directory Encryption 20 40 60 80 100 Min: 0.25 / Avg: 26.7 / Max: 100 Min: 1.27 / Avg: 31.73 / Max: 100 Min: 0.75 / Avg: 30.25 / Max: 100
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Stock Full-Disk Encryption Home Directory Encryption 11 22 33 44 55 SE +/- 0.12, N = 3 SE +/- 0.24, N = 3 SE +/- 0.22, N = 3 50.73 47.73 40.83 1. (CC) gcc options: -static
FS-Mark Test: 5000 Files, 1MB Size, 4 Threads OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 5000 Files, 1MB Size, 4 Threads Stock Full-Disk Encryption Home Directory Encryption 30 60 90 120 150 SE +/- 0.74, N = 3 SE +/- 0.10, N = 3 SE +/- 0.44, N = 3 134.27 132.20 103.20 1. (CC) gcc options: -static
FS-Mark Test: 4000 Files, 32 Sub Dirs, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 4000 Files, 32 Sub Dirs, 1MB Size Stock Full-Disk Encryption Home Directory Encryption 11 22 33 44 55 SE +/- 0.17, N = 3 SE +/- 0.26, N = 3 SE +/- 0.12, N = 3 50.60 47.53 40.40 1. (CC) gcc options: -static
Dbench Client Count: 1 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 1 Stock Full-Disk Encryption Home Directory Encryption 20 40 60 80 100 SE +/- 0.42, N = 3 SE +/- 0.07, N = 3 SE +/- 0.03, N = 3 91.86 90.77 70.52 1. (CC) gcc options: -lpopt -O2
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Stock Full-Disk Encryption Home Directory Encryption 40 80 120 160 200 SE +/- 1.76, N = 3 SE +/- 1.10, N = 3 SE +/- 0.56, N = 3 172.27 165.59 70.64
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Stock Full-Disk Encryption Home Directory Encryption 50 100 150 200 250 SE +/- 0.55, N = 3 SE +/- 0.78, N = 3 SE +/- 1.78, N = 3 221.47 219.43 189.78
Compile Bench Test: Read Compiled Tree OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Read Compiled Tree Stock Full-Disk Encryption Home Directory Encryption 130 260 390 520 650 SE +/- 2.80, N = 3 SE +/- 2.72, N = 3 SE +/- 0.35, N = 3 584.51 554.63 82.71
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Stock Full-Disk Encryption Home Directory Encryption 400 800 1200 1600 2000 SE +/- 4.33, N = 3 SE +/- 6.49, N = 3 SE +/- 1.00, N = 3 1789 1376 901 1. (CC) gcc options: -O3
PostMark CPU Usage Monitor Min Avg Max Stock 0.3 16.2 21.8 Full-Disk Encryption 2.0 25.5 39.0 Home Directory Encryption 1.8 23.0 35.3 OpenBenchmarking.org Percent, Fewer Is Better PostMark 1.51 CPU Usage Monitor 11 22 33 44 55
Timed Linux Kernel Compilation CPU Usage Monitor Min Avg Max Stock 0.8 94.7 100.0 Full-Disk Encryption 2.3 95.3 100.0 Home Directory Encryption 1.3 94.5 100.0 OpenBenchmarking.org Percent, Fewer Is Better Timed Linux Kernel Compilation 3.1 CPU Usage Monitor 20 40 60 80 100
Timed Apache Compilation CPU Usage Monitor Min Avg Max Stock 0.5 63.0 100.0 Full-Disk Encryption 2.3 65.2 100.0 Home Directory Encryption 1.3 65.9 100.0 OpenBenchmarking.org Percent, Fewer Is Better Timed Apache Compilation 2.4.7 CPU Usage Monitor 20 40 60 80 100
FS-Mark CPU Usage Monitor Min Avg Max Stock 0.3 6.5 7.4 Full-Disk Encryption 2.5 11.5 13.8 Home Directory Encryption 1.0 10.7 13.9 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 5 10 15 20 25
FS-Mark CPU Usage Monitor Min Avg Max Stock 0.3 13.1 41.3 Full-Disk Encryption 2.3 23.6 46.3 Home Directory Encryption 1.8 25.6 29.7 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 12 24 36 48 60
FS-Mark CPU Usage Monitor Min Avg Max Stock 6.2 7.5 14.7 Full-Disk Encryption 2.3 12.1 13.8 Home Directory Encryption 1.3 11.9 13.2 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 5 10 15 20 25
Dbench CPU Usage Monitor Min Avg Max Stock 0.3 12.0 17.2 Full-Disk Encryption 2.3 14.4 22.5 Home Directory Encryption 1.0 16.0 22.8 OpenBenchmarking.org Percent, Fewer Is Better Dbench 4.0 CPU Usage Monitor 6 12 18 24 30
Compile Bench CPU Usage Monitor Min Avg Max Stock 0.3 18.6 34.2 Full-Disk Encryption 2.0 33.6 73.6 Home Directory Encryption 2.5 20.7 43.0 OpenBenchmarking.org Percent, Fewer Is Better Compile Bench 0.6 CPU Usage Monitor 20 40 60 80 100
Timed Linux Kernel Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Linux Kernel Compilation 3.1 Time To Compile Stock Full-Disk Encryption Home Directory Encryption 50 100 150 200 250 SE +/- 9.61, N = 3 SE +/- 9.74, N = 3 SE +/- 8.87, N = 3 238.41 242.78 241.72
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile Stock Full-Disk Encryption Home Directory Encryption 15 30 45 60 75 SE +/- 0.03, N = 3 SE +/- 0.21, N = 3 SE +/- 0.15, N = 3 64.22 64.95 65.17
Phoronix Test Suite v10.8.5