On 25 Aug 2005, at 05:16, Trevor Warren wrote:
I have never really compared the throughput between
these two transport
protocols but I remember getting more throughput out
of UDP by
increasing the size of the buffers used for
receiving messages.
[snip]
Thats a good tip sir. But increase of buffer size at
the OS level you mean???. And these were for messages
of what sizes and for how many simultaneous users. Its
very important for me to figure out the Raw TCP V/s
UDP throughput on my LAN-WAN before i make any other
decisions.
Any pointers???.
I mean, specify the buffer size when you create your UDP socket. We
implemented a RADIUS (uses UDP) server and when we increased the buffer
size to about 64K, we were able to receive and process 900 RADIUS
packets a second. Ofcourse if you are just testing to see how fast you
can send/receive, you will be able to get much more. And my
implementation wasn't in C either as speed wasn't the most important
factor - reliability was. I sed erlang - http://www.erlang.org
cheers
Chandru
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers