[jboss-jira] [JBoss JIRA] (JGRP-1824) 0 bytes payload breaks MPerf
Bela Ban (JIRA)
issues at jboss.org
Tue Apr 8 11:16:14 EDT 2014
[ https://issues.jboss.org/browse/JGRP-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12960213#comment-12960213 ]
Bela Ban commented on JGRP-1824:
--------------------------------
Perhaps only count the number of messages, but not the payload, if the payload is 0 bytes. I'll certainly not invoke {{Message.size()}} to include the size of the headers as this method is too slow.
> 0 bytes payload breaks MPerf
> ----------------------------
>
> Key: JGRP-1824
> URL: https://issues.jboss.org/browse/JGRP-1824
> Project: JGroups
> Issue Type: Bug
> Environment: MPerf
> Reporter: Andrei Palade
> Assignee: Bela Ban
> Priority: Minor
>
> In MPerf, if the user sets the payload of the message to be 0 bytes, MPerf breaks and returns some strange results. The message size that is being set from MPerf is the payload size. If the payload is 0 bytes, then further headers added to the message will increase the size of the message (i.e will not be zero). All the calculations in MPerf are based on the payload size and the headers size are ignored. For example, on a single physical node with one MPerf instance open sending 10000 messages, the following results are returned:
> Average/node: 0 msgs, 0b received, time=1396968184880ms, msgs/sec=0, throughput=0.0b
> Average/cluster: 0 msgs, 0b received, time=1396968184880ms, msgs/sec=0, throughput=0.0b
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list