Alex Gleason's avatar
Alex Gleason 2 weeks ago
ZFS is destroying my write performance. Now I understand why ext4 is still the default.

Replies (6)

APTea's avatar
APTea 2 weeks ago
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
↑