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

Dror Mein <>
Tue Jul 2 10:08:56 CEST 2013


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 <>
To: Dror Mein <> 
Cc: Gleb Peregud <>; Erlang-Questions Questions <> 
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 <>
>To: Dror Mein <> 
>Cc: Erlang-Questions Questions <> 
>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 <> 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
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>_______________________________________________
>erlang-questions mailing list
>
>http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130702/2b3fb831/attachment.html>


More information about the erlang-questions mailing list