EXT4 File-System Mount Option Tuning

Intel Core i7 720Q with Intel SSD benchmarking of various EXT4 file-system mount options. EXT4 testing from Ubuntu 12.10 64-bit with the Linux 3.5 kernel. Benchmarking by Michael Larabel for a future article looking at Linux file-system performance on Phoronix.

HTML result view exported from: https://openbenchmarking.org/result/1211159-RA-EXT4FILES89.

EXT4 File-System Mount Option TuningProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionDefaultsnobarrierdata=journaldata=writebacknodelallocdiscardIntel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI2 x 2048 MB DDR3-1066MHz160GB INTEL SSDSA2M160NVIDIA Quadro FX 880M 1024MB (405/324MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 12.103.5.0-17-generic (x86_64)Unity 6.8.0X Server 1.13.0nouveau 1.0.23.0 Mesa 9.0 Gallium 0.4GCC 4.7ext41600x900OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-arch-32=i686 --with-tune=generic -v Disk Details- Defaults: DEADLINE / data=ordered,relatime,rw- nobarrier: DEADLINE / data=ordered,nobarrier,relatime,rw- data=journal: DEADLINE / data=journal,nodelalloc,relatime,rw- data=writeback: DEADLINE / data=writeback,relatime,rw- nodelalloc: DEADLINE / data=ordered,nodelalloc,relatime,rw- discard: DEADLINE / data=ordered,discard,relatime,rwSystem Details- Disk Scheduler: DEADLINE. Python 2.7.3. Compiz was running on this system.

EXT4 File-System Mount Option Tuningfio: Intel IOMeter File Server Access Patternfs-mark: 1000 Files, 1MB Sizefs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizefs-mark: 1000 Files, 1MB Size, No Sync/FSyncdbench: 1iozone: 1MB - 8GB - Read Performanceiozone: 4Kb - 8GB - Read Performanceiozone: 1MB - 8GB - Write Performanceiozone: 4Kb - 8GB - Write Performanceiozone: 64Kb - 8GB - Read Performanceiozone: 64Kb - 8GB - Write Performancetiobench: Rand Write - 64MB - 4tiobench: Rand Write - 64MB - 8compilebench: Compilecompilebench: Initial CreateDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard102.9881.1397.4780.90146.70243.27194.91204.5199.6399.73215.91101.1495.3895.91104.0296.33102.8982.0398.5382.27148.97257.32224.41225.74103.65103.26222.02103.2895.5394.47105.6397.18351.7040.7740.9738.7348.43112.29251.24251.8546.2339.99251.3642.6016.6941.5531.3823.70103.1981.7398.1381.47146.92247.92233.45234.67101.30101.08234.02101.3394.6795.40106.80110.65104.7171.2393.4770.73147.73125.75222.63227.33101.64102.32226.18102.0994.6094.03106.10102.69103.8880.5796.4078.33146.17182.42239.02237.69101.84101.81237.06101.4695.9796.01106.92105.73OpenBenchmarking.org

Flexible IO Tester

Test: Intel IOMeter File Server Access Pattern

OpenBenchmarking.orgSeconds (Run Time), Fewer Is BetterFlexible IO Tester 1.57Test: Intel IOMeter File Server Access PatternDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard80160240320400SE +/- 0.26, N = 3SE +/- 0.04, N = 3SE +/- 0.86, N = 3SE +/- 0.08, N = 3SE +/- 0.18, N = 3SE +/- 0.60, N = 3102.98102.89351.70103.19104.71103.88

FS-Mark

Test: 1000 Files, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 1.19, N = 3SE +/- 1.04, N = 3SE +/- 0.37, N = 3SE +/- 0.85, N = 3SE +/- 0.47, N = 3SE +/- 0.97, N = 381.1382.0340.7781.7371.2380.571. (CC) gcc options: -static

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.13, N = 3SE +/- 0.13, N = 3SE +/- 0.12, N = 3SE +/- 0.13, N = 3SE +/- 0.74, N = 3SE +/- 0.80, N = 397.4798.5340.9798.1393.4796.401. (CC) gcc options: -static

FS-Mark

Test: 4000 Files, 32 Sub Dirs, 1MB Size

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.00, N = 3SE +/- 0.09, N = 3SE +/- 0.47, N = 3SE +/- 0.09, N = 3SE +/- 0.03, N = 3SE +/- 1.24, N = 480.9082.2738.7381.4770.7378.331. (CC) gcc options: -static

FS-Mark

Test: 1000 Files, 1MB Size, No Sync/FSync

OpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Size, No Sync/FSyncDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard306090120150SE +/- 1.82, N = 3SE +/- 1.87, N = 3SE +/- 0.03, N = 3SE +/- 2.15, N = 5SE +/- 0.27, N = 3SE +/- 1.11, N = 3146.70148.9748.43146.92147.73146.171. (CC) gcc options: -static

Dbench

Client Count: 1

OpenBenchmarking.orgMB/s, More Is BetterDbench 4.0Client Count: 1Defaultsnobarrierdata=journaldata=writebacknodelallocdiscard60120180240300SE +/- 1.72, N = 3SE +/- 2.57, N = 3SE +/- 0.18, N = 3SE +/- 3.16, N = 3SE +/- 0.11, N = 3SE +/- 0.47, N = 3243.27257.32112.29247.92125.75182.421. (CC) gcc options: -lpopt

IOzone

Record Size: 1MB - File Size: 8GB - Disk Test: Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 1MB - File Size: 8GB - Disk Test: Read PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard50100150200250SE +/- 3.72, N = 3SE +/- 1.63, N = 3SE +/- 0.06, N = 3SE +/- 1.13, N = 3SE +/- 3.49, N = 4SE +/- 1.19, N = 3194.91224.41251.24233.45222.63239.021. (CC) gcc options: -O3

IOzone

Record Size: 4Kb - File Size: 8GB - Disk Test: Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Read PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard60120180240300SE +/- 1.33, N = 3SE +/- 1.20, N = 3SE +/- 0.07, N = 3SE +/- 0.86, N = 3SE +/- 0.38, N = 3SE +/- 1.98, N = 3204.51225.74251.85234.67227.33237.691. (CC) gcc options: -O3

IOzone

Record Size: 1MB - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 1MB - File Size: 8GB - Disk Test: Write PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.26, N = 3SE +/- 0.67, N = 3SE +/- 0.29, N = 3SE +/- 0.17, N = 3SE +/- 0.22, N = 3SE +/- 0.20, N = 399.63103.6546.23101.30101.64101.841. (CC) gcc options: -O3

IOzone

Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.42, N = 3SE +/- 0.32, N = 3SE +/- 1.99, N = 6SE +/- 0.07, N = 3SE +/- 0.49, N = 3SE +/- 0.27, N = 399.73103.2639.99101.08102.32101.811. (CC) gcc options: -O3

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Read Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Read PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard50100150200250SE +/- 13.59, N = 6SE +/- 1.88, N = 3SE +/- 0.11, N = 3SE +/- 0.65, N = 3SE +/- 0.24, N = 3SE +/- 1.71, N = 3215.91222.02251.36234.02226.18237.061. (CC) gcc options: -O3

IOzone

Record Size: 64Kb - File Size: 8GB - Disk Test: Write Performance

OpenBenchmarking.orgMB/s, More Is BetterIOzone 3.405Record Size: 64Kb - File Size: 8GB - Disk Test: Write PerformanceDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.31, N = 3SE +/- 0.57, N = 3SE +/- 0.59, N = 3SE +/- 0.09, N = 3SE +/- 0.12, N = 3SE +/- 0.25, N = 3101.14103.2842.60101.33102.09101.461. (CC) gcc options: -O3

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 4

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 4Defaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.57, N = 4SE +/- 0.70, N = 4SE +/- 3.71, N = 8SE +/- 0.62, N = 4SE +/- 0.20, N = 4SE +/- 1.01, N = 495.3895.5316.6994.6794.6095.97

Threaded I/O Tester

Test: Random Write - Size Per Thread: 64MB - Thread Count: 8

OpenBenchmarking.orgMB/s, More Is BetterThreaded I/O Tester 0.3.3Test: Random Write - Size Per Thread: 64MB - Thread Count: 8Defaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.19, N = 4SE +/- 0.77, N = 4SE +/- 6.11, N = 8SE +/- 0.16, N = 4SE +/- 1.23, N = 6SE +/- 0.31, N = 495.9194.4741.5595.4094.0396.01

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 1.18, N = 3SE +/- 1.15, N = 3SE +/- 0.26, N = 3SE +/- 0.94, N = 3SE +/- 0.59, N = 3SE +/- 1.52, N = 3104.02105.6331.38106.80106.10106.92

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateDefaultsnobarrierdata=journaldata=writebacknodelallocdiscard20406080100SE +/- 0.70, N = 3SE +/- 1.96, N = 3SE +/- 0.74, N = 3SE +/- 3.47, N = 3SE +/- 3.59, N = 3SE +/- 3.82, N = 396.3397.1823.70110.65102.69105.73


Phoronix Test Suite v10.8.4