linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why NFS is UDP based
@ 2003-01-15 20:12 Ronghua Zhang
  2003-01-15 21:18 ` Matti Aarnio
  2003-01-17 19:18 ` Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 4+ messages in thread
From: Ronghua Zhang @ 2003-01-15 20:12 UTC (permalink / raw)
  To: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why NFS is UDP based
  2003-01-15 20:12 why NFS is UDP based Ronghua Zhang
@ 2003-01-15 21:18 ` Matti Aarnio
  2003-01-17 19:18 ` Arnaldo Carvalho de Melo
  1 sibling, 0 replies; 4+ messages in thread
From: Matti Aarnio @ 2003-01-15 21:18 UTC (permalink / raw)
  To: Ronghua Zhang; +Cc: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why NFS is UDP based
  2003-01-15 20:12 why NFS is UDP based Ronghua Zhang
  2003-01-15 21:18 ` Matti Aarnio
@ 2003-01-17 19:18 ` Arnaldo Carvalho de Melo
  2003-01-18  9:55   ` Jan Hudec
  1 sibling, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-01-17 19:18 UTC (permalink / raw)
  To: Ronghua Zhang; +Cc: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why NFS is UDP based
  2003-01-17 19:18 ` Arnaldo Carvalho de Melo
@ 2003-01-18  9:55   ` Jan Hudec
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Hudec @ 2003-01-18  9:55 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Ronghua Zhang, linux-fsdevel

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:
> > 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 <bulb@ucw.cz>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-18  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-15 20:12 why NFS is UDP based Ronghua Zhang
2003-01-15 21:18 ` Matti Aarnio
2003-01-17 19:18 ` Arnaldo Carvalho de Melo
2003-01-18  9:55   ` Jan Hudec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).