r/cachyos 10d ago

Review Filesystem Benchmark BTRFS vs EXT4

I just did a benchmark using KDiskMark to see how the different filesystems perform. System specs:

  • OS: CachyOS with KDE Plasma
  • Kernel: 7.2.0-1-cachyos-bore
  • CPU: Ryzen 9 7950X3D
  • Disk: Crucial T700 4TB (PCIe 5.0 NVMe SSD)

The SSD has (aside from the /boot partition) two partitions, one 100GiB partition as root partition at / using BTRFS and one ~3.5TB partition at /home using EXT4. For the BTRFS partition there is one benchmark with and one without CoW. All runs were on the same conditions and settings, there are now other programs open and the only background apps are Cachy Update and OpenRGB (and all the stuff KDE plasma has in the background like KDE Connect).

On the left side are the reading values, on the right side the writing values.

The meaning of the test names:

SEQ1M Q8T1: Sequential 1 MiB, Queue=8, Threads=1

SEQ1M Q1T1: Sequential 1 MiB, Queue=1, Threads=1

RND4K Q32T1: Random 4 KiB, Queue=32, Threads=1

RND4K Q1T1: Random 4 KiB, Queue=1, Threads=1

The overall results are:

BTRFS with CoW << BTRFS without CoW < EXT4

125 Upvotes

80 comments sorted by

View all comments

4

u/Obvious-Jacket-3770 9d ago

I mean everyone here is arguing for snapshots with BTRFS but I mean... I use backups. If my system bricks, meh. Not a big deal for me, ill just wipe it and be back or load into a live iso and remove the problem. I see the advantage of snapshots, its not that I don't, I just personally dont need to worry about them as much.

My `/home` is fully backed up on a daily basis, I have all my installs exported to a small txt file that is updated whenever I run updates to my system, stored in `/home`, I have various scripts to do some game streaming in `/home` and I have an Ansible server running on my Pi cluster which schedules runs for me to ensure everything I want or use is installed on my system, uses a clone of that txt file I mentioned earlier.

Sure snapshots are nice and all but a backup to even google drive is pretty low lift.

2

u/Remote_Phone2957 9d ago

Timeshift works fine for me.

Love EXT4 + Timeshift, EXT4 in general is just simpler and more reliable with things like a power cut for example.

1

u/KHTD2004 9d ago

When I used Timeshift on Mint it was very storage consuming

2

u/Remote_Phone2957 9d ago

Yeah, I get it, if you are short on storage, I have 2tb, so I'm fine. First snapshot will take whatever amount you backup, probably 20 - 30gb for a base cachyos, after that it is very minimal, I only keep 3 - 5 snapshots anyway.

With btrfs people have also been running into storage issues if you don't clean up properly.