Don,

Try setting the zfs_scrub_delay to 1 but increase the
zfs_top_maxinflight to something like 64.

Thanks,
George

On Wed, May 18, 2011 at 5:48 PM, Donald Stahl <d...@blacksun.org> wrote:
> Wow- so a bit of an update:
>
> With the default scrub delay:
> echo "zfs_scrub_delay/K" | mdb -kw
> zfs_scrub_delay:200000004
>
> pool0       14.1T  25.3T    165    499  1.28M  2.88M
> pool0       14.1T  25.3T    146      0  1.13M      0
> pool0       14.1T  25.3T    147      0  1.14M      0
> pool0       14.1T  25.3T    145      3  1.14M  31.9K
> pool0       14.1T  25.3T    314      0  2.43M      0
> pool0       14.1T  25.3T    177      0  1.37M  3.99K
>
> The scrub continues on at about 250K/s - 500K/s
>
> With the delay set to 1:
>
> echo "zfs_scrub_delay/W1" | mdb -kw
>
> pool0       14.1T  25.3T    272      3  2.11M  31.9K
> pool0       14.1T  25.3T    180      0  1.39M      0
> pool0       14.1T  25.3T    150      0  1.16M      0
> pool0       14.1T  25.3T    248      3  1.93M  31.9K
> pool0       14.1T  25.3T    223      0  1.73M      0
>
> The pool scrub rate climbs to about 800K/s - 100K/s
>
> If I set the delay to 0:
>
> echo "zfs_scrub_delay/W0" | mdb -kw
>
> pool0       14.1T  25.3T  50.1K    116   392M   434K
> pool0       14.1T  25.3T  49.6K      0   389M      0
> pool0       14.1T  25.3T  50.8K     61   399M   633K
> pool0       14.1T  25.3T  51.2K      3   402M  31.8K
> pool0       14.1T  25.3T  51.6K      0   405M  3.98K
> pool0       14.1T  25.3T  52.0K      0   408M      0
>
> Now the pool scrub rate climbs to 100MB/s (in the brief time I looked at it).
>
> Is there a setting somewhere between slow and ludicrous speed?
>
> -Don
>



-- 
George Wilson



M: +1.770.853.8523
F: +1.650.494.1676
275 Middlefield Road, Suite 50
Menlo Park, CA 94025
http://www.delphix.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to