Friday Afternoon Brain Storming - TCP/IP vs UDP

Friday Afternoon Brain Storming - TCP/IP vs UDP

Author
Discussion

mystomachehurts

Original Poster:

11,669 posts

252 months

Monday 23rd July 2007
quotequote all
malman said:
mystomachehurts said:
What is surprising is that TCP is outperforming UDP by some margin. We looked at UDP expecting it to be far better than TCP, but that's not the result we found.
Not sure if this is any help

http://www.intel.com/technology/ioacceleration/306...
Interesting read. Not sure if it explains what we've seen. I'm going to rerun the tests on an older set of Dell boxes to see if we get the same results.

mystomachehurts

Original Poster:

11,669 posts

252 months

Monday 23rd July 2007
quotequote all
V8 EOL - Rich said:
Have to admit, if it is performance you are after, pick your TCP & UDP libraries carefully.

Have you tried running a test either end using different libraries and/or languages.
Libaries are a considertaion I'd not thought of. If time permits we'll look into this.

mystomachehurts

Original Poster:

11,669 posts

252 months

Monday 23rd July 2007
quotequote all
polus said:
... for the aforementioned application. I agree smile
carefull, as said, you don't knoe the requirements, as mentions I would rather drop one event in 100,000 that have a situation where by we are losing 300 events per second due to performance issues.

polus said:
For embedded apps, UDP with checksums enabled and a confirmation mechanism can be benifical but I cant imagine that is the same on a Windows platform.
No windows here, all running on CentOS 4.

polus said:
OP: Have you profiled the communications, server and client apps to find out if any part of the chain is letting you down?
Short answer is 'No'.

Though gut felling is that is must be an application level issue. As said, really suprised that on a LAN or same Host deployment TCP is out performing UDP.

Food for thought and all that.