NFS - slow

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue May 1 05:01:05 UTC 2012


i tried nfsv4, tested under FreeBSD over localhost and it is roughly the 
same. am i doing something wrong?

On Mon, 30 Apr 2012, Peter Jeremy wrote:

> On 2012-Apr-27 22:05:42 +0200, Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:
>> is there any way to speed up NFS server?
> ...
>> - write works terribly. it performs sync on every write IMHO,
>
> You don't mention which NFS server or NFS version you are using but
> for "traditional" NFS, this is by design.  The NFS server is stateless
> and NFS server failures are transparent (other than time-wise) to the
> client.  This means that once the server acknowledges a write, it
> guarantees the client will be able to later retrieve that data, even
> if the server crashes.  This implies that the server needs to do a
> synchronous write to disk before it can return the acknowledgement
> back to the client.
>
> -- 
> Peter Jeremy
>


More information about the freebsd-hackers mailing list