why NFS is UDP based

4 messages, 4 authors, 2003-01-18 · open the first message on its own page

why NFS is UDP based

From: Ronghua Zhang <hidden>
Date: 2003-01-15 20:12:13

I wish I am posting the message to the right place.  I am just curious
what's the most important reason to choose UDP instead of TCP. And when
some error happens, will NFS do retransmission ? thanks.

Ronghua

Re: why NFS is UDP based

From: Matti Aarnio <hidden>
Date: 2003-01-15 21:18:30

On Wed, Jan 15, 2003 at 03:12:11PM -0500, Ronghua Zhang wrote:
I wish I am posting the message to the right place.  I am just curious
what's the most important reason to choose UDP instead of TCP. And when
some error happens, will NFS do retransmission ? thanks.
You need to familiarize yourself with the history of NFS.
Who, when, and in what kind of environment did invent NFS.
(Sun, late 1980es, machines with _very_ low power compared
to todays standards, and very slow networks!)

Doing NFS over TCP has been a lot more recent development.

Yes, when errors (like UDP datagram loss -> response timeout)
occur, NFS must do retrying / other error processing.
Ronghua
/Matti Aarnio

Re: why NFS is UDP based

From: Arnaldo Carvalho de Melo <hidden>
Date: 2003-01-17 19:18:08

Em Wed, Jan 15, 2003 at 03:12:11PM -0500, Ronghua Zhang escreveu:
I wish I am posting the message to the right place.  I am just curious
what's the most important reason to choose UDP instead of TCP. And when
some error happens, will NFS do retransmission ? thanks.
NFS also supports TCP, just config it to use TCP.

- Arnaldo

Re: why NFS is UDP based

From: Jan Hudec <hidden>
Date: 2003-01-18 09:55:37

On Fri, Jan 17, 2003 at 05:18:08PM -0200, Arnaldo Carvalho de Melo wrote:
Em Wed, Jan 15, 2003 at 03:12:11PM -0500, Ronghua Zhang escreveu:
quoted
I wish I am posting the message to the right place.  I am just curious
what's the most important reason to choose UDP instead of TCP. And when
some error happens, will NFS do retransmission ? thanks.
NFS also supports TCP, just config it to use TCP.
IIRC only NFS client does. Or is both client and server RPC over TCP
already working?

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help