On 6 Feb 2006, at 12:29, Kevin Philp wrote:
> The /home is exported with
>> /home 192.168.1.0/255.255.255.0(sync,no_root_squash,rw)
>> and is mounted at the other end with the options:
>> sync, no_root_squash,rw
>> Should I be using tcp? also is sync killing performance?
TCP is suposedly better for various reasons, but realistically I don't
think using TCP is going to help noticeably in a smallish LAN.
I'm not sure that sync has any effec on NFS on Linux on the client
side. However, specifying async on the server will help write
performance, at a potential cost in stability (see man exports for
details). I remember years ago a kernel patch for SunOS which enabled
async export, and it made a HUGE difference to PC-NFS clients. The
world has moved on a bit since that, of course :-)
Another thing to try is varying rsize and wsize on the client - that
can help performance too - default is 4096 - see if setting those to
8192 helps matters.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!