[erlang-questions] Re: Unicast 20k messages, $500-$1000 bounty
Thu Jul 16 22:23:24 CEST 2009
2009/7/16 Joel Reymont <>:
> bumping priority to high before the broadcasting list comprehension and
> lowering it after results in ~10ms broadcasting time and shaves ~300ms off
> max latency. Loving it!
> Mac is at ~2s (one box for everything) and ec2 is ~2.7s when bots are spread
> over 3 instances. It looks like process priority is a very useful tool in
> one's toolbox.
I suspect that the bots are the bottleneck now. Here is the average
max time reported out of 3 runs with 1-5 independent VMs running a
total of 20,000 bots. The benchmark machine is a 3.0GHz dual,
quad-core, Intel Xeon running 64-bit CentOS 5.2 and R13B01.
1 VM: 1723.75ms
2 VMs: 1429.36ms
3 VMs: 1030.18ms
4 VMs: 845.32ms
5 VMs: 784.75ms
5 VMs on one box is probably pushing it, even with 8 cores...
More information about the erlang-questions