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&sro&grr&export=txt .
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 compilebench: Read Compiled Tree compilebench: Compile compilebench: Initial Create dbench: 1 fs-mark: 4000 Files, 32 Sub Dirs, 1MB Size fs-mark: 5000 Files, 1MB Size, 4 Threads fs-mark: 1000 Files, 1MB Size build-apache: Time To Compile build-linux-kernel: Time To Compile postmark: Disk Transaction Performance Stock Full-Disk Encryption Home Directory Encryption 584.51 221.47 172.27 91.86 50.60 134.27 50.73 64.22 238.41 1789 554.63 219.43 165.59 90.77 47.53 132.20 47.73 64.95 242.78 1376 82.71 189.78 70.64 70.52 40.40 103.20 40.83 65.17 241.72 901 OpenBenchmarking.org
CPU Usage Monitor Phoronix Test Suite System Monitoring OpenBenchmarking.org Percent CPU Usage Monitor Phoronix Test Suite System Monitoring Full-Disk Encryption Home Directory Encryption Stock 20 40 60 80 100 Min: 1.27 / Avg: 31.73 / Max: 100 Min: 0.75 / Avg: 30.25 / Max: 100 Min: 0.25 / Avg: 26.7 / Max: 100
Compile Bench Test: Read Compiled Tree OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Read Compiled Tree Full-Disk Encryption Home Directory Encryption Stock 130 260 390 520 650 SE +/- 2.72, N = 3 SE +/- 0.35, N = 3 SE +/- 2.80, N = 3 554.63 82.71 584.51
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Full-Disk Encryption Home Directory Encryption Stock 50 100 150 200 250 SE +/- 0.78, N = 3 SE +/- 1.78, N = 3 SE +/- 0.55, N = 3 219.43 189.78 221.47
Compile Bench CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.0 33.6 73.6 Home Directory Encryption 2.5 20.7 43.0 Stock 0.3 18.6 34.2 OpenBenchmarking.org Percent, Fewer Is Better Compile Bench 0.6 CPU Usage Monitor 20 40 60 80 100
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Full-Disk Encryption Home Directory Encryption Stock 40 80 120 160 200 SE +/- 1.10, N = 3 SE +/- 0.56, N = 3 SE +/- 1.76, N = 3 165.59 70.64 172.27
Dbench CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.3 14.4 22.5 Home Directory Encryption 1.0 16.0 22.8 Stock 0.3 12.0 17.2 OpenBenchmarking.org Percent, Fewer Is Better Dbench 4.0 CPU Usage Monitor 6 12 18 24 30
Dbench Client Count: 1 OpenBenchmarking.org MB/s, More Is Better Dbench 4.0 Client Count: 1 Full-Disk Encryption Home Directory Encryption Stock 20 40 60 80 100 SE +/- 0.07, N = 3 SE +/- 0.03, N = 3 SE +/- 0.42, N = 3 90.77 70.52 91.86 1. (CC) gcc options: -lpopt -O2
FS-Mark CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.3 12.1 13.8 Home Directory Encryption 1.3 11.9 13.2 Stock 6.2 7.5 14.7 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 5 10 15 20 25
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 Full-Disk Encryption Home Directory Encryption Stock 11 22 33 44 55 SE +/- 0.26, N = 3 SE +/- 0.12, N = 3 SE +/- 0.17, N = 3 47.53 40.40 50.60 1. (CC) gcc options: -static
FS-Mark CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.3 23.6 46.3 Home Directory Encryption 1.8 25.6 29.7 Stock 0.3 13.1 41.3 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 12 24 36 48 60
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 Full-Disk Encryption Home Directory Encryption Stock 30 60 90 120 150 SE +/- 0.10, N = 3 SE +/- 0.44, N = 3 SE +/- 0.74, N = 3 132.20 103.20 134.27 1. (CC) gcc options: -static
FS-Mark CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.5 11.5 13.8 Home Directory Encryption 1.0 10.7 13.9 Stock 0.3 6.5 7.4 OpenBenchmarking.org Percent, Fewer Is Better FS-Mark 3.3 CPU Usage Monitor 5 10 15 20 25
FS-Mark Test: 1000 Files, 1MB Size OpenBenchmarking.org Files/s, More Is Better FS-Mark 3.3 Test: 1000 Files, 1MB Size Full-Disk Encryption Home Directory Encryption Stock 11 22 33 44 55 SE +/- 0.24, N = 3 SE +/- 0.22, N = 3 SE +/- 0.12, N = 3 47.73 40.83 50.73 1. (CC) gcc options: -static
Timed Apache Compilation CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.3 65.2 100.0 Home Directory Encryption 1.3 65.9 100.0 Stock 0.5 63.0 100.0 OpenBenchmarking.org Percent, Fewer Is Better Timed Apache Compilation 2.4.7 CPU Usage Monitor 20 40 60 80 100
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile Full-Disk Encryption Home Directory Encryption Stock 15 30 45 60 75 SE +/- 0.21, N = 3 SE +/- 0.15, N = 3 SE +/- 0.03, N = 3 64.95 65.17 64.22
Timed Linux Kernel Compilation CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.3 95.3 100.0 Home Directory Encryption 1.3 94.5 100.0 Stock 0.8 94.7 100.0 OpenBenchmarking.org Percent, Fewer Is Better Timed Linux Kernel Compilation 3.1 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 Full-Disk Encryption Home Directory Encryption Stock 50 100 150 200 250 SE +/- 9.74, N = 3 SE +/- 8.87, N = 3 SE +/- 9.61, N = 3 242.78 241.72 238.41
PostMark CPU Usage Monitor Min Avg Max Full-Disk Encryption 2.0 25.5 39.0 Home Directory Encryption 1.8 23.0 35.3 Stock 0.3 16.2 21.8 OpenBenchmarking.org Percent, Fewer Is Better PostMark 1.51 CPU Usage Monitor 11 22 33 44 55
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance Full-Disk Encryption Home Directory Encryption Stock 400 800 1200 1600 2000 SE +/- 6.49, N = 3 SE +/- 1.00, N = 3 SE +/- 4.33, N = 3 1376 901 1789 1. (CC) gcc options: -O3
Phoronix Test Suite v10.8.5