by zenoprax · 4mo ago · 0 comments
1. From my own experience, most people who use a ZIL for faster sync writes are wasting space. You only need five seconds of peak throughput (for a 10Gb connection that's ~5 GB). Create a pair of 25 GB partitions for the ZIL rather than dedicating entire devices.
2. With the remaining space set up a mirrored Special VDEV with heavy use of small blocks. 32k block sizes will still give some room for compression which, other than saving space, can increase throughput and reduce IO/ps.
3. Pause scrubs (`zpool scrub -p`) when the workload is either expected to be heavy or is actually heavy based on moving averages and resume when its safe. Even my 24 TB NAS takes 24+ hours with no other activity.
I would be in a different world if my system was backing banking or other loss critical data. For all my workloads, losing 5 seconds of writes in a crash is NBD.
You might benefit from the same technique for a "special" vdev... If you run an all spinners array, but the metadata is on a small partition, you might get better seek times during metadata scans, since everything will be closer together? And/or if you use raidz for your regular vdev, but mirror for the metadata, you'll have more capacity for metadata reads.
Your NAS sounds pretty slow, it shouldn't take an hour to scrub 1tb of data (on average)
---
No need, looks like it ran a few weeks ago:
scrub repaired 0B in 12:43:52 with 0 errors on Mon Jul 6 20:58:58 2026
Data VDEVs - 4 x MIRROR, 2 wide, 12.73TB; Log VDEVs - 1 x DISK, 14.91TB, 1 wide; Cache VDEVs - 1 x 447.13 GiB
HW:
8 x WDC_WD140EFGX-68B0GN08; 2 x Micron_5300_MTFDDAK480TDS
Total space is 50.81TB of which 24.16TB is used. Frag on pool is reported at 21%.
Last Scrub took 11 hours 45 minutes 50 seconds.