<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><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 size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Sergej Jurecko <sergej.jurecko@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Dror Mein <drormein@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Gleb Peregud <gleber.p@gmail.com>; Erlang-Questions Questions <erlang-questions@erlang.org> <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 class="y_msg_container"><br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv988122054"><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 class="yiv988122054Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div><span>From shell:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><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="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>2> F = SendFunc(Pid, <<00>>, 300000000, SendFunc).</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>3> spawn(F).</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>where Pid is the pid of a simple receive function on the other node, that counts messages. </span></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 size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Gleb Peregud <<a rel="nofollow" ymailto="mailto:gleber.p@gmail.com" target="_blank" href="mailto:gleber.p@gmail.com">gleber.p@gmail.com</a>><br> <b><span style="font-weight:bold;">To:</span></b> Dror Mein <<a rel="nofollow" ymailto="mailto:drormein@yahoo.com" target="_blank" href="mailto:drormein@yahoo.com">drormein@yahoo.com</a>> <br><b><span style="font-weight:bold;">Cc:</span></b> Erlang-Questions Questions <<a rel="nofollow" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">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 class="yiv988122054y_msg_container"><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" ymailto="mailto:drormein@yahoo.com" target="_blank" href="mailto:drormein@yahoo.com">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" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>> http://erlang.org/mailman/listinfo/erlang-questions<br>><br><br><br></div> </div> </div>  </div></div>_______________________________________________<br>erlang-questions mailing list<br><a rel="nofollow" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br></div></div></div><meta http-equiv="x-dns-prefetch-control"
 content="on"><br><br></div> </div> </div>  </div></body></html>