* High Speed TCP/IP Data Needed
@ 1996-04-30 4:00 Dave Schneider
1996-05-01 4:00 ` Ron Natalie
` (5 more replies)
0 siblings, 6 replies; 31+ messages in thread
From: Dave Schneider @ 1996-04-30 4:00 UTC (permalink / raw)
I'm looking for data on how fast I can push data over a network using
TCP/IP. I need to push data from one host to another that is divided
into 7 logical streams. I would like to make each stream a TCP/IP
socket so that my software will be portable to any network technology
and I can develop it independent of the hardware. My data streams
have the following rates:
------------ ------------
| | | |
| |------> 7.7 Mbyte/s --------->| |
| |------> 4.0 Mbyte/s ----------| |
| |------> 3.3 Mbyte/s --------->| |
| Host A |------> 650 kbyte/s --------->| Host B |
| |------> 650 kbyte/s --------->| |
| |------> 650 kbyte/s --------->| |
| |------> 650 kbyte/s --------->| |
| | | |
------------ ------------
Total = 17.6 Mbyte/s
Host A is known to be an SGI Challenge while Host B has not been
selected yet. Each host can have multiple network interface cards,
(as many as are needed to get the required bandwidth). No network
technology has been selected but possibilities under consideration
are ATM (OC-12), HiPPI (both parallel and serial), and FibreChannel.
On top of all of this I am required to provide 100% additional bandwidth
to allow for future growth.
The question is: Can this be done with today's technology (I think so).
I am looking for information so I can convince some others that
this is possible and that we do not need to write our application using
raw HiPPI to get this level of performance.
I'm looking for data on:
o Amount of overhead added by TCP/IP
o Latency added by TCP/IP
o Impact to processor loading to handle protocol stack
o What network hardware was used
o If not possible today, when and what is possible today
Any information or references to data regarding this problem would be
greatly appreciated (particularly actual test results). I will summarize
the information that I receive and provide it to those that are
interested.
Dave Schneider
dschneid@auc.trw.com
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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
` (4 subsequent siblings)
5 siblings, 0 replies; 31+ messages in thread
From: Ron Natalie @ 1996-05-01 4:00 UTC (permalink / raw)
Dave Schneider (dschneid@auc.trw.com) wrote:
: o Amount of overhead added by TCP/IP
: o Latency added by TCP/IP
: o Impact to processor loading to handle protocol stack
: o What network hardware was used
: o If not possible today, when and what is possible today
Van Jacobson has written a couple of papers on this.
However, in addition to fretting over TCP/IP overhead (which I think your
only real concern may be window sizing), you should worry about how fast
these network interfaces you envision can push data in to and out of the
system memory which is going to be the limitting factor.
-Ron
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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-01 4:00 ` Larry McVoy
` (3 subsequent siblings)
5 siblings, 1 reply; 31+ messages in thread
From: Libor @ 1996-05-01 4:00 UTC (permalink / raw)
Using TCP/IP over HiPPI I've gotten rates of 20+ Mbyte/s (but not much over)
This was between a cm5 to cm5, cm5 to sgi Challenge, and sgi to sgi. I hear
that this is pretty common between most high performance machines using
HiPPI. I believe that raw HiPPIs theoretical rate is 40 Mbyte/s in one
direction, I'm not sure if this is for the PH or FP layer of HiPPI. As some
one mentioned you have to use large TCP window sizes to get performance
like this, we have found that 512k windows seem to provide the best
performance, and your machine has to be able to move this much data from
memory over the bus to the HiPPI controler, which you can't do on an older
sparc :-)
Since you need to provide 100% over 17 MB/s thats 34MB/s two HiPPIs would
be able to handle that, but are you sure the SGI can handle that? I'd ask
sgi if they could hook up 2 SGI's using 2 HiPPI's each and ask them to
give you a demo of how much data they could sustain over both, using
something like ttcp.
-Libor
Here's some performace numbers using ttcp over hippi between two cm5
partitions, but this reasonable data between other machines:
root@cm5c:/usr/diag/net [346] % ./cm_ttcp -s -l 1m -n 200 -t cm5a-hippi
cm_ttcp-t: buflen=1048576, nbuf=200, port=5001,
sockbuf=524288, ParSockbuf=4194304 tcp -> cm5a-hippi
Max PARALLEL write size : 4194304 (0x400000)
Max SERIAL write size : 131072 (0x20000)
****** New connection accepted by 198.17.196.11 , 5001 ******
TCP_MAXSEG: 64512 (cm_ttcp -t:
200 MBytes processed [201 buffers, average length 0.995025 MB]
5.43 CPU sec = 37716.4 KB/cpu sec, 301731 Kbits/cpu sc
9.64226 real sec = 21239.8 KB/real sec, 169919 Kbits/sec
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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-01 4:00 ` Larry McVoy
1996-05-02 4:00 ` Rick Jones
1996-05-01 4:00 ` Rick Jones
` (2 subsequent siblings)
5 siblings, 1 reply; 31+ messages in thread
From: Larry McVoy @ 1996-05-01 4:00 UTC (permalink / raw)
Warning: I'm going to sound like a salescritter for SGI. People who
know me, know that I am not company centric, I'll nail SGI when we screw
up and praise Sun when they do something cool. That said, this is an
area where SGI rules, dude. We move bits like nobody else in the world.
And I mean nobody else. Read on for details.
Dave Schneider (dschneid@auc.trw.com) wrote:
: I'm looking for data on how fast I can push data over a network using
: TCP/IP. I need to push data from one host to another that is divided
: into 7 logical streams. I would like to make each stream a TCP/IP
: socket so that my software will be portable to any network technology
: and I can develop it independent of the hardware. My data streams
: have the following rates:
: ------------ ------------
: | | | |
: | |------> 7.7 Mbyte/s --------->| |
: | |------> 4.0 Mbyte/s ----------| |
: | |------> 3.3 Mbyte/s --------->| |
: | Host A |------> 650 kbyte/s --------->| Host B |
: | |------> 650 kbyte/s --------->| |
: | |------> 650 kbyte/s --------->| |
: | |------> 650 kbyte/s --------->| |
: | | | |
: ------------ ------------
: Total = 17.6 Mbyte/s
If you are just trying to get to 35MB/sec, you can easily do that SGI to
SGI today using Hippi & TCP. In fact, I'm just on the verge of sending
out an extension to NFS that lets unmodified (usually) applications get
those sorts of speeds (up to 65MB/sec for one file) over NFS. The usually
means that the applications have to be doing large (like a MB or more)
aligned reads & writes.
If you have to maintain 7 streams, your safest bet right now is 7 FDDI
rings (probably not your cheapest bet). You might want to start thinking
about 100Mbit ethernet as well, it's cheaper in general.
: o Amount of overhead added by TCP/IP
In SGI's stack, we play tricks to make sure the overhead is minimal.
The processors never touch the data, checksum is done in hardware.
So the overhead is just the packet processing. Given that you can do
48K plus header sized packets on Hippi, the packet processing is usually
in the noise.
: o Latency added by TCP/IP
There's a different question. We've optimized for bandwidth, not latency.
Round trip latency over SGI's Hippi/TCP implementation is typically around
1.2 milliseconds for a small packet. Which is pretty long, considering
that we have a Hippi "fastpath" that we use for MPI that gets something
like 200-300 microseconds round trip. But the fastpath has to map buffers
into your address space, and you have to busy wait, etc, etc.
: o Impact to processor loading to handle protocol stack
One processor can source or sink a Hippi stream.
: o What network hardware was used
Hippi.
: o If not possible today, when and what is possible today
He he he. Anything is possible, how much money ya got?
: Any information or references to data regarding this problem would be
: greatly appreciated (particularly actual test results). I will summarize
: the information that I receive and provide it to those that are
: interested.
See also http://reality.sgi.com/lm and snarf up the Usenix paper.
It talks about this sort of thing and breaks costs down into parts.
Note that the machines in that paper are all old, I don't think I've
updated it to include R10K numbers (which are faster, obviously).
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-04-30 4:00 High Speed TCP/IP Data Needed Dave Schneider
` (2 preceding siblings ...)
1996-05-01 4:00 ` Larry McVoy
@ 1996-05-01 4:00 ` Rick Jones
1996-05-02 4:00 ` Curt Smith
1996-05-03 4:00 ` Justin Hannah
5 siblings, 0 replies; 31+ messages in thread
From: Rick Jones @ 1996-05-01 4:00 UTC (permalink / raw)
Dave Schneider (dschneid@auc.trw.com) wrote:
: I'm looking for data on how fast I can push data over a network using
: TCP/IP. I need to push data from one host to another that is divided
: into 7 logical streams. I would like to make each stream a TCP/IP
: ...
: Total = 17.6 Mbyte/s
: ...
: Host A is known to be an SGI Challenge while Host B has not been
: selected yet. Each host can have multiple network interface cards,
: ...
: The question is: Can this be done with today's technology (I think
: so). I am looking for information so I can convince some others
: ...
: Any information or references to data regarding this problem would
: be greatly appreciated (particularly actual test results). I will
: summarize the information that I receive and provide it to those
: that are interested.
There are snippets of information in the netperf database at
http://www.cup.hp.com/netperf/NetperfPage.html, but not a complete
package. For example, there is an SGI HiPPI number for a single TCP
stream of something over 700 Mbit/s, but it does not include CPU
utilization figures. There are CPU utilization figures for various HP
configurations, but none yet for interfaces faster than FDDI.
However, you might be able to glean some useful information.
rick jones
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-02 4:00 ` Andreas Wierse
@ 1996-05-02 4:00 ` Libor
0 siblings, 0 replies; 31+ messages in thread
From: Libor @ 1996-05-02 4:00 UTC (permalink / raw)
In article <3188B764.446B@rus.uni-stuttgart.de>, Andreas Wierse <wierse@rus.uni-stuttgart.de> writes:
|> Libor wrote:
|> >
|> > Using TCP/IP over HiPPI I've gotten rates of 20+ Mbyte/s (but not much over)
|> > This was between a cm5 to cm5, cm5 to sgi Challenge, and sgi to sgi. I hear
|> > that this is pretty common between most high performance machines using
|> > HiPPI. I believe that raw HiPPIs theoretical rate is 40 Mbyte/s in one
|> > direction, I'm not sure if this is for the PH or FP layer of HiPPI.
|>
|> If that is true, the practical rate seems to be nearly double that rate :-).
|>
|> I did measurements between a Cray C94 and a Cray Y-MP, connected via HIPPI and
|> achieved up to nearly 70 MB/s. My application had an available rate of approx.
|> 50 MB/s (including all the overhead (even application-administration) of the
|> communication).
|>
|> We would like to measure our application between a Cray and an SGI connected
|> via HIPPI, but we did not have the opportunity due to our lack of a HIPPI-SGI.
Eek, sorry, I was thinking of an internal portion of our HIPPI hardware,
that connects it to the rest of the machine, what I meant was 80 MB/s of
data in one direction, it maybe a touch more, I'm not sure of exactly what
the PH or FP layer overhead is, but 800Mbits/s is the real number, for the
whole thing.
-Libor
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-02 4:00 ` Rick Jones
@ 1996-05-02 4:00 ` Larry McVoy
0 siblings, 0 replies; 31+ messages in thread
From: Larry McVoy @ 1996-05-02 4:00 UTC (permalink / raw)
Rick Jones (raj@cup.hp.com) wrote:
: Larry McVoy (lm@neteng.engr.sgi.com) wrote:
: : If you are just trying to get to 35MB/sec, you can easily do that SGI to
: : SGI today using Hippi & TCP. In fact, I'm just on the verge of sending
: : out an extension to NFS that lets unmodified (usually) applications get
: : those sorts of speeds (up to 65MB/sec for one file) over NFS. The usually
: : means that the applications have to be doing large (like a MB or more)
: : aligned reads & writes.
: Is that read or write, and if write, v3 with async, or v2? From
: filesystem cache on the server, or disc? (I'm assuming into memory on
: the client?)
read or write. It's a bypass, works with v3 or v2. Write semantics are
sync, async isn't even an option in BDS. All data is to/from disk, this
mode has no caching (caching doesn't make much sense at these I/O rates).
Into memory on the client.
: : In SGI's stack, we play tricks to make sure the overhead is minimal.
: : The processors never touch the data, checksum is done in hardware.
: What are the restrictions on the application buffer alignment? Are any
Page aligned, multiple of page size.
: of the third-party cards for SGI providing the checksum
: offload/header-data split functionality? (HP has similar issues)
Dunno.
: : So the overhead is just the packet processing. Given that you can do
: : 48K plus header sized packets on Hippi, the packet processing is usually
: : in the noise.
: There's a good question - is the origial author trying to do those
: rates 32KB at a time, or with little 1024 byte messages?
If the app is stupid enough to do 1K messages, it loses.
"Dr, it hurts when I bang this hammer on my pee pee."
"Have you tried not doing that?"
--
---
Larry McVoy lm@sgi.com http://reality.sgi.com/lm (415) 933-1804
Copyright 1996, all rights reserved. Microsoft Network is prohibited from
redistributing this work in any form, in whole or in part without license.
License to distribute this work is available to Microsoft at $500.
Transmission without permission constitutes an agreement to these terms.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-01 4:00 ` Larry McVoy
@ 1996-05-02 4:00 ` Rick Jones
1996-05-02 4:00 ` Larry McVoy
0 siblings, 1 reply; 31+ messages in thread
From: Rick Jones @ 1996-05-02 4:00 UTC (permalink / raw)
Larry McVoy (lm@neteng.engr.sgi.com) wrote:
: If you are just trying to get to 35MB/sec, you can easily do that SGI to
: SGI today using Hippi & TCP. In fact, I'm just on the verge of sending
: out an extension to NFS that lets unmodified (usually) applications get
: those sorts of speeds (up to 65MB/sec for one file) over NFS. The usually
: means that the applications have to be doing large (like a MB or more)
: aligned reads & writes.
Is that read or write, and if write, v3 with async, or v2? From
filesystem cache on the server, or disc? (I'm assuming into memory on
the client?)
: In SGI's stack, we play tricks to make sure the overhead is minimal.
: The processors never touch the data, checksum is done in hardware.
What are the restrictions on the application buffer alignment? Are any
of the third-party cards for SGI providing the checksum
offload/header-data split functionality? (HP has similar issues)
: So the overhead is just the packet processing. Given that you can do
: 48K plus header sized packets on Hippi, the packet processing is usually
: in the noise.
There's a good question - is the origial author trying to do those
rates 32KB at a time, or with little 1024 byte messages?
: There's a different question. We've optimized for bandwidth, not
: latency. Round trip latency over SGI's Hippi/TCP implementation is
: typically around 1.2 milliseconds for a small packet. Which is
: pretty long, considering that we have a Hippi "fastpath" that we use
: for MPI that gets something like 200-300 microseconds round trip.
: But the fastpath has to map buffers into your address space, and you
: have to busy wait, etc, etc.
So *that's* why I can never get anyone to submit netperf TCP_RR numbers
for SGI boxes !-)
rick jones
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-04-30 4:00 High Speed TCP/IP Data Needed Dave Schneider
` (3 preceding siblings ...)
1996-05-01 4:00 ` Rick Jones
@ 1996-05-02 4:00 ` Curt Smith
1996-05-03 4:00 ` Justin Hannah
5 siblings, 0 replies; 31+ messages in thread
From: Curt Smith @ 1996-05-02 4:00 UTC (permalink / raw)
Dave Schneider (dschneid@auc.trw.com) wrote:
: I'm looking for data on how fast I can push data over a network using
: TCP/IP. I need to push data from one host to another that is divided
: into 7 logical streams. I would like to make each stream a TCP/IP
: socket so that my software will be portable to any network technology
: and I can develop it independent of the hardware. My data streams
: have the following rates:
:
: ------------ ------------
: | | | |
: | |------> 7.7 Mbyte/s --------->| |
: | |------> 4.0 Mbyte/s ----------| |
: | |------> 3.3 Mbyte/s --------->| |
: | Host A |------> 650 kbyte/s --------->| Host B |
: | |------> 650 kbyte/s --------->| |
: | |------> 650 kbyte/s --------->| |
: | |------> 650 kbyte/s --------->| |
: | | | |
: ------------ ------------
: Total = 17.6 Mbyte/s
:
:
: Host A is known to be an SGI Challenge while Host B has not been
You've got some serious transport bandwidth requirements!! Actual
TCP stack bandwith is likely to be 20Mb/sec. You'll be eating
several entire CPUs in an N CPU SMP box, for both A and B.
Another technology that is better suited to this type problem
and bandwidths is:
- Clustered Boxes with shared memory technologies.
DEC has Memory Channel amoung 4 boxes, that delivers honest
35 Mb/sec transport, 5 usec latency. Each box can be a huge and
blazing fast SMP Alpha box. More SpecInts/SpecFlp than any other
vendor.
Also, IBM/RS6000, and even Sun have some Clustered box and
high speed shared memory technologies that span boxes.
There's much advantage of not pushing this amount of data over
a protocol stack! The Clustered Boxes memory technology is similar
to DMA to-from RAM in each box. Low kernel and application over head.
The main potential disadvantage for you, is that Box A and B have
to be within 32' of each other for DEC. Other vendors may have
other technologies that allow farther spacing of A and B if this
is a need.
Keep us informed of what you plan on doing?
Curt Smith
curts@compgen.com
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-01 4:00 ` Libor
@ 1996-05-02 4:00 ` Andreas Wierse
1996-05-02 4:00 ` Libor
0 siblings, 1 reply; 31+ messages in thread
From: Andreas Wierse @ 1996-05-02 4:00 UTC (permalink / raw)
Libor wrote:
>
> Using TCP/IP over HiPPI I've gotten rates of 20+ Mbyte/s (but not much over)
> This was between a cm5 to cm5, cm5 to sgi Challenge, and sgi to sgi. I hear
> that this is pretty common between most high performance machines using
> HiPPI. I believe that raw HiPPIs theoretical rate is 40 Mbyte/s in one
> direction, I'm not sure if this is for the PH or FP layer of HiPPI.
If that is true, the practical rate seems to be nearly double that rate :-).
I did measurements between a Cray C94 and a Cray Y-MP, connected via HIPPI and
achieved up to nearly 70 MB/s. My application had an available rate of approx.
50 MB/s (including all the overhead (even application-administration) of the
communication).
We would like to measure our application between a Cray and an SGI connected
via HIPPI, but we did not have the opportunity due to our lack of a HIPPI-SGI.
> As some
> one mentioned you have to use large TCP window sizes to get performance
> like this, we have found that 512k windows seem to provide the best
> performance, and your machine has to be able to move this much data from
> memory over the bus to the HiPPI controler, which you can't do on an older
> sparc :-)
Yep, we also increased the TCP window size.
Greetings,
Andreas
--
Andreas Wierse | Computer Center University of Stuttgart
wierse@rus.uni-stuttgart.de | Allmandring 30, D-70550 Stuttgart, Germany
+49 711-6855796 (FAX:-682357) | '90 VFR750F (red, of course!) rrr#9 DoD#SUE6
http://www.uni-stuttgart.de/People/wierse.html
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-04-30 4:00 High Speed TCP/IP Data Needed Dave Schneider
` (4 preceding siblings ...)
1996-05-02 4:00 ` Curt Smith
@ 1996-05-03 4:00 ` Justin Hannah
1996-05-03 4:00 ` Pete Flugstad
` (5 more replies)
5 siblings, 6 replies; 31+ messages in thread
From: Justin Hannah @ 1996-05-03 4:00 UTC (permalink / raw)
Dave Schneider <dschneid@auc.trw.com> wrote:
>I'm looking for data on how fast I can push data over a network using
>TCP/IP. I need to push data from one host to another that is divided
>into 7 logical streams. I would like to make each stream a TCP/IP
>socket so that my software will be portable to any network technology
>and I can develop it independent of the hardware. My data streams
>have the following rates:
<SNIP>
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.
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.
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.
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!
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
1996-05-03 4:00 ` Pete Flugstad
@ 1996-05-03 4:00 ` Charley Kline
1996-05-05 4:00 ` Scott M. Hinnrichs
1996-05-06 4:00 ` Tom Sorensen
1996-05-03 4:00 ` Ron Natalie
` (3 subsequent siblings)
5 siblings, 2 replies; 31+ messages in thread
From: Charley Kline @ 1996-05-03 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
@ 1996-05-03 4:00 ` Pete Flugstad
1996-05-03 4:00 ` Rick Jones
` (2 more replies)
1996-05-03 4:00 ` Charley Kline
` (4 subsequent siblings)
5 siblings, 3 replies; 31+ messages in thread
From: Pete Flugstad @ 1996-05-03 4:00 UTC (permalink / raw)
From: sparc@inetnebr.com (Justin Hannah)
> 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.
>
> 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.
Actually, it's 8 bytes, from rfc768:
0 7 8 15 16 23 24 31
+--------+--------+--------+--------+
| Source | Destination |
| Port | Port |
+--------+--------+--------+--------+
| | |
| Length | Checksum |
+--------+--------+--------+--------+
|
| data octets ...
+---------------- ...
The checksum is on the (pseudo IP) /UDP header only, so there is no
protection for the data.
> 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!
The strength/weaknes with UDP is that it is very simple, and is very
"best effort". My experience is that on a lightly loaded network,
it's perfectly fine, and can often be pretty reliable, and as noted
above, very light-weight.
The problems start to occur when you try to run a "UDP stream" through
a router, or onto a moderately loaded machine. I belive that routers
discard UDP traffic preferentially to TCP packets, so that you're much
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.
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.
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.
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
stream of UDP packets to another machine that is not ready for it,
this will easily saturate the network, and pretty much make the
receiving machine unusable (interesting denial of service attack) as
it spends all it's time receiving the UDP packets and discarding them.
I did this accidentially (:-) between a couple of Suns, and it is
likely dependant on how good a particular OS's IP stack is.
Pete
--
Peter J. Flugstad Ascom Nexion
pete@stl.nexen.com 1807 Park 270 Drive, Suite 350
+1 314 579 6520 St. Louis, MO 63146 USA
#include <std/disclaimer> #include <funny/saying>
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
1996-05-03 4:00 ` Pete Flugstad
1996-05-03 4:00 ` Charley Kline
@ 1996-05-03 4:00 ` Ron Natalie
1996-05-06 4:00 ` Steinar Haug
` (2 subsequent siblings)
5 siblings, 0 replies; 31+ messages in thread
From: Ron Natalie @ 1996-05-03 4:00 UTC (permalink / raw)
Justin Hannah (sparc@inetnebr.com) wrote:
: 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.
UDP packets get routed to.
: 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.
Huh? The TTL counter and all the guts for routing are in the IP header
and they apply to UDP packets as well.
-Ron
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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 ` Mike Krause
2 siblings, 0 replies; 31+ messages in thread
From: Rick Jones @ 1996-05-03 4:00 UTC (permalink / raw)
Pete Flugstad (pete@stl.nexen.com) wrote:
: Actually, it's 8 bytes, from rfc768:
: ...
: The checksum is on the (pseudo IP) /UDP header only, so there is no
: protection for the data.
Also from RFC 768, page two, third paragraph:
Checksum is the 16-bit one's complement of the one's complement
sum of a pseudo header of information from the IP header, the UDP
header, and the data, padded with zero octets at the end (if
^^^^^^^^^^^^
necessary) to make a multiple of two octets.
It does indeed cover the data.
rick jones
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Charley Kline
@ 1996-05-05 4:00 ` Scott M. Hinnrichs
1996-05-06 4:00 ` Tom Sorensen
1 sibling, 0 replies; 31+ messages in thread
From: Scott M. Hinnrichs @ 1996-05-05 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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
1 sibling, 1 reply; 31+ messages in thread
From: Tom Sorensen @ 1996-05-06 4:00 UTC (permalink / raw)
In article <4mc7ki$1ob@vixen.cso.uiuc.edu>, kline@sunkiller2.isdn.uiuc.edu (Charley Kline) writes:
>sparc@inetnebr.com (Justin Hannah) writes:
>
>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.
Ah, but UDP doesn't wait for ACKs. That's the entire point behind UDP - it's
best effort, not guaranteed. If the remote host doesn't get the packet
for whatever reason (network burp, queues full, etc) then the data is lost.
If that data was important to you, then you'll have to request it again, in
which case it's a good bet you should be using TCP in the first place.
>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.
I think what he meant is that he needs to go read the RFCs and/or Steven's
book(s) again. The only thing correct there was that UDP is unreliable. I'll
give 1/2 pt for the NFS comment, but a lot of other protocols use it as well.
NFS is a johnny-come-lately.
--
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 | /\ |
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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
2 siblings, 1 reply; 31+ messages in thread
From: Tom Sorensen @ 1996-05-06 4:00 UTC (permalink / raw)
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 | /\ |
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
` (3 preceding siblings ...)
1996-05-06 4:00 ` Steinar Haug
@ 1996-05-06 4:00 ` Pete Flugstad
1996-05-06 4:00 ` Fahad A Hoymany
1996-05-07 4:00 ` Pete Flugstad
5 siblings, 1 reply; 31+ messages in thread
From: Pete Flugstad @ 1996-05-06 4:00 UTC (permalink / raw)
From: raj@cup.hp.com (Rick Jones)
>
> Pete Flugstad (pete@stl.nexen.com) wrote:
> : Actually, it's 8 bytes, from rfc768:
> : ...
> : The checksum is on the (pseudo IP) /UDP header only, so there is no
> : protection for the data.
>
> Also from RFC 768, page two, third paragraph:
>
> Checksum is the 16-bit one's complement of the one's complement
> sum of a pseudo header of information from the IP header, the UDP
> header, and the data, padded with zero octets at the end (if
> ^^^^^^^^^^^^
> necessary) to make a multiple of two octets.
>
> It does indeed cover the data.
Gaak, how did I miss that... (sheepish grin :-). I'll also note
(from rfc768 again, I read it this time):
An all zero transmitted
checksum value means that the transmitter generated no checksum (for
debugging or for higher level protocols that don't care).
and ask the question: Does anyone know if UDP checksums are commonly
done, or are they commonly disabled? We've had problems in the past
with flaky bridge chips corrupting the packet when transferring UDP
packets from an ethernet chip (ethernet CRC passed) to main memory
(for IP stack processing), and the UDP checksum was not catching it
either because the sender was not calculating it, or the receiver was
ignoring it.
Pete
--
Peter J. Flugstad Ascom Nexion
pete@stl.nexen.com 1807 Park 270 Drive, Suite 350
+1 314 579 6520 St. Louis, MO 63146 USA
#include <std/disclaimer> #include <funny/saying>
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Tom Sorensen
@ 1996-05-06 4:00 ` Charley Kline
0 siblings, 0 replies; 31+ messages in thread
From: Charley Kline @ 1996-05-06 4:00 UTC (permalink / raw)
tom@dogbert.de.sc.ti.com (Tom Sorensen) writes:
>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.
No. The segmenting of user data is one of TCP's prime functions. The
application does NOT segment; the network connection appears to the
application to be a stream of bytes with no record boundaries at all.
One of TCP's jobs is to decide how best to chop that up into segments
which are then given to IP for delivery. "Deciding" involves lots of
things, like the interface MTU, the 536-byte minimum MSS of the old
ARPAnet, the result of the path MTU discovery algorithm, the Nagle
algorithm, silly window avoidance, the PSH bit, and so on.
--
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.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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 ` Tom Sorensen
0 siblings, 2 replies; 31+ messages in thread
From: Fahad A Hoymany @ 1996-05-06 4:00 UTC (permalink / raw)
Pete Flugstad (pete@stl.nexen.com) wrote:
: and ask the question: Does anyone know if UDP checksums are commonly
: done, or are they commonly disabled? We've had problems in the past
No, they are hardly used and so generally they are not considered
existent. It is optional.
Fahad ! !
!!! % !!!
Fahad Hoymany !!!!! %%% !!!!!
fahad@cs.pitt.edu !!!!!!! %%%%%__|____________
University of Pittsburgh !!!!!!!!!__|_____________
(412) 488 0404 ______|_______________
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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-06 4:00 ` Tom Sorensen
1 sibling, 1 reply; 31+ messages in thread
From: Dave Olson @ 1996-05-06 4:00 UTC (permalink / raw)
fahad@cs.pitt.edu (Fahad A Hoymany) writes:
| Pete Flugstad (pete@stl.nexen.com) wrote:
|
| : and ask the question: Does anyone know if UDP checksums are commonly
| : done, or are they commonly disabled? We've had problems in the past
|
| No, they are hardly used and so generally they are not considered
| existent. It is optional.
That's a totally bogus statement. Even Sun finally got it together
and does udp checksumming now. Almost everybody else has been doing
it for ages.
--
Dave Olson, Silicon Graphics Guru and busybody at large
http://reality.sgi.com/olson olson@sgi.com
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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
0 siblings, 1 reply; 31+ messages in thread
From: Fahad A Hoymany @ 1996-05-06 4:00 UTC (permalink / raw)
Dave Olson (olson@anchor.engr.sgi.com) wrote:
: That's a totally bogus statement. Even Sun finally got it together
: and does udp checksumming now. Almost everybody else has been doing
: it for ages.
UDP checksumming has always been optional (from the day UDP was
invented), but it is useful to have it on for many (not all)
applications. If Sun has finally started turning it on, that confirms the
checksum is optional. Also, look at Comer 1995 Volume I edition (page 182)
which confirms this fact.
Fahad ! !
!!! % !!!
Fahad Hoymany !!!!! %%% !!!!!
fahad@cs.pitt.edu !!!!!!! %%%%%__|____________
University of Pittsburgh !!!!!!!!!__|_____________
(412) 488 0404 ______|_______________
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Fahad A Hoymany
1996-05-06 4:00 ` Dave Olson
@ 1996-05-06 4:00 ` Tom Sorensen
1996-05-06 4:00 ` W. Richard Stevens
1996-05-06 4:00 ` Andrew Gierth
1 sibling, 2 replies; 31+ messages in thread
From: Tom Sorensen @ 1996-05-06 4:00 UTC (permalink / raw)
In article <4ml74c$331@usenet.srv.cis.pitt.edu>, fahad@cs.pitt.edu (Fahad A Hoymany) writes:
>Pete Flugstad (pete@stl.nexen.com) wrote:
>
>: and ask the question: Does anyone know if UDP checksums are commonly
>: done, or are they commonly disabled? We've had problems in the past
>
> No, they are hardly used and so generally they are not considered
>existent. It is optional.
The UDP header is always checksum'd, but the data is not. If you want
a checksum on the data, your program has to do it itself.
--
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 | /\ |
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
` (2 preceding siblings ...)
1996-05-03 4:00 ` Ron Natalie
@ 1996-05-06 4:00 ` Steinar Haug
1996-05-06 4:00 ` Pete Flugstad
1996-05-07 4:00 ` Pete Flugstad
5 siblings, 0 replies; 31+ messages in thread
From: Steinar Haug @ 1996-05-06 4:00 UTC (permalink / raw)
[Fahad A Hoymany]
| : and ask the question: Does anyone know if UDP checksums are commonly
| : done, or are they commonly disabled? We've had problems in the past
|
| No, they are hardly used and so generally they are not considered
| existent. It is optional.
As far as I know all reasonably modern operating systems have UDP checksums
enabled by default these days. Note that SunOS 4.1.x does *not* count as a
reasonably modern operating system. Unfortunately there are still lots of
4.1.x systems around...
Steinar Haug, Nethelp consulting, sthaug@nethelp.no
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Tom Sorensen
@ 1996-05-06 4:00 ` W. Richard Stevens
1996-05-06 4:00 ` Andrew Gierth
1 sibling, 0 replies; 31+ messages in thread
From: W. Richard Stevens @ 1996-05-06 4:00 UTC (permalink / raw)
> The UDP header is always checksum'd, but the data is not. If you want
> a checksum on the data, your program has to do it itself.
Wrong. The UDP checksum includes the UDP header, fields from the
IP header (the UDP pseudo header) *and* all the UDP data.
Rich Stevens
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Tom Sorensen
1996-05-06 4:00 ` W. Richard Stevens
@ 1996-05-06 4:00 ` Andrew Gierth
1 sibling, 0 replies; 31+ messages in thread
From: Andrew Gierth @ 1996-05-06 4:00 UTC (permalink / raw)
In <4mlf3n$mfi@tilde.csc.ti.com>, tom@dogbert.de.sc.ti.com (Tom Sorensen) writes:
>
>In article <4ml74c$331@usenet.srv.cis.pitt.edu>, fahad@cs.pitt.edu (Fahad A Hoymany) writes:
>>Pete Flugstad (pete@stl.nexen.com) wrote:
>>
>>: and ask the question: Does anyone know if UDP checksums are commonly
>>: done, or are they commonly disabled? We've had problems in the past
>>
>> No, they are hardly used and so generally they are not considered
>>existent. It is optional.
>
>The UDP header is always checksum'd, but the data is not. If you want
>a checksum on the data, your program has to do it itself.
Oh no, not again.
Here's chapter and verse:
RFC0768: User Datagram Protocol (also STD 6)
Checksum is the 16-bit one's complement of the one's complement sum of a
pseudo header of information from the IP header, the UDP header, and the
data, padded with zero octets at the end (if necessary) to make a
multiple of two octets.
[snip]
If the computed checksum is zero, it is transmitted as all ones (the
equivalent in one's complement arithmetic). An all zero transmitted
checksum value means that the transmitter generated no checksum (for
debugging or for higher level protocols that don't care).
RFC1122: Requirements for Internet Hosts (also STD 3)
4.1.3.4 UDP Checksums
A host MUST implement the facility to generate and validate
UDP checksums. An application MAY optionally be able to
control whether a UDP checksum will be generated, but it
MUST default to checksumming on.
If a UDP datagram is received with a checksum that is non-
zero and invalid, UDP MUST silently discard the datagram.
An application MAY optionally be able to control whether UDP
datagrams without checksums should be discarded or passed to
the application.
-- Andrew (andrewg@microlise.co.uk)
"How is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
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 ` Mike Krause
2 siblings, 0 replies; 31+ messages in thread
From: Mike Krause @ 1996-05-06 4:00 UTC (permalink / raw)
Pete Flugstad (pete@stl.nexen.com) wrote:
: 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.
I believe it is that everything must support a MSS of at least 512 not
a maximum of 512 so one can have much larger segments.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Tom Sorensen
@ 1996-05-07 4:00 ` Scott M. Hinnrichs
0 siblings, 0 replies; 31+ messages in thread
From: Scott M. Hinnrichs @ 1996-05-07 4:00 UTC (permalink / raw)
In article <4mkvtj$mvk@tilde.csc.ti.com>, tom@dogbert.de.sc.ti.com wrote:
>
>I think what he meant is that he needs to go read the RFCs and/or Steven's
>book(s) again. The only thing correct there was that UDP is unreliable. I'll
>give 1/2 pt for the NFS comment, but a lot of other protocols use it as well.
>NFS is a johnny-come-lately.
Johnny-come-lately? The first commercial NFS implementation(s) were done
in 1984, and shown publicly in 1/85. That was 11 years ago...just 4 years
after the Arpanet TCP transition from NCP. What do you offer as a more
significant UDP usage that predates NFS?
Scott
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-03 4:00 ` Justin Hannah
` (4 preceding siblings ...)
1996-05-06 4:00 ` Pete Flugstad
@ 1996-05-07 4:00 ` Pete Flugstad
5 siblings, 0 replies; 31+ messages in thread
From: Pete Flugstad @ 1996-05-07 4:00 UTC (permalink / raw)
krause@cup.hp.com (Mike Krause) writes:
>
> Pete Flugstad (pete@stl.nexen.com) wrote:
> : 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.
>
> I believe it is that everything must support a MSS of at least 512 not
> a maximum of 512 so one can have much larger segments.
Yup, I got my logic reversed...
Pete
--
Peter J. Flugstad Ascom Nexion
pete@stl.nexen.com 1807 Park 270 Drive, Suite 350
+1 314 579 6520 St. Louis, MO 63146 USA
#include <std/disclaimer> #include <funny/saying>
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: High Speed TCP/IP Data Needed
1996-05-06 4:00 ` Fahad A Hoymany
@ 1996-05-08 4:00 ` Casper H.S. Dik - Network Security Engineer
0 siblings, 0 replies; 31+ messages in thread
From: Casper H.S. Dik - Network Security Engineer @ 1996-05-08 4:00 UTC (permalink / raw)
fahad@cs.pitt.edu (Fahad A Hoymany) writes:
>Dave Olson (olson@anchor.engr.sgi.com) wrote:
>: That's a totally bogus statement. Even Sun finally got it together
>: and does udp checksumming now. Almost everybody else has been doing
>: it for ages.
> UDP checksumming has always been optional (from the day UDP was
>invented), but it is useful to have it on for many (not all)
>applications. If Sun has finally started turning it on, that confirms the
>checksum is optional. Also, look at Comer 1995 Volume I edition (page 182)
>which confirms this fact.
Dave was replying to your: <4ml74c$331@usenet.srv.cis.pitt.edu>
>No, they are hardly used and so generally they are not considered
>existent. It is optional.
And he's right that that's a bogus statement. Modern implementations
use UDP checksums by default, and all implementations support them,
because the standard say they *must* implement them.
Sure, their use is optional; but the proper practive is using checksums.
(SunOS 4.x doesn't do checksums by default, it is recommended by many
that you turn them on, especially on DNS servers; When checksums are
turned off, SuNOS 4 also doesn't check incoming packets which checksums,
which isn't legal. Checksums that are present *must* be checked)
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~1996-05-08 4:00 UTC | newest]
Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` 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-02 4:00 ` Curt Smith
1996-05-03 4:00 ` Justin Hannah
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
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 ` 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 ` 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox