<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>currently only two processes, perhaps more in the future. To add load I tried to multiply the senders, and it didn't help. checking the message queue length in the receiver, It's almost always 0 durimg the load test, so I assume there is no problem in the receiver.</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> Erik Søe Sørensen <eriksoe@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> Sergej Jurecko <sergej.jurecko@gmail.com>; Erlang Questions
 <erlang-questions@erlang.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 2, 2013 11:16 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><div id="yiv1768864026"><div dir="ltr">How about the "between two processes" part, is that accurate? Or are there more senders and receivers involved? </div>
<div class="yiv1768864026gmail_quote">Den 02/07/2013 10.09 skrev "Dror Mein" <<a rel="nofollow" ymailto="mailto:drormein@yahoo.com" target="_blank" href="mailto:drormein@yahoo.com">drormein@yahoo.com</a>>:<br><blockquote class="yiv1768864026gmail_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-size:12pt;"> <div style="font-size:12pt;"> <div dir="ltr">
 <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Sergej Jurecko <<a rel="nofollow" ymailto="mailto:sergej.jurecko@gmail.com" target="_blank" href="mailto:sergej.jurecko@gmail.com">sergej.jurecko@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> Gleb Peregud <<a rel="nofollow" ymailto="mailto:gleber.p@gmail.com" target="_blank" href="mailto:gleber.p@gmail.com">gleber.p@gmail.com</a>>; 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: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;">
<div><span>From shell:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;"><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;"><span>2> F = SendFunc(Pid, <<00>>, 300000000, SendFunc).</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;"><span>3> spawn(F).</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;"><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-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" 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><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>> <a rel="nofollow" target="_blank" href="http://erlang.org/mailman/listinfo/erlang-questions">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" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a rel="nofollow" target="_blank" href="http://erlang.org/mailman/listinfo/erlang-questions">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 rel="nofollow" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a rel="nofollow" target="_blank" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div></div><br><br></div> </div> </div>  </div></body></html>