If Scrubs Hurt, Your ZFS Design Is Broken
klarasystems.com
If Scrubs Hurt, Your ZFS Design Is Broken
1–10 of 23 posts
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#2Re: If Scrubs Hurt, Your ZFS Design Is Broken
#3Re: If Scrubs Hurt, Your ZFS Design Is Broken
#4I stocked up on a few shuckable externals before the start of the second Grump catastrophe. $280/24TB (Exos inside). I'm finally getting around to setting up a pool, thinking 4+1 is kind of poor redundancy and wondering about adding another disk. The things are up to over $1,000 each, in the husk or not. Fucking hell. It makes me want to drastically scale back the size of my new pool in case a drive does die so I don't end up needing to buy a replacement any time soon.
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#51. 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.
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#6Every 100+ TB ZFS pool I have is optimized for streaming reads/writes. IOPS are rarely a binding factor at these sizes.
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#7Oh sure, just buy more disks. Who do you think I am, that guy on the Monopoly box? I stocked up on a few shuckable externals before the start of the second Grump catastrophe. $280/24TB (Exos inside). I'm finally getting around to setting up a pool, thinking 4+1 is kind of poor redundancy and wondering about adding another disk. The things are up to over $1,000 each, in the husk or not. Fucking hell. It makes me want…
Still cost me as much as a pair of new drives the same size that I bought to transition from mirrored pairs to a four-disk RAID5 array about 16 months earlier. Like, god damn it was expensive.
A new disk would have cost me almost as much as all four disks did, originally.
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#8It's so hard to wade through run on sentences like "The knobs are not the problem. The pool was designed without room for this workload."
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#9Of course, this is also not a fast command on a slow array; my half full 2x 24TB mirror is estimating ~ 12 hours to run this; the last scrub took just over 24 hours to run. (After I posted, the remaining time dropped to 10 minutes... not as slow as it seemed, but still slow, and using a lot of I/O ... left for lunch and 50 minutes later it's almost done; estimation is hard)
Re: If Scrubs Hurt, Your ZFS Design Is Broken
#10Every 100+ TB ZFS pool I have is optimized for streaming reads/writes. IOPS are rarely a binding factor at these sizes.
Isn't that kind of the point of the article? The random reads required for metadata traversal during scrubs will kill performance for sequential reads and writes as well if you don't have the IOPS to back them up, building a pool without taking this into account will make regularly scheduled scrubs a pain point.
If I was building the array new, I'd probably use a special VDEV for metadata, but they didn't exist when I built my last one of these.