[rabbitmq-discuss] RMQ performance between high MHz/low core vs lower MHz/high core servers
matthias at rabbitmq.com
Thu Dec 20 17:07:29 GMT 2012
On 20/12/12 16:18, Chris Schmidt wrote:
> There are 22 queues
> A vendor let us borrow the 40-core machine to see if it would work
> better. [...] Each core is only 11-15% utilized.
You may not be able to saturate 40 cores with 22 queues. Depends on how
many producers and consumers there are.
The other constraint could be scheduling and general Erlang multi-core
performance. This has improved *considerably* over the last few years.
So please make sure you are running the latest Erlang/OTP release - R15B03.
You may also want to tweak the various smp/scheduling related settings
in Erlang. In particular I have seen massive performance differences
when adjusting the +swt setting.
> I've tried HiPE in the past, but the system % jumped considerably
> and we actually got poorer performance and instability.
That's odd. Again, please make sure you are runninng the latest Erlang;
HiPE is another area that has improved considerably recently.
> I know the cores are slower in overall speed, but I would have bet
> money that in aggregate this machine would outperform our other one.
Depends on the workload. e.g. if queues are the bottleneck then having
many more (slow) cores than queues won't help.
More information about the rabbitmq-discuss