Robert Milkowski wrote:
Also scrub can consume all CPU power on smaller and older machines and
that's not always what I would like.


REP> The big question, though, is "10% of what?"  User CPU?  iops?

AH> Probably N% of I/O Ops/Second would work well.

Or if 100% means full speed, then 10% means that expected time should
be approximately 10x more (instead 1h make it 10h).

It would be more intuitive than specifying some numbers like IOPS,
etc.

In any case you're still going to have to provide a tunable for this even if the resulting algorithm works well on the host side. Keep in mind that a scrub can also impact the array(s) you're filesystem lives on. If all my ZFS systems started scrubbing at full speed - Because they thought they weren't busy - at the same time it might cause issues with other I/O on the array itself.


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to