From: smh@netserv.com (Scott M. Hinnrichs)
Subject: Re: High Speed TCP/IP Data Needed
Date: 1996/05/05 [thread overview]
Message-ID: <smh-0505961857590001@smh-ppc.netserv.com> (raw)
In-Reply-To: 4mc7ki$1ob@vixen.cso.uiuc.edu
In article <4mc7ki$1ob@vixen.cso.uiuc.edu>, kline@sunkiller2.isdn.uiuc.edu
(Charley Kline) wrote:
>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.
I took the statement as meaning it isn't a good idea to route UDP on/off
of a WAN. Especially over the currently congested Internet, you are going
to have a lot of application level retries, and for example with NFS (the
application) that means 8 8k back-to-back packets requiring retransmission
for losing even one packet from the bunch.
UDP is best to use over layers with little or no chance of loss. You do
have to handle the retries yourself, which can be a pain to implement, and
a point of loss in performance if the underlying layers are lossy. Hence,
you don't want to *route* UDP for high performance requirements ;)
>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.
See, you did know what he was talking about... :)
>It is hard to imagine a from-scratch application doing a
>more efficient or faster job of this than TCP.
There are plenty of implementations of services over UDP that do a faster
and more efficient job than TCP. If you don't need the overhead of TCP to
handle losses, then you shouldn't use it. Or, you should provide the
"user" the option of using UDP for "LAN" performance advantages, or TCP
for robustness over a "WAN"
Scott
next prev parent reply other threads:[~1996-05-05 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 ` Ron Natalie
1996-05-01 4:00 ` Rick Jones
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 ` Libor
1996-05-02 4:00 ` Andreas Wierse
1996-05-02 4:00 ` Libor
1996-05-02 4:00 ` Curt Smith
1996-05-03 4:00 ` Justin Hannah
1996-05-03 4:00 ` Charley Kline
1996-05-05 4:00 ` Scott M. Hinnrichs [this message]
1996-05-06 4:00 ` Tom Sorensen
1996-05-07 4:00 ` Scott M. Hinnrichs
1996-05-03 4:00 ` Pete Flugstad
1996-05-03 4:00 ` Rick Jones
1996-05-06 4:00 ` Mike Krause
1996-05-06 4:00 ` Tom Sorensen
1996-05-06 4:00 ` Charley Kline
1996-05-03 4:00 ` Ron Natalie
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 ` W. Richard Stevens
1996-05-06 4:00 ` Andrew Gierth
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