Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: tom@dogbert.de.sc.ti.com (Tom Sorensen)
Subject: Re: High Speed TCP/IP Data Needed
Date: 1996/05/06	[thread overview]
Message-ID: <4ml0hs$mvk@tilde.csc.ti.com> (raw)
In-Reply-To: PETE.96May3093654@mich.stl.nexen.com



In article <PETE.96May3093654@mich.stl.nexen.com>, pete@stl.nexen.com (Pete Flugstad) writes:

>a router, or onto a moderately loaded machine. I belive that routers
>discard UDP traffic preferentially to TCP packets, so that you're much

Although I can't say for sure - I doubt it. There is no reason for the router
to decode all the way down to the TCP/UDP level - all the information it
needs to poke (dest IP, ttl, checksum) is in the IP header, not the TCP or
UDP headers. Decoding those would cause unnecessary overhead, and force
the router to discard even more packets. Better to just toss TCP and UDP
equally along with anything else you might be routing and let the host machines
deal with it - TCP will re-request the data automagically anyway, so that's
why you never see a problem unless you're sniffing the packet stream.

>more likely to see significant loss.  Also, I believe the same is true
>of most IP stacks, such that if the machine is receiving a good number
>of IP packets, UDP packets will be discarded first.

This may very well be true, although again, at that point the packet has been
decoded to such a point it may as well be tossed up to the next layer. After
all, the machine has no way to know that the next packet isn't UDP as well,
and the packet after that, and after that, etc.

>But, if UDP is run over pt-pt links with low loss, and sufficiently
>fast machines, it probably would be a better choice than TCP.

If your application doesn't require the other features of TCP as well - such
as a virtual byte stream.

>I *think* it will also allow you to have larger packets than TCP.  I
>seem to recall TCP will generally segment the data into max 512 byte
>"segments" (is this tuneable?).  UDP doesn't segment at all (IP does),
>so if you send large packets, you generally get the benefit of them.

TCP does not segment either. It's left up to IP and your MTU setting. Various
TCP applications DO segment, often into 512 byte packets.

>Finally, a note.  It's very easy to completely saturate a network with
>UDP packets, so be careful.  If one machine is sending a high speed

True. You can also do this with ICMP (ping flood anyone?). That's another
advantage of TCP - it will automatically backoff in case of congestion due
to its windowing protocol.

Of course, this entire discussion is irrelevant to the original poster, since
the problem is the physical network, not the protocol. The protocol has
probably already been decided due to application requirements.

-- 
Tom Sorensen      tom@dogbert.de.sc.ti.com             | Fight the CDA  |blue|
If I managed to represent TI in this post, then I'm    | Responsibility | () |
probably far more surprised than TI is.                | Starts at Home | /\ |





  parent reply	other threads:[~1996-05-06  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 ` Libor
1996-05-02  4:00   ` Andreas Wierse
1996-05-02  4:00     ` Libor
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-02  4:00 ` Curt Smith
1996-05-03  4:00 ` Justin Hannah
1996-05-03  4:00   ` Ron Natalie
1996-05-03  4:00   ` Charley Kline
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-03  4:00   ` Pete Flugstad
1996-05-03  4:00     ` Rick Jones
1996-05-06  4:00     ` Tom Sorensen [this message]
1996-05-06  4:00       ` Charley Kline
1996-05-06  4:00     ` Mike Krause
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       ` Dave Olson
1996-05-06  4:00         ` Fahad A Hoymany
1996-05-08  4:00           ` Casper H.S. Dik - Network Security Engineer
1996-05-06  4:00       ` Tom Sorensen
1996-05-06  4:00         ` W. Richard Stevens
1996-05-06  4:00         ` Andrew Gierth
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