Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2009 09:48:38 +1000
From:      Andrew Snow <andrew@modulus.org>
To:        Scott Ullrich <sullrich@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Slow disk write IO with ZFS / NFS
Message-ID:  <4ABD56D6.50301@modulus.org>
In-Reply-To: <d5992baf0909251206m6421086ap3a9fdac788d71396@mail.gmail.com>
References:  <d5992baf0909251206m6421086ap3a9fdac788d71396@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Ullrich wrote:
> Does anyone have any pointers on how to speed this up without putting
> the data in jeopardy during a power failure, etc (ie: leaving ZIL on).

NFS writes are syncronous so ZFS is constantly syncing small datablocks 
to disk.  By default the transaction log is stored on the same disks as 
the rest of the data.

You might like to try an async NFS mount, but this isn't much different 
from just turning off the ZIL.

Failing that, Add a log device to the pool, SSD or ramdisk is ideal, but 
separate disk HDD spindles to your data zpool also works pretty well.


- Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABD56D6.50301>