Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme)
Subject: Re: A question about NFS:
Date: 1998/06/30	[thread overview]
Message-ID: <6n9j8e$fq8$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 01bda31e$3c1b2440$f403a8c0@itc058.fareastone.com.tw


"Allen Hung" <yshung@fareastone.com.tw> writes:

>A question about NFS:
>	NFS is developed base on UDP/IP protocols, and we all know NFS is Network
>file system. It means shared resources with others. But in my knowledge,
>UDP is unreliable,
>It means sometime the data on transferring maybe not correct?! So my
>question is:
>Why NFS was developed base on UDP, not TCP? 

First, UDP is unreliable only in the sense that the message may not arrive
at the destination.  IP checksumming is still done on all current NFS over
UDP implementations, making the data integrity nearly as good as data over
TCP.

UDP's unreliability is handled by NFS retransmitting requests if a reply
isn't received in a reasonable amount of time.  This differs from TCP mainly
in that the application is doing the retransmission, not the trasnport
protocol.

On many LANs it is very rare to loose a packet.  UDP works just fine in
such cases.

A design goal of NFS was to tolerate server crashes.  By sending
requests via UDP, nothing needed to be done to achieve that.  Requests
would be retransmitted until the server restarted NFS and then things
would continue where they left off.

--
<>    Eric (Ric) Werme     <> The above is unlikely to contain   <>
<>    ROT-13 addresses:    <> official claims or policies of     <>
<>   <jrezr@mx3.qrp.pbz>   <> Compaq Computer Corp.              <>
<> <jrezr@plorecbegny.arg> <>  http://www.cyberportal.net/werme  <>



      parent reply	other threads:[~1998-06-30  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-29  4:00 A question about NFS: Allen Hung
1998-06-29  4:00 ` Nikola Milutinovic
1998-06-29  4:00 ` Angel L Cabello
1998-06-30  4:00 ` Eric Werme - replace nospam with werme [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox