<p dir="ltr">How about the "between two processes" part, is that accurate? Or are there more senders and receivers involved? </p>
<div class="gmail_quote">Den 02/07/2013 10.09 skrev "Dror Mein" <<a href="mailto:drormein@yahoo.com">drormein@yahoo.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>the message size will be around 100 bytes, but basically - that's what I want, yeah. when I use more servers, this bandwidth spreads between them.</div>
<div><br></div> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <div dir="ltr">
<hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Sergej Jurecko <<a href="mailto:sergej.jurecko@gmail.com" target="_blank">sergej.jurecko@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> Dror Mein <<a href="mailto:drormein@yahoo.com" target="_blank">drormein@yahoo.com</a>> <br>
<b><span style="font-weight:bold">Cc:</span></b> Gleb Peregud <<a href="mailto:gleber.p@gmail.com" target="_blank">gleber.p@gmail.com</a>>; Erlang-Questions Questions <<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>> <br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, July 2,
2013 10:41 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed<br> </font> </div> <div><br>
<div><div>It only goes up to 300Mbps because you are sending a huge number of very small messages, between two processes over a single TCP connection. <br><div><br></div><div>Is this your actual use case? </div><div><br>
</div><div><br></div><div>Sergej</div><div><br><div><div>On Jul 2, 2013, at 9:20 AM, Dror Mein wrote:</div><br><blockquote type="cite"><div><div style="font-size:12pt;font-family:'times new roman','new york',times,serif">
<div><span>From shell:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>1> SendFunc = fun(Pid, Msg, Times, Func) when Times>0 -> Pid ! Msg, Func(Pid, Msg, Times-1. Func); (_,_,0,_)-> ok
end.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>2> F = SendFunc(Pid, <<00>>, 300000000, SendFunc).</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>3> spawn(F).</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>where Pid is the pid of a simple receive function on the other node, that counts messages. </span></div>
<div><br></div> <div> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Gleb Peregud <<a rel="nofollow" href="mailto:gleber.p@gmail.com" target="_blank">gleber.p@gmail.com</a>><br>
<b><span style="font-weight:bold">To:</span></b> Dror Mein <<a rel="nofollow" href="mailto:drormein@yahoo.com" target="_blank">drormein@yahoo.com</a>> <br><b><span style="font-weight:bold">Cc:</span></b> Erlang-Questions Questions <<a rel="nofollow" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>>
<br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, July 2, 2013 10:11 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed<br>
</font> </div> <div><br>I was able to get 5+gbps over multiple connections out of a single<br>Erlang VM. Max probably did even more. There is no explicit limit in<br>connection speed. Show us your code and we'll probably be able to tell<br>
you why it can not get good throughput.<br><br>On Tue, Jul 2, 2013 at 8:47 AM, Dror Mein <<a rel="nofollow" href="mailto:drormein@yahoo.com" target="_blank">drormein@yahoo.com</a>> wrote:<br>> I'm trying to send data between two nodes on two different servers, that<br>
> talk through a 10 Gbps switch. Running iperf on the connection shows<br>> consistent 5-7 gbps throughput. But with Erlang I can't exceed
300Mbps, when<br>> looking through iptraf,
and all I do is send data from one node to a dummy<br>> process on the other.<br>> Is there a limitation on connection speed on erlang? Is there a flag that<br>> need to be configured?<br>><br>> _______________________________________________<br>
> erlang-questions mailing list<br>> <a rel="nofollow" href="mailto:erlang-questions@erlang.org" target="_blank">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>
><br><br><br></div> </div> </div> </div></div>_______________________________________________<br>erlang-questions mailing list<br><a rel="nofollow" href="mailto:erlang-questions@erlang.org" target="_blank">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></div></div><br><br></div> </div> </div> </div></div><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>
<br></blockquote></div>