Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 22:05:42 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-hackers@freebsd.org
Subject:   NFS - slow
Message-ID:  <alpine.BSF.2.00.1204272201440.6369@wojtek.tensor.gdynia.pl>

next in thread | raw e-mail | index | archive | help
is there any way to speed up NFS server?

from what i noticed:

- reads works fast and good, like accessed locally, readahead up to 
maxbsize works fine on large files etc.

- write works terribly. it performs sync on every write IMHO,
setting vfs.nfsrv.async=1 improves things SLIGHTLY, but still - writes are 
sent to hard disk every single block  - no clustering.


am i doing something wrong or is it that broken?


i tried user space nfs from ports, it's funny but it's performance is 
actually better after i removed fsync from code.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1204272201440.6369>