SUMMARY: NFS: TCP vs UDP

From: Christophe Dupre <duprec_at_scorec.rpi.edu>
Date: Wed May 09 2001 - 10:29:08 EDT
Thanks to Mark Neill, Thomas Knox, Colin Matthews and Hendrik Visage for
the quick answers.

Some people mentioned lower server load using UDP, while others said that
Sun's TCP implementation was more optimized than its UDP implementation.
One mentioned that using UDP might cause data corruption, but I don't
agree with that as NFS had always used UDP until version 3.
TCP seem to be able to use bigger read and write sizes which could reduce
NFS protocol overhead, offsetting the TCP overhead.

Finally, tuning the rsize and wsize would seem to give better performance
increase that playing with UDP/TCP.

On Tue, 8 May 2001, Christophe Dupre wrote:

> has anyone compared NFSv3 UDP vs TCP ? It seems that Solaris 7 uses TCP by
> default, while Irix uses UDP. We're running on a fully switched local
> network, so dropped packets are really the exception, but before forcing
> UDP (which would supposedly reduce the stack overhead) I'd like to hear
> from others.


--
Christophe Dupre
System Administrator, Scientific Computation Research Center
Rensselaer Polytechnic Institute
Troy, NY        USA
Phone: (518) 276-2578  -  Fax: (518) 276-4886
Received on Wed May 9 15:29:08 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:54 EDT