Re: Scrub incredibly slow with 13.0-RC3 (as well as RC1 & 2)

From: Mathieu Chouquet-Stringer <me+freebsd_at_mathieu.digital>
Date: Fri, 26 Mar 2021 13:41:08 +0100
On Fri, Mar 26, 2021 at 01:29:45PM +0100, Michael Gmelin wrote:
> Does tuning of
> 
> - vfs.zfs.scrub_delay
> - vfs.zfs.resilver_min_time_ms
> - vfs.zfs.resilver_delay
> 
> make a difference?

Only vfs.zfs.resilver_min_time_ms exists in 13 it seems.

The default values is 3000 but doubling it to 6000 doesn't change
anything. And that could make sense because it seems I'm often cpu bound
as I see the following in top (-SH):

  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
   31 root         -8    -     0B  3984K CPU12   12 758:07  99.65% zfskern{dsl_scan_iss_0}

And that's on an Intel(R) Xeon(R) CPU E5-2696 v2 _at_ 2.50GHz with a
turbo _at_ 3.50GHz...

Disks are busy roughly between 30 to 50% of the time:
                        extended device statistics  
device       r/s     w/s     kr/s     kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b  
da2         1520       0  34974.1      0.0     0     0     0     0    1  31 
da3         1469       0  35030.3      0.0     0     0     0     0    0  32 
da4         1317       0  35106.6      0.0     0     0     0     0    0  42 
da6         1293       0  35094.5      0.0     0     0     0     0    0  36 
da7         1466       0  35032.3      0.0     0     0     0     0    0  31 
da8            0    1303      0.0  34917.9     0     0     0     0    0  43 
da9         1396       0  35046.4      0.0     0     0     0     0    1  34 
da10        1393       0  35062.4      0.0     0     0     0     0    0  32 

da8 is the disk being resilvered.

-- 
Mathieu Chouquet-Stringer
            The sun itself sees not till heaven clears.
	             -- William Shakespeare --
Received on Fri Mar 26 2021 - 11:41:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC