All filesystems were tested on the same partition with offset 1MiB and size 4GiB, mounted with noatime and discard, except tmpfs. The two btrfs tests additionally tries out autodefrag vs nodatacow, in an attempt to isolate the impact of copy-on-write. I really had hoped to run the sqlite benchmark too, but PTS said it «failed to produce a result». More overwhelming than these results, is a real sqlite workload I have that takes tens of minutes on a rotating hdd (and slows down the machine) or a split second on tmpfs.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1509207-BE-CHEAPOKIN75
FS transaction performance comparison, cheapo Kingston 120GB SSD
All filesystems were tested on the same partition with offset 1MiB and size 4GiB, mounted with noatime and discard, except tmpfs. The two btrfs tests additionally tries out autodefrag vs nodatacow, in an attempt to isolate the impact of copy-on-write. I really had hoped to run the sqlite benchmark too, but PTS said it «failed to produce a result». More overwhelming than these results, is a real sqlite workload I have that takes tens of minutes on a rotating hdd (and slows down the machine) or a split second on tmpfs.
tmpfs:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: tmpfs, Screen Resolution: 1280x1024
f2fs:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: f2fs, Screen Resolution: 1280x1024
xfs:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: xfs, Screen Resolution: 1280x1024
ext4:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: ext4, Screen Resolution: 1280x1024
btrfs autodefrag:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: btrfs, Screen Resolution: 1280x1024
btrfs nodatacow:
Processor: AMD A6-3670 APU @ 2.70GHz (4 Cores), Motherboard: ASUS F1A75-V PRO, Chipset: AMD Family 12h Root Complex, Memory: 8192MB, Disk: 120GB KINGSTON SV300S3 + 3001GB Western Digital WD30EFRX-68E + 128GB Crucial_CT128MX1 + 80GB Western Digital WD800BB-00FJ + 160GB Western Digital WD1600JB-00G, Graphics: AMD Radeon HD 6530D 512MB, Audio: AMD BeaverCreek HDMI Audio, Monitor: COMPAQ 1825, Network: Realtek RTL8111/8168/8411
OS: openSUSE 20150909, Kernel: 4.1.6-3-desktop (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.17.2, Display Driver: radeon 7.5.0, OpenGL: 3.3 Mesa 10.6.5 Gallium 0.4, File-System: btrfs, Screen Resolution: 1280x1024
IOzone 3.405
Record Size: 4Kb - File Size: 512MB - Disk Test: Read Performance
MB/s > Higher Is Better
tmpfs ............ 3020.86 |=================================================
f2fs ............. 3098.21 |==================================================
xfs .............. 2941.04 |================================================
ext4 ............. 3060.14 |==================================================
btrfs autodefrag . 3138.02 |===================================================
btrfs nodatacow .. 2994.46 |=================================================
IOzone 3.405
Record Size: 4Kb - File Size: 512MB - Disk Test: Write Performance
MB/s > Higher Is Better
tmpfs ............ 1860.07 |===================================================
f2fs ............. 343.61 |=========
xfs .............. 285.54 |========
ext4 ............. 337.85 |=========
btrfs autodefrag . 362.02 |==========
btrfs nodatacow .. 363.68 |==========
PostMark 1.51
Disk Transaction Performance
TPS > Higher Is Better
tmpfs ............ 3750 |======================================================
f2fs ............. 2798 |========================================
xfs .............. 2435 |===================================
ext4 ............. 2517 |====================================
btrfs autodefrag . 444 |======
btrfs nodatacow .. 623 |=========
PostgreSQL pgbench 9.4.3
Scaling: On-Disk - Test: Single Thread - Mode: Read Write
TPS > Higher Is Better
tmpfs ............ 215.50 |====================================================
f2fs ............. 195.92 |===============================================
xfs .............. 185.26 |=============================================
ext4 ............. 196.35 |===============================================
btrfs autodefrag . 167.38 |========================================
btrfs nodatacow .. 184.91 |=============================================