Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: kline@sunkiller2.isdn.uiuc.edu (Charley Kline)
Subject: Re: High Speed TCP/IP Data Needed
Date: 1996/05/03	[thread overview]
Message-ID: <4mc7ki$1ob@vixen.cso.uiuc.edu> (raw)
In-Reply-To: 4mbvb1$5un@duck.inetnebr.com


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.



  parent reply	other threads:[~1996-05-03  4:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-30  4:00 High Speed TCP/IP Data Needed Dave Schneider
1996-05-01  4:00 ` Libor
1996-05-02  4:00   ` Andreas Wierse
1996-05-02  4:00     ` Libor
1996-05-01  4:00 ` Larry McVoy
1996-05-02  4:00   ` Rick Jones
1996-05-02  4:00     ` Larry McVoy
1996-05-01  4:00 ` Rick Jones
1996-05-01  4:00 ` Ron Natalie
1996-05-02  4:00 ` Curt Smith
1996-05-03  4:00 ` Justin Hannah
1996-05-03  4:00   ` Ron Natalie
1996-05-03  4:00   ` Pete Flugstad
1996-05-03  4:00     ` Rick Jones
1996-05-06  4:00     ` Tom Sorensen
1996-05-06  4:00       ` Charley Kline
1996-05-06  4:00     ` Mike Krause
1996-05-03  4:00   ` Charley Kline [this message]
1996-05-05  4:00     ` Scott M. Hinnrichs
1996-05-06  4:00     ` Tom Sorensen
1996-05-07  4:00       ` Scott M. Hinnrichs
1996-05-06  4:00   ` Steinar Haug
1996-05-06  4:00   ` Pete Flugstad
1996-05-06  4:00     ` Fahad A Hoymany
1996-05-06  4:00       ` Tom Sorensen
1996-05-06  4:00         ` Andrew Gierth
1996-05-06  4:00         ` W. Richard Stevens
1996-05-06  4:00       ` Dave Olson
1996-05-06  4:00         ` Fahad A Hoymany
1996-05-08  4:00           ` Casper H.S. Dik - Network Security Engineer
1996-05-07  4:00   ` Pete Flugstad
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