[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Message Chunking Performance problems
ataylor
do-not-reply at jboss.com
Tue Aug 26 07:01:49 EDT 2008
I've put together some figures comparing the performance of the current trunk and the message chunking work that I've been doing. It was compiled using the perf example, both sender and listener, and uses the default settings ( apart from message count ) and were all run on the same machine, my laptop. These figures can be found here, http://wiki.jboss.org/wiki/_Files/JBM2HandlingLgeMessages/messageChunkingComp.ods.
Basically there are 3 sets of data, the trunk, the message branch with an initial buffer size of 1k and a max buffer size of 64k, and the message branch with an initial buffer size of 1k and max buffer size of 1k, NB. Using different initial and max buffer sizes means we need auto growing buffers.
Basically the results show that if we send lots of small buffers, say 1k, it has a massive impact om performance but if we increase the max buffer size to 64k there is little or no difference.
These results are limited so if anyone has some decent hardware it would be good to see some more figures.
I was thinking we could make the initial and max buffer size configurable and set it to a default of 1k and 64k respectively.
I also tested the speed of basic writing and reading from the buffer, for 100,000,000 bytes it took 7857/1048 Milliseconds for the branch and 8918/319 for the trunk for writing and reading.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172534#4172534
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172534
More information about the jboss-dev-forums
mailing list