From owner-freebsd-current@freebsd.org Sun Oct 30 12:41:52 2016 Return-Path: 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 B78FFC1BFB5 for ; Sun, 30 Oct 2016 12:41:52 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78A0E1D35 for ; Sun, 30 Oct 2016 12:41:52 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1c0pQr-002P0I-Fx>; Sun, 30 Oct 2016 13:41:49 +0100 Received: from x4e348e3b.dyn.telefonica.de ([78.52.142.59] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1c0pQr-000Qhh-65>; Sun, 30 Oct 2016 13:41:49 +0100 Date: Sun, 30 Oct 2016 13:41:44 +0100 From: "O. Hartmann" To: Fabian Keil Cc: freebsd-current@freebsd.org Subject: Re: ZFS - Abyssal slow on copying Message-ID: <20161030134144.2c42a858.ohartman@zedat.fu-berlin.de> In-Reply-To: <20161004124232.6d655b61@fabiankeil.de> References: <20161002212504.2d782002.ohartman@zedat.fu-berlin.de> <20161004124232.6d655b61@fabiankeil.de> Organization: FU Berlin X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/BqA9eQ6skb3VRz2WPNgGhFp"; protocol="application/pgp-signature" X-Originating-IP: 78.52.142.59 X-ZEDAT-Hint: A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 12:41:52 -0000 --Sig_/BqA9eQ6skb3VRz2WPNgGhFp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Tue, 4 Oct 2016 12:42:32 +0200 Fabian Keil schrieb: > "O. Hartmann" wrote: >=20 > > Running 12-CURRENT (FreeBSD 12.0-CURRENT #32 r306579: Sun Oct 2 09:34:= 50 CEST 2016 > > ), I have a NanoBSD setup which creates an image for a router device. > >=20 > > The problem I face is related to ZFS. The system has a system's SSD (Sa= msung 850 Pro, > > 256GB) which has an UFS filesystem. Aditionally, I have also a backup a= nd a data HDD, > > both WD, one 3 TB WD RED Pro, on 4 TB WD RED (the backup device). Both = the sources for > > the NanoBSD and the object tree as well as the NANO_WORLDDIR are residi= ng on the 3 TB > > data drive.=20 > >=20 > > The box itself has 8 GB RAM. When it comes to create the memory disk, w= hich is ~ 1,3 > > GB in size, the NanoBSD script starts creating the memory disk and then= installing > > world into this memory disk. And this part is a kind of abyssal in term= s of the > > speed. =20 >=20 > Can you reproduce the issue if you replace the memory disk with > a zvol or tmpfs? >=20 > While I agree that depulication could be the cause of the problem, > it probably wouldn't hurt to rule out a memory-disk related issue > before recreating the pool. >=20 > Fabian I guess this issue was triggered due to having deduplication enabled on the= ZFS pool rather than on the ZFS partitions (this is a guess based upon comments made= by knowing people and the fact, that the noisy copying and slowness went away after re= moving dedup from the ZFS pool). --Sig_/BqA9eQ6skb3VRz2WPNgGhFp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYFeqIAAoJEOgBcD7A/5N80HYIANlw36n/gvkAjGs6Wtvw7iXZ EEiwrXFP8SNuob/PPG2Ot5dGXQiX1UcbmlgCaBlEMRnCuXQIvsA9QJiHyEr7Q8MH rCTtBzFumtzqilG+RlaM6w0uHbqbuIVkyCD5g/yE3rLqKVC2EOm80LZ7nNf7zNfw Ax/vWkO85UdJUFXsnA47Lo8Myyv6AYoliGX96XNlN2wNds+TaIKt+2JYsLgqEsdV sbkzZRDUvwiTpnS/izrb09JqI0b23/KlFXFbULuhhL+TGMrhU4RgR7TQ3639RBcV 4XXcf3PJ3qye6QJAnMuzNKWMU4+iUuMZhQudNk9zaiz72oit7ts406mKOcoy7Qk= =GoEq -----END PGP SIGNATURE----- --Sig_/BqA9eQ6skb3VRz2WPNgGhFp--