Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jul 2015 14:50:46 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-fs@freebsd.org
Subject:   Speeding up resilvering
Message-ID:  <559D2AB6.5070007@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--K4lg1kdEEpMeN4clwKawFbeEhR1CVa3EQ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

I've a zpool which is taking an inordinately long time to resilver and
replace a device.  It had only got to about 8% completion after a day,
implying over a week to resilver about 6TB data.

Now, I've applied the resilver performance tuning sysctls from
https://wiki.freebsd.org/ZFSTuningGuide:

vfs.zfs.scrub_delay=3D0
vfs.zfs.top_maxinflight=3D128
vfs.zfs.resilver_min_time_ms=3D5000
vfs.zfs.resilver_delay=3D0

but it doesn't seem to have made a great deal of difference.  Most of
the benefit there would apparently come from reducing scrub_delay or
resilver_delay -- but this system is only booted to single user mode, so
the drives are otherwise idle and the resilver should have automatically
switched to running full throttle anyhow.

Given the machine is not going to be doing anything else other than
resilvering for the time being, is there any more aggressive tuning or
tricks to get it to go faster that people would recommend?

	Cheers,

	Matthew


--K4lg1kdEEpMeN4clwKawFbeEhR1CVa3EQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJVnSq+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnb1cP/ihNpXV54l9h8YCVD3El/2vu
ew6Ju5WZIhGwdHY4G+Omj5kefiiW8gVBkh1MzZR6tQIqjJw7iUm1IrgQ8xFmZoxg
TRYA0+V67tSYTGQS73QnKfBHhaa4mwQuQSsdyz3LWFqKt+P7c4cY4j3Wxny4FgDH
/ptTrv0aeeyVIWVqo+DvgK7RIgH857YuxkXsUGRve3EjRKQtWBfLTSmL0B8KXPSn
ojyplk9e9hVgPX+il9kB3m9x5qj9H9w8/84rgd0z8w4pCdub40MCNYAz6rCuZSbW
C136Vp44zNwv6u4tMFgTbBZcr4qVC20HvQuXOhttSHXX3yV6qUpCKu1WQp3jcLwE
We+3WnnWG9ISon/Zi+l2vLlP0dF3e7uW6j55theRORy99ZgWC03MPIibW98aX7fm
cqVuY2HFzumNtb9eyUwh3Yo1TQ73CYOp6lik4djXxACwp/lfN+wkWaG9mjAn/JJD
Bt8AnwZRn5Um7p32cwmZVgLGXXSazLJPbUoVmmbmbn9UFGmeqb4Bo4Qdt7aC+eoi
EgqAC0T4erVYQ+Yvcq4LiZCb0kvO9qzSMrc1CbQPPuB8fZELFycniOlJSIu5f7Hh
6QYKryQXPR56YS9RDu2qQmTUU5QTRh4J2/Ri7IUTotGk1sK/Jip1501Nt4tk8zyg
JadP++tZGqfEVfw/JXnS
=hNKJ
-----END PGP SIGNATURE-----

--K4lg1kdEEpMeN4clwKawFbeEhR1CVa3EQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559D2AB6.5070007>