Bcachefs File-System Benchmarks Bcachefs file-system benchmarks by Michael Larabel for a future article. Bcachefs: Processor: AMD Ryzen Threadripper 7980X 64-Cores @ 8.21GHz (64 Cores / 128 Threads), Motherboard: ASUS Pro WS TRX50-SAGE WIFI (0217 BIOS), Chipset: AMD Device 14a4, Memory: 128GB, Disk: 2000GB Corsair MP700 PRO + 1000GB Western Digital WDS100T1X0E-00AFY0, Graphics: AMD Radeon RX 7900 XT 20GB (2025/1249MHz), Audio: Realtek ALC1220, Monitor: DELL U2723QE, Network: Aquantia Device 04c0 + Intel I226-LM + MEDIATEK MT7922 802.11ax PCI OS: Ubuntu 23.10, Kernel: 6.7.0-060700rc2daily20231126-generic (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7 + Wayland, OpenGL: 4.6 Mesa 23.2.1-1ubuntu3 (LLVM 15.0.7 DRM 3.56), Compiler: GCC 13.2.0, File-System: BcacheFS, Screen Resolution: 3840x2160 Btrfs: Processor: AMD Ryzen Threadripper 7980X 64-Cores @ 8.21GHz (64 Cores / 128 Threads), Motherboard: ASUS Pro WS TRX50-SAGE WIFI (0217 BIOS), Chipset: AMD Device 14a4, Memory: 128GB, Disk: 2000GB Corsair MP700 PRO + 1000GB Western Digital WDS100T1X0E-00AFY0, Graphics: AMD Radeon RX 7900 XT 20GB (2025/1249MHz), Audio: Realtek ALC1220, Monitor: DELL U2723QE, Network: Aquantia Device 04c0 + Intel I226-LM + MEDIATEK MT7922 802.11ax PCI OS: Ubuntu 23.10, Kernel: 6.7.0-060700rc2daily20231126-generic (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7 + Wayland, OpenGL: 4.6 Mesa 23.2.1-1ubuntu3 (LLVM 15.0.7 DRM 3.56), Compiler: GCC 13.2.0, File-System: btrfs, Screen Resolution: 3840x2160 EXT4: Processor: AMD Ryzen Threadripper 7980X 64-Cores @ 8.21GHz (64 Cores / 128 Threads), Motherboard: ASUS Pro WS TRX50-SAGE WIFI (0217 BIOS), Chipset: AMD Device 14a4, Memory: 128GB, Disk: 2000GB Corsair MP700 PRO + 1000GB Western Digital WDS100T1X0E-00AFY0, Graphics: AMD Radeon RX 7900 XT 20GB (2025/1249MHz), Audio: Realtek ALC1220, Monitor: DELL U2723QE, Network: Aquantia Device 04c0 + Intel I226-LM + MEDIATEK MT7922 802.11ax PCI OS: Ubuntu 23.10, Kernel: 6.7.0-060700rc2daily20231126-generic (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7 + Wayland, OpenGL: 4.6 Mesa 23.2.1-1ubuntu3 (LLVM 15.0.7 DRM 3.56), Compiler: GCC 13.2.0, File-System: ext4, Screen Resolution: 3840x2160 XFS: Processor: AMD Ryzen Threadripper 7980X 64-Cores @ 8.21GHz (64 Cores / 128 Threads), Motherboard: ASUS Pro WS TRX50-SAGE WIFI (0217 BIOS), Chipset: AMD Device 14a4, Memory: 128GB, Disk: 2000GB Corsair MP700 PRO + 1000GB Western Digital WDS100T1X0E-00AFY0, Graphics: AMD Radeon RX 7900 XT 20GB (2025/1249MHz), Audio: Realtek ALC1220, Monitor: DELL U2723QE, Network: Aquantia Device 04c0 + Intel I226-LM + MEDIATEK MT7922 802.11ax PCI OS: Ubuntu 23.10, Kernel: 6.7.0-060700rc2daily20231126-generic (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7 + Wayland, OpenGL: 4.6 Mesa 23.2.1-1ubuntu3 (LLVM 15.0.7 DRM 3.56), Compiler: GCC 13.2.0, File-System: xfs, Screen Resolution: 3840x2160 F2FS: Processor: AMD Ryzen Threadripper 7980X 64-Cores @ 8.21GHz (64 Cores / 128 Threads), Motherboard: ASUS Pro WS TRX50-SAGE WIFI (0217 BIOS), Chipset: AMD Device 14a4, Memory: 128GB, Disk: 2000GB Corsair MP700 PRO + 1000GB Western Digital WDS100T1X0E-00AFY0, Graphics: AMD Radeon RX 7900 XT 20GB (2025/1249MHz), Audio: Realtek ALC1220, Monitor: DELL U2723QE, Network: Aquantia Device 04c0 + Intel I226-LM + MEDIATEK MT7922 802.11ax PCI OS: Ubuntu 23.10, Kernel: 6.7.0-060700rc2daily20231126-generic (x86_64), Desktop: GNOME Shell 45.0, Display Server: X Server 1.21.1.7 + Wayland, OpenGL: 4.6 Mesa 23.2.1-1ubuntu3 (LLVM 15.0.7 DRM 3.56), Compiler: GCC 13.2.0, File-System: f2fs, Screen Resolution: 3840x2160 Flexible IO Tester 3.35 Type: Random Read - Engine: IO_uring - Buffered: No - Direct: Yes - Block Size: 4KB - Job Count: 32 - Disk Target: Default Test Directory IOPS > Higher Is Better Bcachefs . 158110 |====== Btrfs .... 492566 |================== EXT4 ..... 1573677 |=========================================================== XFS ...... 1565720 |=========================================================== F2FS ..... 1568767 |=========================================================== Flexible IO Tester 3.35 Type: Random Write - Engine: IO_uring - Buffered: No - Direct: Yes - Block Size: 4KB - Job Count: 1 - Disk Target: Default Test Directory IOPS > Higher Is Better Bcachefs . 6820 |== Btrfs .... 75211 |==================== EXT4 ..... 221819 |============================================================ XFS ...... 223247 |============================================================ F2FS ..... 221728 |============================================================ SQLite 3.41.2 Threads / Copies: 16 Seconds < Lower Is Better Bcachefs . 66.87 |========================== Btrfs .... 78.22 |============================== EXT4 ..... 150.24 |========================================================== XFS ...... 154.65 |============================================================ F2FS ..... 104.88 |========================================= SQLite 3.41.2 Threads / Copies: 8 Seconds < Lower Is Better Bcachefs . 57.21 |===================================== Btrfs .... 73.38 |=============================================== EXT4 ..... 95.30 |============================================================= XFS ...... 87.27 |======================================================== F2FS ..... 84.34 |====================================================== SQLite 3.41.2 Threads / Copies: 4 Seconds < Lower Is Better Bcachefs . 52.81 |============================================= Btrfs .... 71.20 |============================================================= EXT4 ..... 66.36 |========================================================= XFS ...... 52.84 |============================================= F2FS ..... 57.77 |================================================= Flexible IO Tester 3.35 Type: Sequential Read - Engine: IO_uring - Buffered: No - Direct: Yes - Block Size: 2MB - Job Count: 1 - Disk Target: Default Test Directory MiB/s > Higher Is Better Bcachefs . 10331.16 |==================================================== Btrfs .... 11396.02 |========================================================== EXT4 ..... 11448.21 |========================================================== XFS ...... 11483.75 |========================================================== F2FS ..... 11387.50 |========================================================== Flexible IO Tester 3.35 Type: Sequential Read - Engine: IO_uring - Buffered: No - Direct: Yes - Block Size: 2MB - Job Count: 32 - Disk Target: Default Test Directory MiB/s > Higher Is Better Bcachefs . 10111.73 |====================================================== Btrfs .... 10720.09 |========================================================= EXT4 ..... 10798.65 |========================================================== XFS ...... 10883.31 |========================================================== F2FS ..... 10432.69 |======================================================== PostgreSQL 16 Scaling Factor: 1000 - Clients: 1000 - Mode: Read Write - Average Latency ms < Lower Is Better Bcachefs . 157.70 |============================================================ Btrfs .... 33.04 |============= EXT4 ..... 31.02 |============ XFS ...... 19.98 |======== F2FS ..... 36.54 |============== PostgreSQL 16 Scaling Factor: 1000 - Clients: 1000 - Mode: Read Write TPS > Higher Is Better Bcachefs . 6558 |======== Btrfs .... 30287 |==================================== EXT4 ..... 32701 |======================================= XFS ...... 51381 |============================================================= F2FS ..... 27488 |================================= CockroachDB 22.2 Workload: KV, 50% Reads - Concurrency: 128 ops/s > Higher Is Better Bcachefs . 48184.1 |================================== Btrfs .... 45262.3 |================================ EXT4 ..... 70152.8 |================================================= XFS ...... 70505.5 |================================================= F2FS ..... 84252.6 |=========================================================== Dbench 4.0 Client Count: 12 MB/s > Higher Is Better Bcachefs . 747.41 |====================== Btrfs .... 1582.94 |============================================== EXT4 ..... 1611.99 |=============================================== XFS ...... 808.24 |======================= F2FS ..... 2039.79 |=========================================================== Flexible IO Tester 3.35 Type: Sequential Write - Engine: IO_uring - Buffered: No - Direct: Yes - Block Size: 2MB - Job Count: 1 - Disk Target: Default Test Directory MiB/s > Higher Is Better Bcachefs . 1779.41 |========= Btrfs .... 4929.78 |========================== EXT4 ..... 1631.19 |========= XFS ...... 11010.69 |========================================================== F2FS ..... 10995.64 |========================================================== SQLite 3.41.2 Threads / Copies: 2 Seconds < Lower Is Better Bcachefs . 51.59 |============================================= Btrfs .... 69.93 |============================================================= EXT4 ..... 44.15 |======================================= XFS ...... 34.06 |============================== F2FS ..... 41.22 |====================================