Hi,<div><br></div><div>It depends on what do you want to benchmark the system for. If you are benchmarking at the TCP level, you are comparing some parameters, like performance, of Erlang TCP implementation to that of another, say, C/C++, OR asserting the functional capacity of the Erlang TCP implementation, often you many want to benchmark by changing the environment, like OS, number of CPU cores, number of worker processes, just to mention a few.</div>
<div><br></div><div>What you want to benchmark really depends on the objectives and QoS parameters of your final system. You will have decide on that first, before even thinking of benchmarking.</div><div><br></div><div>There are load-generators available on the internet to stress-test your server, at various protocol layers.</div>
<div><br></div><div>TCP is a stream oriented protocol, and your concept of 'messages' is irrelevant.</div><div><br></div><div>Kind Regards,</div><div>Kannan.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
On Wed, Apr 18, 2012 at 1:49 PM, eigenfunction <span dir="ltr"><<a href="mailto:emeka_1978@yahoo.com">emeka_1978@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There has been a lot of mails recently about benchmarking stuff. Now i<br>
am faced with the task of benchmarking a tcp server so i am curious.<br>
Is there any simple way out there to benchmark an erlang tcp server<br>
without having to hack some linux script? I was expecting it to be a<br>
simple task but after i started writing the client, i had to stop a<br>
think first about what exactly i want to measure. single client<br>
sending 1000 messages vs 1000 clients sending 1 messages vs multicore<br>
vs single core and it is getting more and more complicated as i think<br>
about it. How do you guys go about it?<br>
Thanks.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>