TrueNAS/FreeNAS scrub/resilver times

nelem

Dabbler
Joined
Sep 28, 2017
Messages
10
Firstly, my setup:
NAS1
CPUIntel(R) Pentium(R) CPU G4400 @ 3.30GHz (AES-NI)
mbASUSTeK P10S-I Series
Memory16GB ECC
HDD4x6TB Wed Red Plus RAIDZ2 GELI Encrypted

Backup NAS
MBASRock E3C224D2I (No AES-NI)
CPUIntel(R) Pentium(R) CPU G3260 @ 3.30GHz
Memory8GB ECC
HDD4x6TB Wed Red Plus RAIDZ2 GELI Encrypted

I have recently tried the upgrades and noticed increasingly slow scrub/resilver times on the later versions against what is essentially the same pool. The second figures for the 11.3-U5 version are the most recent and very consistent with the earlier scrubs on the same version.
Backup NAS (no AES-NI)NAS (AES-NI)
VersionScrubResilverScrubResliver
11.1-U71d14h03m33s11h36m57s14h32m45s
11.3-U51d05h51m46s1d06h52m02s11h37m51s17h16m03s
1d05h25m44s1d08h10m08s11h55m30s17h53m54s
12.0.-U8.11d7h31m48s18h01m55s2d04h44m05s
1d8h46m35s
13.0-U5.32d14h49m13s1d17h27m09s3d14h16m57s
3d14h07m59s1d18h57m33s

Do the later versions do a better/more thorough job to justify the extra time? Are there any tuneables for the later version that I should look at?

Cheers, Tony
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
The updated ZFS scrub & re-silver code was likely not taking into account full disk encryption below it, (aka GELI Encryption of the disk partitions).

Also, you don't list if your pools have gone past certain fullness thresholds. At 95% full, (or is it lower?), ZFS goes into space reclaimation over speed mode. The general rules of thumb is to keep pools at 80% or less, to reduce fragmentation.

It is probable that at some point GELI encrypted disk partitions will not be supported at all. Meaning you would not be able to update further until that has been removed. I vaguely recall it being mentioned that creating GELI encryption is no longer supported on the latest TrueNAS Core. But, someone else can speak to that aspect.
 

nelem

Dabbler
Joined
Sep 28, 2017
Messages
10
Thanks, Arwen.

There is one pool at about 67% full and fragmentation of 1% (due to me restoring the whole pool after I lost it)
 
Top