[erlang-questions] Is there a lomit on erlang vm nodes connection speed
Tue Jul 2 09:41:41 CEST 2013
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?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions