Performance difference between UFS and ZFS with NFS

Eric Browning ericbrowning at skaggscatholiccenter.org
Wed Nov 27 13:09:48 UTC 2013


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 <daniel at digsys.bg> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at 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


More information about the freebsd-fs mailing list