meta data for this page
BTRFS vs EXT4
Setup
New factory fresh disc 1TB WD Black WDC WD1003FZEX-00MK2A0.
sudo hdparm -tT /dev/sdc /dev/sdc: Timing cached reads: 35212 MB in 2.00 seconds = 17633.75 MB/sec Timing buffered disk reads: 556 MB in 3.06 seconds = 181.66 MB/sec
Two 100MB primary partitions created in the middle of disk. First with EXT4 second with BTRFS. No tunning or additional options provided during partition creation.
Before each test system cache was emptied:
# echo 3 > /proc/sys/vm/drop_caches
Buildroot build performance test
test | EXT4 | BTRFS |
---|---|---|
make toolchain | real 6m7.255s | real 6m13.194s |
make uboot | real 0m14.012s | real 0m12.640s |
make linux | real 2m4.305s | real 2m2.923s |
make linux-reconfigure | real 0m38.449s | real 0m35.751s |
make clean && | real 0m10.746s | real 0m15.921s |
make sync | real 0m0.185s | real 0m0.502s |
grep -r dupa | real 0m9.038s | real 0m4.719s |
git checkout | real 0m26.680s | real 0m19.952s |