Finding the Best Block Filesystem for Your Embedded Linux System
summary
Benchmarks compare ext2, ext4, xfs, btrfs, f2fs, squashfs and erofs on 32‑ and 64‑bit ARM using a fast SD card, measuring kernel module size, module load + mount time, read/write microbenchmarks and compressed images. SD card optimal write block is 4K and segment boundary shows ~4MB behavior. ext4 wins as default for balanced boot and writes, f2fs gives best read performance, nilfs2 is fastest at deletes but shows volatile results. Compression helps size (lz4/lzo fastest, zlib best ratio) but usually slows writes on single‑core CPUs.
AI-written summary · about
chapters (11)
- 0:00Start
- 16:22Raw write tests on 8 SD cards
- 18:21How to infer the segment size?
- 22:20Btrfs vs Btrfs
- 22:54Btrfs ssd options
- 23:52Btrfs compression options
- 28:59Kernel module size.
- 29:10Module loading time
- 29:41Boot time: module loading and mounting time
- 30:31Reading time
- 31:25Writing time
related talks
40mLinux Storage System Bottleneck for eMMC/UFS
56mThe evolution of storage on Linux
19mEvaluating File System Reliability on Solid State Drives
47mEnabling Large Block Size devices in Linux
42mProduction FS: Adapt or Die
23mCan Applications Recover from fsync Failures?
37mLarge Block I/O for Linux
50mOverview of the Linux Storage Stack
