From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa751,9eacd4f8141cdf02 X-Google-Attributes: gidfa751,public X-Google-Thread: 100159,9eacd4f8141cdf02 X-Google-Attributes: gid100159,public X-Google-Thread: 10d752,9eacd4f8141cdf02 X-Google-Attributes: gid10d752,public X-Google-Thread: 10d52b,9eacd4f8141cdf02 X-Google-Attributes: gid10d52b,public X-Google-Thread: f9325,9eacd4f8141cdf02 X-Google-Attributes: gidf9325,public X-Google-Thread: fa970,9eacd4f8141cdf02 X-Google-Attributes: gidfa970,public X-Google-Thread: 1164f8,9eacd4f8141cdf02 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10996c,9eacd4f8141cdf02 X-Google-Attributes: gid10996c,public From: kline@sunkiller2.isdn.uiuc.edu (Charley Kline) Subject: Re: High Speed TCP/IP Data Needed Date: 1996/05/03 Message-ID: <4mc7ki$1ob@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 152734938 references: <31865FBD.16F1@auc.trw.com> <4mbvb1$5un@duck.inetnebr.com> organization: University of Illinois at Urbana newsgroups: comp.dcom.cell-relay,comp.protocols.tcp-ip,comp.sys.sgi.hardware,comp.sys.sgi.misc,comp.sys.convex,comp.sys.dec,comp.sys.hp.hardware,comp.sys.hp.misc,comp.sys.sun.hardware,comp.sys.sun.misc sparc@inetnebr.com (Justin Hannah) writes: >In the case that the data isn't to be routed, you could get away with >using UDP (User Datagram Protocol). It is used mostly for NFS. I don't think you really understand the way all these protocols fit into the layered model. Routing is not a function of TCP nor UDP. UDP datagrams are routed exactly as TCP datagrams are. >It is much faster because it is not a "guarnteed" packet delivery >system. That means, if packets get out of order (usually via the >internet or by using routers) they come in out of order. Also, there >is no real checksum or any other types of error correction done. The host implementation may be faster, but you will in general lose on overall efficiency because TCP is a windowed protocol and can keep much more data in the pipe, minimizing bandwidth wasted waiting for acknowledgements. >I think the headers on UDP packets are something like 12 bytes. It is >the simplest IP protocol and therefore the fastest. Since it wasn't >meant for routing, such things as a TTL counter aren't bothered with >and don't take CPU speed or bandwidth away. No, TTL is a function of IP and has no place in a discussion of either UDP or TCP. I don't know what you mean by 'UDP is not meant for routing'; both protocols must be routed to function on the Internet. >My tech descriptions might be a little off, but generally what I am >tring to say is that UDP is better for high speed point to point >connections and it is implemented in just about every IP system out >there. Have fun! As you yourself mentioned, UDP has no error control or guarantees of delivery of individual datagrams. Assuming that the original poster cares that the data sent is actually reconstructed accurately on the receiving end, this means that the application would have to take care of things like checksumming, flow control, sequencing, and retransmission of lost data. It is hard to imagine a from-scratch application doing a more efficient or faster job of this than TCP. -- Charley Kline, KF9FF kline@uiuc.edu UIUC Communications Architect n stuff (217) 333-3339 Nobody ever forgets anything. The secret is learning to live with remembering.