Slowing down resilvering of ZFS
Most of the time you want your ZFS working as fast as possible, but there are occasions where you want to slow down thing a little bit not to disturb the real work too much. Resilvering or scrubing of a ZFS pool is such an example. A ZFS resilvering can be very resource hungry.
Now there is a mechanism to prevent the system from experiencing such a slowdown by reducing the speed of resilvering/scrubbing in favor of more important I/O . The code enabling Opensolaris to do so [URL="http://c0t0d0s0.org/codenews/display.php?fragment=99225b6b162bd926510749c81b1ac1bf0e73d43b"]found its way to the source[/URL] yesterday. The mechanism is relatively easy: Whenever there was a read or a sync write to an pool without seperate log in the last 50 timer ticks, there is an additional delay of 2(resilvering) or 4(scrubbing) ticks between the scan steps.
[url=http://www.c0t0d0s0.org/archives/6618-Slowing-down-resilvering-of-ZFS.html]Read More about [Slowing down resilvering of ZFS...[/url]