Improving the message throughput of ejabberd-2.1.10

2.4k views Asked by At

I have installed ejbberd-2.1.10 from the binary installer on my machine(Win7 32bit 2.93GHz Core2Duo 3GB RAM). Since our set-up needs a very high message throughput I have looked through the performance tuning reference and made changes in my ejabberd.cfg and ejabberdctl.cfg files with

{shaper, normal, {maxrate, 10000000}}
ERL_MAX_PORTS=65536
ERL_PROCESSES=250000
ERL_MAX_ETS_TABLES=20000

Now when when clientA sends messages to clientB,with 10 messages each of 1500bytes

The time taken is as follows
1)With the default values -14.3 seconds
2)With my overriden values given above - 1.70283 seconds

This still doesn't meet out performance requirements. Could anyone please help me on how to push this limit further??? Am I missing something or setting wrong values. Any help on this would be really great.

Thanks

2

There are 2 answers

6
Mickaël Rémond On

We have been able to achieve a much higher throughput with ejabberd. Without full detail of your use case and config, it is hard to reply, but I would think your configuration is wrong. I would look into your shaper configuration.

0
pete On

i am looking for an answer to another problem but on my travels i came across this which may or may not be relevant to the problem you are having http://metajack.im/2008/09/23/file-descriptors-are-yummy-or-common-pitfalls-of-ejabberd/ hope it helps - probably not unless you're connecting with federated servers but there it is anyway.