From owner-freebsd-stable@FreeBSD.ORG Wed Oct 27 21:54:36 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D0DB106564A for ; Wed, 27 Oct 2010 21:54:36 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 130408FC0A for ; Wed, 27 Oct 2010 21:54:36 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id A366B8F19B; Wed, 27 Oct 2010 23:54:34 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <398231288212690@web127.yandex.ru> Date: Wed, 27 Oct 2010 23:54:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7FF9CDFF-3FA0-45EA-85F5-A236AEFC03C7@lassitu.de> References: <398231288212690@web127.yandex.ru> To: S.N.Grigoriev X-Mailer: Apple Mail (2.1081) Cc: freebsd-stable@freebsd.org Subject: Re: ZFS write speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 21:54:36 -0000 Am 27.10.2010 um 22:51 schrieb S.N.Grigoriev: > Hi list, >=20 > I've got very low write speed using ZFS on a SATA disk. > My HDD configuration is: > ad4: 70911MB at ata2-master UDMA100 = SATA 3Gb/s > ad6: 78532MB at ata3-master UDMA100 = SATA 1.5Gb/s > ad8: 1430799MB at ata4-master UDMA100 = SATA 3Gb/s The EARS has 4k sectors, if I'm not mistaken. I don't recall the = eventual outcome, but there was a long thread on stable or hackers on = how to ensure proper alignment and (minimun) 4k-sized writes to make = sure the disk doesn't have to do a read-modify-write cycle, so try and = search the archives. > ad4 and ad6 are single-slice disks (UFS2 with soft updates) >=20 > ZFS configuration is following: > zpool create Z ad8 > zfs create Z/music > zfs create Z/video > All ZFS parameters are default. > kern.maxvnodes =3D 1000000 >=20 > To test my configuration I recursively copied from ad6 to ad8 two = directories. > The first one contains MP3 files (average size =3D 10MB). > The second one contains AVI files (average size =3D 1GB).=20 >=20 > To compare performance I repeated above tests with ad8 using UFS2 with = soft updates. >=20 > 18GB of MP3 files required 10m35s to copy to UFS2 and 21m40s to copy = to ZFS. > 30GB of AVI files required 16m6s to copy to UFS2 and 1h2m39s to copy = to ZFS. >=20 > I used for tests FreeBSD 8.1R amd64. Amount of RAM on my machine is = 6GB. >=20 > Any tips? >=20 > --=20 > Regards, > Serguey. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" --=20 Stefan Bethke Fon +49 151 14070811