Linux 3.3 Kernel Performance of Btrfs vs. EXT4

Btrfs and EXT4 file-system testing from a Linux 3.3 kernel and 7 February 2012 snapshot of Ubuntu 12.04 LTS. Linux file-system benchmarking for a future article on Phoronix.com. Running two different Intel notebooks, one with HDD and one with SSD.

HTML result view exported from: https://openbenchmarking.org/result/1202074-BY-LINUXBTRF68.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionCore i3 330MCore i7 720QM EXT4 Btrfs EXT4 BtrfsIntel Core i3 330M @ 2.13GHz (4 Cores)ASRock HM55-HTIntel Core DRAM4096MB500GB Seagate ST9500325ASIntel Core IGPVIA VT2020Acer P243WRealtek RTL8111/8168B + Atheros AR9287 WirelessUbuntu 12.043.3.0-999-generic (x86_64)Unity 5.2.0X Server 1.11.3intel 2.17.02.1 Mesa 8.0-rc2GCC 4.6ext41920x1200btrfsIntel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI160GB INTEL SSDSA2M160NVIDIA Quadro FX 880M 1024MB (550/790MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300nouveau 0.0.162.1 Mesa 8.0-rc2 Gallium 0.4ext41600x900btrfsOpenBenchmarking.orgSystem Details- Core i3 330M: Btrfs, Core i7 720QM: EXT4, Core i7 720QM: Btrfs: Disk Scheduler: CFQ. Python 2.7.2+. Compiz was running on this system.

postmark: Disk Transaction Performancenginx: Static Web Page Servingfs-mark: 1000 Files, 1MB Sizefs-mark: 1000 Files, 1MB Size, No Sync/FSyncfs-mark: 5000 Files, 1MB Size, 4 Threadsfs-mark: 4000 Files, 32 Sub Dirs, 1MB Sizeiozone: 4Kb - 8GB - Write Performanceiozone: 4Kb - 8GB - Read Performancecompilebench: Initial Createcompilebench: Compilecompilebench: Read Compiled TreeCore i3 330MCore i7 720QM EXT4 Btrfs EXT4 Btrfs154715246.4613.4294.0331.5318.6370.7969.9453.6247.8363.58105114070.1014.0086.3320.4013.8763.1461.1447.8757.6947.20262915844.3979.27151.109777.77103.94254.3294.24105.98129.84182815134.6565.00154.6093.8364.47106.74221.2959.14106.74325.32OpenBenchmarking.org

PostMark

Disk Transaction Performance

Core i3 330MCore i7 720QMOpenBenchmarking.orgTPS, More Is BetterPostMark 1.51Disk Transaction PerformanceEXT4Btrfs6001200180024003000SE +/- 44.35, N = 10SE +/- 12.25, N = 10SE +/- 81.35, N = 10SE +/- 28.20, N = 101547105126291828

NGINX Benchmark

Static Web Page Serving

Core i3 330MCore i7 720QMOpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.0.11Static Web Page ServingEXT4Btrfs3K6K9K12K15KSE +/- 49.86, N = 3SE +/- 27.54, N = 3SE +/- 81.33, N = 3SE +/- 102.89, N = 315246.4614070.1015844.3915134.65

FS-Mark

Test: 1000 Files, 1MB Size

Core i3 330MCore i7 720QMOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB SizeEXT4Btrfs20406080100SE +/- 0.89, N = 6SE +/- 0.10, N = 3SE +/- 0.88, N = 3SE +/- 0.17, N = 313.4214.0079.2765.00

FS-Mark

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

Core i3 330MCore i7 720QMOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 1000 Files, 1MB Size, No Sync/FSyncEXT4Btrfs306090120150SE +/- 1.47, N = 3SE +/- 0.90, N = 3SE +/- 1.33, N = 3SE +/- 0.49, N = 394.0386.33151.10154.60

FS-Mark

Test: 5000 Files, 1MB Size, 4 Threads

Core i3 330MCore i7 720QMOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 5000 Files, 1MB Size, 4 ThreadsEXT4Btrfs20406080100SE +/- 1.01, N = 6SE +/- 0.00, N = 3SE +/- 0.67, N = 3SE +/- 1.07, N = 331.5320.4097.0093.83

FS-Mark

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

Core i3 330MCore i7 720QMOpenBenchmarking.orgFiles/s, More Is BetterFS-Mark 3.3Test: 4000 Files, 32 Sub Dirs, 1MB SizeEXT4Btrfs20406080100SE +/- 0.23, N = 3SE +/- 0.03, N = 3SE +/- 0.13, N = 3SE +/- 0.18, N = 318.6313.8777.7764.47

IOzone

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

Core i3 330MCore i7 720QMOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 4Kb - File Size: 8GB - Disk Test: Write PerformanceEXT4Btrfs20406080100SE +/- 0.33, N = 3SE +/- 0.08, N = 3SE +/- 0.30, N = 3SE +/- 0.43, N = 370.7963.14103.94106.74

IOzone

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

Core i3 330MCore i7 720QMOpenBenchmarking.orgMB/s, More Is BetterIOzone 3.347Record Size: 4Kb - File Size: 8GB - Disk Test: Read PerformanceEXT4Btrfs60120180240300SE +/- 0.34, N = 3SE +/- 0.02, N = 3SE +/- 0.06, N = 3SE +/- 0.57, N = 369.9461.14254.32221.29

Compile Bench

Test: Initial Create

Core i3 330MCore i7 720QMOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateEXT4Btrfs20406080100SE +/- 0.90, N = 6SE +/- 0.80, N = 3SE +/- 1.42, N = 6SE +/- 0.94, N = 353.6247.8794.2459.14

Compile Bench

Test: Compile

Core i3 330MCore i7 720QMOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileEXT4Btrfs20406080100SE +/- 0.60, N = 3SE +/- 0.50, N = 3SE +/- 0.92, N = 3SE +/- 0.23, N = 347.8357.69105.98106.74

Compile Bench

Test: Read Compiled Tree

Core i3 330MCore i7 720QMOpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Read Compiled TreeEXT4Btrfs70140210280350SE +/- 7.07, N = 6SE +/- 7.38, N = 3SE +/- 1.19, N = 3SE +/- 16.89, N = 363.5847.20129.84325.32


Phoronix Test Suite v10.8.4