[erlang-questions] Inter-node communication bottleneck
Thu Aug 21 12:15:32 CEST 2014
I am not sure why you are saying that spin-lock do not impact the result.
I saw 25% gain on peak (on both loopback and en0 interfaces).
On 21 Aug 2014, at 07:05, Jihyun Yu <> wrote:
> The problem is reproducable *with loopback interface*. I tested with two
> Erlang instances on same machine, communicating via loopback interface,
> and results are same.
> I changed contented lock - qlock in DistEntry - to spinlock, but it does
> not affact on throughput(messages per second). 'perf' profiling tool 
> shows that CPU cycle is moved from kernel to userspace.
> I attach patch and 10-seconds sampling result on mutex and spinlock.
>  https://perf.wiki.kernel.org/
> erlang-questions mailing list
More information about the erlang-questions