* A question about NFS:
@ 1998-06-29 4:00 Allen Hung
1998-06-29 4:00 ` Nikola Milutinovic
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Allen Hung @ 1998-06-29 4:00 UTC (permalink / raw)
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?
Regards,
Allen Hung
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: A question about NFS:
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
2 siblings, 0 replies; 4+ messages in thread
From: Nikola Milutinovic @ 1998-06-29 4:00 UTC (permalink / raw)
Allen Hung wrote:
>
> 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?
TCP is stream oriented, UDP is datagram oriented. TCP guarantees
delivery (or failure signal), UDP doesn't. Anybody using UDP has to make
his own checks. UDP is faster and more compact.
FTP is a stream oriented thing. File System (of any kind) isn't, I
guess.
Nix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A question about NFS:
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
2 siblings, 0 replies; 4+ messages in thread
From: Angel L Cabello @ 1998-06-29 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
Allen Hung escribi� en mensaje
<01bda31e$3c1b2440$f403a8c0@itc058.fareastone.com.tw>...
>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,
NO. UDP is as reliable as TCP, the difference is that TCP check the errors
and the order of the packets and UDT don�t.
>It means sometime the data on transferring maybe not correct?!
No because NFS uses his own check protocol to use only the valid packets.
>So my question is:
>Why NFS was developed base on UDP, not TCP?
>
UDP allow more speed in the comunications because it has no check controls.
>Regards,
>
>Allen Hung
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A question about NFS:
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
2 siblings, 0 replies; 4+ messages in thread
From: Eric Werme - replace nospam with werme @ 1998-06-30 4:00 UTC (permalink / raw)
"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 <>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-06-30 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox