From owner-freebsd-fs@FreeBSD.ORG Wed Nov 27 12:32:18 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D16A6F71 for ; Wed, 27 Nov 2013 12:32:18 +0000 (UTC) Received: from smtp-sofia.digsys.bg (smtp-sofia.digsys.bg [193.68.21.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 508D72CF9 for ; Wed, 27 Nov 2013 12:32:17 +0000 (UTC) Received: from dcave.digsys.bg (dcave.digsys.bg [193.68.6.1]) (authenticated bits=0) by smtp-sofia.digsys.bg (8.14.6/8.14.6) with ESMTP id rARCHeCm070607 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 27 Nov 2013 14:17:41 +0200 (EET) (envelope-from daniel@digsys.bg) Message-ID: <5295E2E4.8050506@digsys.bg> Date: Wed, 27 Nov 2013 14:17:40 +0200 From: Daniel Kalchev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Performance difference between UFS and ZFS with NFS References: <2103733116.16923158.1384866769683.JavaMail.root@uoguelph.ca> <9F76D61C-EFEB-44B3-9717-D0795789832D@gmail.com> <5969250F-0987-4304-BB95-52C7BAE8D84D@gmail.com> <18391B9C-2FC4-427B-A4B6-1739B3C17498@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 12:32:18 -0000 On 25.11.13 21:24, Eric Browning wrote: > Steven, > > I've tried to 4K align these SSDs with gnop but they are currently ashift > 9. Pool layout is just 4 drives in a zfs stripe. I've also tried raidz1 > with no noticeable performance impacts other than a loss of space for > parity. > ashift=9 with most (all?) SSDs is a big no-no! You really should make that pool ashift=12 (at least) and have it 4k aligned (partition). Especially for writes, an properly aligned 4 drive SSD stripe should be way faster. Here is what I get from ashift=12 raidz1 4 SSD drive pool # dd if=/dev/zero of=zero bs=1m count=1k 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 1.817027 secs (590933382 bytes/sec) Unfortunately, your only option is dump / recreate pool / restore. (zfs send/receive is an option too -- especially if you have another set of drives) Daniel