From owner-freebsd-fs@freebsd.org Wed Jul 8 16:37:19 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59DB0996B8C for ; Wed, 8 Jul 2015 16:37:19 +0000 (UTC) (envelope-from karl@denninger.net) Received: from fs.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "NewFS.denninger.net", Issuer "NewFS.denninger.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2760C11FA for ; Wed, 8 Jul 2015 16:37:18 +0000 (UTC) (envelope-from karl@denninger.net) Received: from [192.168.1.40] (localhost [127.0.0.1]) by fs.denninger.net (8.14.9/8.14.8) with ESMTP id t68GbHlx022866 for ; Wed, 8 Jul 2015 11:37:17 -0500 (CDT) (envelope-from karl@denninger.net) Received: from [192.168.1.40] [192.168.1.40] (Via SSLv3 AES128-SHA) ; by Spamblock-sys (LOCAL/AUTH) Wed Jul 8 11:37:17 2015 Message-ID: <559D51B5.3050709@denninger.net> Date: Wed, 08 Jul 2015 11:37:09 -0500 From: Karl Denninger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Speeding up resilvering References: <559D2AB6.5070007@FreeBSD.org> <559D2C7C.6060201@denninger.net> <559D3167.1000705@infracaninophile.co.uk> <559D3236.1060102@denninger.net> <559D3380.8050703@sentex.net> <559D4DD3.10903@infracaninophile.co.uk> In-Reply-To: <559D4DD3.10903@infracaninophile.co.uk> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms030104030200090303040803" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 16:37:19 -0000 This is a cryptographically signed message in MIME format. --------------ms030104030200090303040803 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 7/8/2015 11:20, Matthew Seaman wrote: > On 07/08/15 15:28, Mike Tancsa wrote: >>> Look at the IO saturation on the disk channel(s) involved with either= >>>> systat -vm or iostat. If the channel is saturated then there's noth= ing >>>> you can do in terms of tuning; the question then turns to why actual= I/O >>>> performance is so poor and has to be addressed there. >> I had one server that was taking ages, and it turned out to be the >> controller, not the disk that was hosed. As Karl suggested, take a loo= k >> at the throughput on gstat. Is anyone disk or groups of disks lagging >> far behind on write speeds ? In my case, it was a very obvious and >> glaring outlier. > Thanks for the suggestions. I've been playing with gstat et al, and as= > far as I can tell, all the drives are behaving reasonably well. I'm > certainly getting 90-100% capacity (mostly reads) continually on the > original drives whilst the new one (mostly writes) seems to go in > bursts. Which is pretty much what I'd expect when resilvering a RAIDZ.= > > So, having exhausted that, I actually sat down and timed what progress > it was making rather more carefully. Turns out my impression that > applying the sysctl tweaks I mentioned previously had little effect was= > wrong. Current projection is about 50h total to do the resilvering, > which is much, much better than the approx 12days I was expecting > previously. In fact, that's pretty much inline with what I'd expect > from this hardware. > > Cheers, > > Matthew > > > Be aware that when a resilver /starts /it does a number of very small and diverse I/O operations. Throughput during that time _*stinks*_, and as a result in the first few minutes to half-hour or so (with a very large vdev) you will see utterly ridiculous projections of completion tim= e. Once that part of the process completes (usually within a few minutes on modest to moderate size vdevs, but it will be longer on very large ones) the performance level of the resilver will go up a lot and the projected completion time will become far more reasonable. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms030104030200090303040803 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME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