From owner-freebsd-current@freebsd.org  Thu Dec 14 14:46:58 2017
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@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 50F88E82D5C
 for <freebsd-current@mailman.ysv.freebsd.org>;
 Thu, 14 Dec 2017 14:46:58 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from tensor.andric.com (tensor.andric.com [87.251.56.140])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "tensor.andric.com",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 0C90766E57
 for <freebsd-current@freebsd.org>; Thu, 14 Dec 2017 14:46:57 +0000 (UTC)
 (envelope-from dim@FreeBSD.org)
Received: from coleburn.avinity.tv (unknown [77.95.97.98])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by tensor.andric.com (Postfix) with ESMTPSA id CD94DDC24;
 Thu, 14 Dec 2017 15:46:16 +0100 (CET)
From: Dimitry Andric <dim@FreeBSD.org>
Message-Id: <B02D080F-96B1-4456-8D19-21F89821E2C0@FreeBSD.org>
Content-Type: multipart/signed;
 boundary="Apple-Mail=_0B389644-E165-49B5-B164-D2414AC648AA";
 protocol="application/pgp-signature"; micalg=pgp-sha1
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: ZFS RAIDZ1: resilvering at <17.3M/s => abyssal slow ...
Date: Thu, 14 Dec 2017 15:46:17 +0100
In-Reply-To: <20171214144351.24a81faa@thor.intern.walstatt.dynvpn.de>
Cc: Daniel Nebdal <dnebdal@gmail.com>,
 FreeBSD CURRENT <freebsd-current@freebsd.org>
To: "O. Hartmann" <ohartmann@walstatt.org>
References: <20171214124900.64211bd9@thor.intern.walstatt.dynvpn.de>
 <CA+t49PJuznLxGnLERwAhVW2CjETJYWO6rKcWo3qOo5bZLQkqYA@mail.gmail.com>
 <20171214144351.24a81faa@thor.intern.walstatt.dynvpn.de>
X-Mailer: Apple Mail (2.3273)
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Dec 2017 14:46:58 -0000


--Apple-Mail=_0B389644-E165-49B5-B164-D2414AC648AA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 14 Dec 2017, at 14:43, O. Hartmann <ohartmann@walstatt.org> wrote:
>=20
> Am Thu, 14 Dec 2017 14:09:39 +0100
> Daniel Nebdal <dnebdal@gmail.com> schrieb:
>> On Thu, Dec 14, 2017 at 12:48 PM, O. Hartmann =
<ohartmann@walstatt.org> wrote:
>>> I just started the rebuild/resilvering process and watch the pool =
crwaling at ~ 18
>>> MB/s. At the moment, there is no load on the array, the host is a =
IvyBridge XEON with
>>> 4 core/8 threads and 3,4 GHz and 16 GB of RAM. The HDDs are attached =
to a on-board
>>> SATA II (300 MB/s max) Intel chip - this just for the record.
>>>=20
>>> Recently, I switch on the "sync" attribute on most of the defined =
pools's zfs
>>> filesystems
>>> - I also use a SSD for ZIL/L2ARC caching, but it seems to be unused =
recently in
>>> FreeBSD CURRENT's ZFS - this from a observers perspective only.
>>>=20
>>> When scrubbing, I see recently also reduced performance on the pool, =
so I'm wondering
>>> about the low throughput at the very moment when resilvering is in =
progress.
>>>=20
>>> If the "perspective" of "zpool status" is correct, then I have to =
wait after two hours
>>> for another 100 hours - ~ 4 days? Ups ... I think there is something =
badly
>>> misconfigured or missing.
...
>> This is kind of to be expected - for whatever reason, resilvers seem
>> to go super slow at first and then speed up significantly. Just don't
>> ask me how long "at first" is - I'd give it several (more) hours.

Hopefully this will get better in the future, please read:

http://open-zfs.org/wiki/Scrub/Resilver_Performance

-Dimitry


--Apple-Mail=_0B389644-E165-49B5-B164-D2414AC648AA
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWjKOuQAKCRCwXqMKLiCW
o4v2AJ4gJHlALMaEYIrmfkOEuLLTT9napACgy7miWUltzHHT7tor9utycJLTb2w=
=cokX
-----END PGP SIGNATURE-----

--Apple-Mail=_0B389644-E165-49B5-B164-D2414AC648AA--