[erlang-questions] Is there a lomit on erlang vm nodes connection speed

Dror Mein drormein@REDACTED
Tue Jul 2 10:35:57 CEST 2013


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.


________________________________
 From: Erik Søe Sørensen <eriksoe@REDACTED>
To: Dror Mein <drormein@REDACTED> 
Cc: Sergej Jurecko <sergej.jurecko@REDACTED>; Erlang Questions <erlang-questions@REDACTED> 
Sent: Tuesday, July 2, 2013 11:16 AM
Subject: Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed
 


How about the "between two processes" part, is that accurate? Or are there more senders and receivers involved? 
Den 02/07/2013 10.09 skrev "Dror Mein" <drormein@REDACTED>:

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.
>
>
>
>________________________________
> From: Sergej Jurecko <sergej.jurecko@REDACTED>
>To: Dror Mein <drormein@REDACTED> 
>Cc: Gleb Peregud <gleber.p@REDACTED>; Erlang-Questions Questions <erlang-questions@REDACTED> 
>Sent: Tuesday, July 2, 2013 10:41 AM
>Subject: Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed
> 
>
>
>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. 
>
>
>
>Is this your actual use case? 
>
>
>
>
>Sergej
>
>
>On Jul 2, 2013, at 9:20 AM, Dror Mein wrote:
>
>From shell:
>>1> SendFunc = fun(Pid, Msg, Times, Func) when Times>0 -> Pid ! Msg, Func(Pid, Msg, Times-1. Func); (_,_,0,_)-> ok end.
>>2> F = SendFunc(Pid, <<00>>, 300000000, SendFunc).
>>3> spawn(F).
>>
>>
>>where Pid is the pid of a simple receive function on the other node, that counts messages. 
>>
>>
>>
>>________________________________
>> From: Gleb Peregud <gleber.p@REDACTED>
>>To: Dror Mein <drormein@REDACTED> 
>>Cc: Erlang-Questions Questions <erlang-questions@REDACTED> 
>>Sent: Tuesday, July 2, 2013 10:11 AM
>>Subject: Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed
>> 
>>
>>I was able to get 5+gbps over multiple connections out of a single
>>Erlang VM. Max probably did even more. There is no explicit limit in
>>connection speed. Show us your code and we'll probably be able to tell
>>you why it can not get good throughput.
>>
>>On Tue, Jul 2, 2013 at 8:47 AM, Dror Mein <drormein@REDACTED> wrote:
>>> I'm trying to send data between two nodes on two different servers, that
>>> talk through a 10 Gbps switch. Running iperf on the connection shows
>>> consistent 5-7 gbps throughput. But with Erlang I can't exceed
 300Mbps, when
>>> looking through iptraf,
 and all I do is send data from one node to a dummy
>>> process on the other.
>>> Is there a limitation on connection speed on erlang? Is there a flag that
>>> need to be configured?
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>>
>>_______________________________________________
>>erlang-questions mailing list
>>erlang-questions@REDACTED
>>http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130702/10aedd98/attachment.htm>


More information about the erlang-questions mailing list