From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f86bf34a8a208e0f X-Google-Attributes: gidf678f,public X-Google-Thread: 112f7b,f86bf34a8a208e0f X-Google-Attributes: gid112f7b,public X-Google-Thread: 103fcc,f86bf34a8a208e0f X-Google-Attributes: gid103fcc,public X-Google-Thread: fee84,f86bf34a8a208e0f X-Google-Attributes: gidfee84,public X-Google-Thread: 104c30,f86bf34a8a208e0f X-Google-Attributes: gid104c30,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: A question about NFS: Date: 1998/06/30 Message-ID: <6n9j8e$fq8$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 367298453 References: <01bda31e$3c1b2440$f403a8c0@itc058.fareastone.com.tw> Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,tw.bbs.comp.linux,tw.bbs.comp.unix,tw.comp.unix "Allen Hung" 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 <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>