ZFS is destroying my write performance. Now I understand why ext4 is still the default.
Login to reply
Replies (6)
ext4 goat. xfs is good. Everything else just .. Meh. You can use lvm with xfs and pull consistent snapshots if that's what you need.
Ext4 rules
But mah redundancy
Thats like how I started experimenting with Btrfs only to realize that it absolutely devours your storage capacity. That's okay for crucial systems where you need redundancy, but for a standard use PC, I just use ext4 because it's just the perfect standard for that use case.
Check whether your workload is sync heavy. ZFS routes all synchronous writes through the ZIL first, and the ZIL sits in your data pool by default, usually spinning disks, logged before being flushed to their final location.
sync=disabled
atime=off
checksums blake3 for dedup, default otherwise.
Do not exceed 85% of space
Use compression
ashift 12
Block size 32k for zvols 128k for files
Increase txg time if you are not afraid
Add zil