From owner-freebsd-fs@FreeBSD.ORG Wed Nov 27 13:09:48 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 7C558CF8 for ; Wed, 27 Nov 2013 13:09:48 +0000 (UTC) Received: from mail-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 423342F1B for ; Wed, 27 Nov 2013 13:09:48 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id md12so10421982pbc.33 for ; Wed, 27 Nov 2013 05:09:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=C6ezm3x3xMHBG7GVLPAyki3TcI9zOp6trMV67Bs/9kg=; b=Tv07PeOsNkydpJuyX7K+ZKHbUW9j6MQ4ShTO4Xabo9rdWXA6qLt7ACB2934yVLKvG8 FGoS7nuir8QWInzEBvX0VqNE4rSqx7rNSzlT23xbZQMrWvMtaN/07r1z1nCKoLlESooS mWUeRveHeoQBJhOjZywWAxM9tEeM74+RPBHfXCgOebb34ibgDrgqbKrkY+9RuQI5x2QD zZA/JTtcc8Y+qPbz9V+Mgy8HgfxSIEbKolVE9JNjjA/ie1IVP9u11L+NlAk10oEeIrL5 PlM9LhEyLyJJfpSd2gVNMGhzK1mWCkjyymMcgRHso3PwUbktyzsyU5BBGJNiJv5+WAK0 CyrQ== X-Gm-Message-State: ALoCoQlLmNBL1OLOh5ioAaBIMQhLskwXMy3i5F01DMaOWUErxgZR0YtITL8yfznvc2U501l26ARd MIME-Version: 1.0 X-Received: by 10.68.233.135 with SMTP id tw7mr4988198pbc.112.1385557787275; Wed, 27 Nov 2013 05:09:47 -0800 (PST) Received: by 10.70.102.133 with HTTP; Wed, 27 Nov 2013 05:09:47 -0800 (PST) In-Reply-To: <5295E2E4.8050506@digsys.bg> 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> <5295E2E4.8050506@digsys.bg> Date: Wed, 27 Nov 2013 06:09:47 -0700 Message-ID: Subject: Re: Performance difference between UFS and ZFS with NFS From: Eric Browning To: Daniel Kalchev Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: FreeBSD FS 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 13:09:48 -0000 Daniel, I did that on my student server and it was still slow. I was using ZFS v28 at the time with freebsd 9.1 what are you currently using to get these results? On Wed, Nov 27, 2013 at 5:17 AM, Daniel Kalchev wrote: > > 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 > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > -- Eric Browning Systems Administrator 801-984-7623 Skaggs Catholic Center Juan Diego Catholic High School Saint John the Baptist Middle Saint John the Baptist Elementary