[jboss-jira] [JBoss JIRA] (JGRP-1716) The UDP receiver thread parsing messages causes performance regression
Bela Ban (JIRA)
jira-events at lists.jboss.org
Wed Oct 16 07:49:02 EDT 2013
[ https://issues.jboss.org/browse/JGRP-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12814581#comment-12814581 ]
Bela Ban commented on JGRP-1716:
--------------------------------
* Between which versions did the performance go down by 10% ?
** 3.2 and 3.4 ?
** 3.3 and 3.4 ?
** I assume the latter, as you would probably have noticed a regression between 3.2 and 3.3, right ?
* Looking at the attached chart, I *don't* actually see a perf degradation !
** 3.4-udp-bundle-getall: this is the same as in 3.3 for reads and writes
** 3.4-udp-bundle-getfirst: same as in 3.3 for reads and writes
** 3.4-udp-dontbundle-getall: same as in 3.3, a bit lower than in 3.2 for writes. Ditto for reads. So the regression is only *small* (do you have absolute numbers) and between 3.2 and 3.3, not between 3.3 and 3.4
** 3.4-udp-dontbundle-getfirst: same in 3.4 and 3.3, a bit lower than 3.2 for writes, same for reads
> The UDP receiver thread parsing messages causes performance regression
> ----------------------------------------------------------------------
>
> Key: JGRP-1716
> URL: https://issues.jboss.org/browse/JGRP-1716
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.4
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Fix For: 3.5
>
> Attachments: benchmark-jgroups.xml, jgroups-udp.pdf, jgroups-udp.xml
>
>
> Comparing JGroups 3.2/3.3/3.4 performance with Radargun, the throughput went down by ~10%. (See the attached chart. "getall" means the get requests are sent to 2 nodes, "getfirst" means they are sent to only 1 node.)
> Erik Salter profiled his application and noticed that the message parsing in the UDP receiver thread seemed to slow things down. He wrote a patch that brought his throughput back to 3.2 levels: https://github.com/an1310/JGroups/compare/t_perfhack
> The UDP receiver thread may not tell the whole story, however: in the Radargun tests, performance with his patch was even lower.
--
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