EXT4 Encryption Linux 4.18 Git

Tests for a future article on Phoronix.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1806152-AR-EXT4ENCRY33
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results
Show Result Confidence Charts
Allow Limiting Results To Certain Suite(s)

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs
No Box Plots
On Line Graphs With Missing Data, Connect The Line Gaps

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs
Condense Test Profiles With Multiple Version Results Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Toggle/Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
No Encryption
June 15 2018
  1 Hour, 50 Minutes
EXT4 fscrypt
June 15 2018
  2 Hours, 2 Minutes
eCryptfs
June 15 2018
  1 Hour, 48 Minutes
LUKS dm-crypt
June 15 2018
  1 Hour, 52 Minutes
Invert Behavior (Only Show Selected Data)
  1 Hour, 53 Minutes

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


EXT4 Encryption Linux 4.18 GitOpenBenchmarking.orgPhoronix Test Suite2 x Intel Xeon Gold 6138 @ 3.70GHz (40 Cores / 80 Threads)TYAN S7106 (V1.00 BIOS)Intel Sky Lake-E DMI3 Registers12 x 8192 MB DDR4-2666MT/s Micron 9ASF1G72PZ-2G6B1256GB Samsung SSD 850 + 2000GB Seagate ST2000DM006-2DM1 + 2 x 120GB TOSHIBA-TR150ASPEED ASPEED FamilyVE228Intel I210 Gigabit ConnectionUbuntu 18.044.17.0-999-generic (x86_64) 20180614GNOME Shell 3.28.1GCC 7.3.0ext4ext4 (ecryptfs)1920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsMonitorNetworkOSKernelDesktopCompilerFile-SystemsScreen ResolutionEXT4 Encryption Linux 4.18 Git BenchmarksSystem Logs- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-as=/usr/bin/x86_64-linux-gnu-as --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-ld=/usr/bin/x86_64-linux-gnu-ld --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v - CFQ / relatime,rw- Scaling Governor: intel_pstate powersave- Python 2.7.15rc1 + Python 3.6.5- KPTI + __user pointer sanitization + Full generic retpoline IBPB IBRS_FW Protection

No EncryptionEXT4 fscrypteCryptfsLUKS dm-cryptResult OverviewPhoronix Test Suite100%138%177%215%254%OSBenchCompile BenchPostgreSQL pgbenchFS-MarkTimed GCC CompilationNGINX BenchmarkSQLite

EXT4 Encryption Linux 4.18 Gitcompilebench: Initial Createfio: Rand Read - POSIX AIO - No - Yes - 4KB - Default Test Directoryfio: Rand Read - POSIX AIO - No - Yes - 4MB - Default Test Directoryfio: Rand Write - POSIX AIO - No - Yes - 4KB - Default Test Directoryfio: Rand Write - POSIX AIO - No - Yes - 4MB - Default Test Directoryfio: Seq Read - POSIX AIO - No - Yes - 4KB - Default Test Directoryfio: Seq Read - POSIX AIO - No - Yes - 4MB - Default Test Directoryfio: Seq Write - POSIX AIO - No - Yes - 4KB - Default Test Directoryfio: Seq Write - POSIX AIO - No - Yes - 4MB - Default Test Directoryfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizenginx: Static Web Page Servingosbench: Create Filespgbench: Buffer Test - Normal Load - Read Writesqlite: Timed SQLite Insertionsbuild-gcc: Time To CompileNo EncryptionEXT4 fscrypteCryptfsLUKS dm-crypt505.6531.2350710847416950611647774.1050.9344.6029708.9315.602382.9940.90852.35355.0326.70428394.703301532444798.9333262.8747.7338.7029783.0623.812184.2546.071029.01201.4750.3348.1336.3025722.0239.581832.1842.71964.24509.8521.5331057.5726386.3031061.5030260.5049.3340.6729831.0215.822321.6245.50854.03OpenBenchmarking.org

Compile Bench

Compilebench tries to age a filesystem by simulating some of the disk IO common in creating, compiling, patching, stating and reading kernel trees. It indirectly measures how well filesystems can maintain directory locality as the disk fills up and directories age. This current test is setup to use the makej mode with 10 initial directories Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateeCryptfsEXT4 fscryptNo EncryptionLUKS dm-crypt110220330440550SE +/- 0.53, N = 3SE +/- 7.52, N = 3SE +/- 6.00, N = 3SE +/- 5.44, N = 3201.47355.03505.65509.85

MinAvgMaxLUKS dm-crypt0.02.78.3EXT4 fscrypt0.01.02.5eCryptfs0.01.02.5No Encryption0.00.92.5OpenBenchmarking.orgPercent, Fewer Is BetterCompile Bench 0.6CPU Usage (Summary) Monitor3691215

CPU Usage (Summary) Monitor

OpenBenchmarking.orgPercentCPU Usage (Summary) MonitorPhoronix Test Suite System MonitoringEXT4 fscrypteCryptfsNo EncryptionLUKS dm-crypt20406080100Min: 0 / Avg: 8.72 / Max: 100Min: 0 / Avg: 7.16 / Max: 100Min: 0 / Avg: 6.21 / Max: 100Min: 0 / Avg: 6.17 / Max: 100

Flexible IO Tester

Fio is an advanced disk benchmark that depends upon the kernel's AIO access library. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Read - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption714212835SE +/- 0.37, N = 3SE +/- 0.00, N = 3SE +/- 0.34, N = 321.5326.7031.231. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxLUKS dm-crypt0.01.46.1eCryptfs0.00.76.2No Encryption0.00.56.7EXT4 fscrypt0.00.56.3OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor3691215

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Read - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4MB - Disk Target: Default Test DirectoryLUKS dm-cryptNo EncryptionEXT4 fscrypt9001800270036004500SE +/- 0.33, N = 3SE +/- 52.26, N = 331050742831. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxLUKS dm-crypt0.01.41.9EXT4 fscrypt0.01.01.5eCryptfs0.00.86.3No Encryption0.00.10.5OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor3691215

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption20406080100SE +/- 1.82, N = 3SE +/- 4.82, N = 3SE +/- 2.00, N = 357.5794.70108.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption6K12K18K24K30KSE +/- 484.19, N = 3SE +/- 1270.17, N = 3SE +/- 450.92, N = 31473324300277001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxEXT4 fscrypt0.01.02.5LUKS dm-crypt0.00.92.4No Encryption0.00.71.4eCryptfs0.00.00.1OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor1.3812.7624.1435.5246.905

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Random Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4MB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption100200300400500SE +/- 20.07, N = 3SE +/- 8.17, N = 3SE +/- 3.18, N = 32633304741. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxEXT4 fscrypt0.01.16.4LUKS dm-crypt0.01.05.7No Encryption0.00.71.5eCryptfs0.00.10.7OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor3691215

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Read - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptNo EncryptionEXT4 fscrypt30060090012001500SE +/- 0.10, N = 3SE +/- 0.88, N = 3SE +/- 25.70, N = 386.30169.001532.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Sequential Read - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptNo EncryptionEXT4 fscrypt80K160K240K320K400KSE +/- 288.68, N = 3SE +/- 6557.44, N = 322100434003920001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxEXT4 fscrypt0.01.62.4LUKS dm-crypt0.01.11.5No Encryption0.00.81.4eCryptfs0.00.65.1OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor1.773.545.317.088.85

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Read - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4MB - Disk Target: Default Test DirectoryLUKS dm-cryptNo EncryptionEXT4 fscrypt10002000300040005000SE +/- 10.49, N = 331050644471. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxLUKS dm-crypt0.01.65.8EXT4 fscrypt0.01.26.0eCryptfs0.00.86.4No Encryption0.00.10.4OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor3691215

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption306090120150SE +/- 0.85, N = 3SE +/- 3.58, N = 3SE +/- 4.26, N = 361.5098.93116.001. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

OpenBenchmarking.orgIOPS, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4KB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption6K12K18K24K30KSE +/- 218.58, N = 3SE +/- 953.94, N = 3SE +/- 1091.38, N = 31576725400296671. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxEXT4 fscrypt0.01.05.0LUKS dm-crypt0.00.84.0No Encryption0.00.71.4eCryptfs0.00.00.2OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor1.743.485.226.968.7

OpenBenchmarking.orgMB/s, More Is BetterFlexible IO Tester 3.1Type: Sequential Write - IO Engine: POSIX AIO - Buffered: No - Direct: Yes - Block Size: 4MB - Disk Target: Default Test DirectoryLUKS dm-cryptEXT4 fscryptNo Encryption100200300400500SE +/- 4.51, N = 33023324771. (CC) gcc options: -rdynamic -std=gnu99 -ffast-math -include -O3 -U_FORTIFY_SOURCE -ll -lrt -laio -lz -lm -lpthread -ldl

MinAvgMaxEXT4 fscrypt0.01.06.1No Encryption0.00.96.3LUKS dm-crypt0.00.91.2eCryptfs0.00.00.3OpenBenchmarking.orgPercent, Fewer Is BetterFlexible IO Tester 3.1CPU Usage (Summary) Monitor3691215

FS-Mark

FS_Mark is designed to test a system's file-system performance. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeeCryptfsLUKS dm-cryptEXT4 fscryptNo Encryption1632486480SE +/- 13.28, N = 3SE +/- 17.26, N = 3SE +/- 22.67, N = 3SE +/- 23.48, N = 350.3360.5062.8774.101. (CC) gcc options: -static

MinAvgMaxLUKS dm-crypt0.00.91.3eCryptfs0.00.91.3No Encryption0.00.81.3EXT4 fscrypt0.00.81.3OpenBenchmarking.orgPercent, Fewer Is BetterFS-Mark 3.3CPU Usage (Summary) Monitor0.6991.3982.0972.7963.495

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsEXT4 fscrypteCryptfsLUKS dm-cryptNo Encryption1122334455SE +/- 1.96, N = 3SE +/- 0.58, N = 3SE +/- 0.74, N = 3SE +/- 0.74, N = 347.7348.1349.3350.931. (CC) gcc options: -static

MinAvgMaxeCryptfs0.01.75.0LUKS dm-crypt0.01.55.0EXT4 fscrypt0.01.45.0No Encryption0.01.32.4OpenBenchmarking.orgPercent, Fewer Is BetterFS-Mark 3.3CPU Usage (Summary) Monitor1.753.55.2578.75

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeeCryptfsEXT4 fscryptLUKS dm-cryptNo Encryption1020304050SE +/- 1.90, N = 3SE +/- 6.90, N = 3SE +/- 2.57, N = 3SE +/- 3.15, N = 336.3038.7040.6744.601. (CC) gcc options: -static

MinAvgMaxLUKS dm-crypt0.01.21.4EXT4 fscrypt0.01.01.3eCryptfs0.01.01.3No Encryption0.00.91.5OpenBenchmarking.orgPercent, Fewer Is BetterFS-Mark 3.3CPU Usage (Summary) Monitor0.75521.51042.26563.02083.776

NGINX Benchmark

This is a test of ab, which is the Apache Benchmark program running against nginx. This test profile measures how many requests per second a given system can sustain when carrying out 2,000,000 requests with 500 requests being carried out concurrently. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.9.9Static Web Page ServingeCryptfsNo EncryptionEXT4 fscryptLUKS dm-crypt6K12K18K24K30KSE +/- 111.01, N = 3SE +/- 78.30, N = 3SE +/- 137.57, N = 325722.0229708.9329783.0629831.021. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native

MinAvgMaxNo Encryption0.02.33.6LUKS dm-crypt0.02.32.8EXT4 fscrypt0.02.22.6eCryptfs0.02.22.6OpenBenchmarking.orgPercent, Fewer Is BetterNGINX Benchmark 1.9.9CPU Usage (Summary) Monitor1.01812.03623.05434.07245.0905

OSBench

OSBench is a collection of micro-benchmarks for measuring operating system primitives like time to create threads/processes, launching programs, creating files, and memory allocation. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgus Per Event, Fewer Is BetterOSBenchTest: Create FileseCryptfsEXT4 fscryptLUKS dm-cryptNo Encryption918273645SE +/- 0.08, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 339.5823.8115.8215.60-lm-lm-lm1. (CC) gcc options:

MinAvgMaxLUKS dm-crypt0.01.21.8EXT4 fscrypt0.01.21.4No Encryption0.01.01.4eCryptfs0.11.01.4OpenBenchmarking.orgPercent, Fewer Is BetterOSBenchCPU Usage (Summary) Monitor1.01192.02383.03574.04765.0595

PostgreSQL pgbench

This is a simple benchmark of PostgreSQL using pgbench. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 10.3Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteeCryptfsEXT4 fscryptLUKS dm-cryptNo Encryption5001000150020002500SE +/- 70.33, N = 3SE +/- 77.82, N = 3SE +/- 189.21, N = 3SE +/- 74.56, N = 31832.182184.252321.622382.991. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

MinAvgMaxLUKS dm-crypt0.03.318.5EXT4 fscrypt0.03.118.4No Encryption0.02.821.3eCryptfs0.02.420.4OpenBenchmarking.orgPercent, Fewer Is BetterPostgreSQL pgbench 10.3CPU Usage (Summary) Monitor612182430

MinAvgMaxEXT4 fscrypt0.01.63.8OpenBenchmarking.orgPercent, Fewer Is BetterPostgreSQL pgbench 10.3CPU Usage (Summary) Monitor1.06032.12063.18094.24125.3015

SQLite

This is a simple benchmark of SQLite. At present this test profile just measures the time to perform a pre-defined number of insertions on an indexed database. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.22Timed SQLite InsertionsEXT4 fscryptLUKS dm-crypteCryptfsNo Encryption1020304050SE +/- 5.24, N = 3SE +/- 1.92, N = 3SE +/- 1.86, N = 3SE +/- 1.86, N = 346.0745.5042.7140.901. (CC) gcc options: -O2 -lz -ldl -lpthread

MinAvgMaxLUKS dm-crypt0.00.51.3EXT4 fscrypt0.00.51.3eCryptfs0.00.51.3No Encryption0.00.41.3OpenBenchmarking.orgPercent, Fewer Is BetterSQLite 3.22CPU Usage (Summary) Monitor0.69051.3812.07152.7623.4525

Timed GCC Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed GCC Compilation 7.2Time To CompileEXT4 fscrypteCryptfsLUKS dm-cryptNo Encryption2004006008001000SE +/- 1.49, N = 3SE +/- 1.72, N = 3SE +/- 1.86, N = 3SE +/- 3.59, N = 31029.01964.24854.03852.35

OpenBenchmarking.orgPercent, Fewer Is BetterTimed GCC Compilation 7.2CPU Usage (Summary) MonitorEXT4 fscrypteCryptfsNo EncryptionLUKS dm-crypt20406080100Min: 0 / Avg: 19.38 / Max: 100Min: 0 / Avg: 14.79 / Max: 100Min: 0 / Avg: 13.33 / Max: 100Min: 0 / Avg: 13.05 / Max: 100