Morning Fellas,
Was working on some socket progs based on some performance test objectives we had in mind. The objective is to stress the TCPIP stack in the GnuLinux kernel and see the best numbers achiveable over the network.
Am in a bit of a quandry here. We always were taught that the overheads of a tcp session were higher than that of UDP considering the ACK's and FIN's sent across for every packet over the n/w, while TCP guaranteed delivery....blah..blah and UDP didn't.
Should i expect better throughput(Bytes/s) for TCP or UDP over a *Reliable* LAN and *Unreliable* WAN?. I will let you know what results i have achieved but i would like to know your perspective since thats more important. The tests are on my RHEL 3.0 box with the RH hacked 2.4.x kernel.
I will post the connect/send/recv code to those interested. The throughput calculation code is same for both the TCP and UDP programs hence the calculations i am sure about.
What do you think about it gurus???. Has anybody tried out SCTP???.
Trevor
|------|____________________________________|------| ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | ) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ ____________________________________/ _|_|
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com