Upgraded from MacZFS to OpenZFS1.2.0 and there is a lot of new neat stuff.
But scrub seems to be stuck at slightly above 10 MB/s. On MacZFS it was around 100MB/s, depending on where in the scrub-cycle it was.
I have googled some sys kernel variables but they seem to be Linux/FreeBSD specific.
Is there a throttle on scrub? If so, how do I tweak it?
EDIT:
I created a pool on an SSD and that one scrubbed at 100MB+ so no throttle.
Still, why so slow? Isn't scrubbing block based, i.e. size of files should not matter?
EDIT#2:
I messed around a bit more with my single-SSD pool:
When I had 72GB spread over 3500 files, the scrub-speed was 174MB/s. Mostly DiskImages
When I uploaded my iPhotolibrary of 72 GB but spread over 158000 files, i.e. a LOT of SMALL files, the scrub-speed was 3.6MB/s when I stopped it after 2 hrs.
Conclusion: scrub is file based (which I think is stated in docs as well). Many small files will make the MB/s go down as in most/all filesystem operations.