[jboss-user] [JBoss Messaging] - JBM 2.0.0b3 CPU and memory usage compared to ActiveMQ

AdrianWoodhead do-not-reply at jboss.com
Wed Jul 22 10:57:11 EDT 2009

On Monday morning I started migrating a set of applications over to using a JBM topic for sending and receiving messages, this was previously done by ActiveMQ. I thought I would share the results of monitoring the JBM server over this time period. I realise you guys haven't done much work on the memory and cpu usage aspects of JBM yet, but this at least proves that there is definitely a case for some work to be put into this area. We have a graph of memory usage on the server for the last week here:


and CPU on the same server for the same time period:


On Monday we switched about 6 clients over to use JBM instead of AMQ. You notice a slight increase in memory and CPU compared with ActiveMQ up until that point. On Tuesday we then switched another 10 clients over, increasing the load from tens of messages a minute to hundreds (which is still not extreme). You can then see the memory go through the roof and the swap even gets called in (the purple, something we dread in terms of performance). The CPU also goes through the roof at around the same time. The sharp drop-offs on the right of the graphs are where I restarted the server today. The CPU shoots back up very quickly, the memory seems to be taking a bit longer. 

I will keep an eye on this, just thought I'd report it here so you can keep this in mind for the future. If there is any more information I can provide you with I'm more than happy to.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245335#4245335

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245335

More information about the jboss-user mailing list