[jboss-jira] [JBoss JIRA] Commented: (JGRP-806) Message: investigate making the overhead for headers smaller

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Jul 28 12:09:45 EDT 2008


    [ https://jira.jboss.org/jira/browse/JGRP-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12422785#action_12422785 ] 

Bela Ban commented on JGRP-806:
-------------------------------

Ok, I've added MessageStressTest to JGroups. It measures the time to create messages, add and get headers. I implemented your suggested changes and saw a marginal improvement from 605'000 msgs/sec to 620'000 msgs/sec. 

While this is not really great, it is actually EXCELLENT because I'll create much less garbage. The only thing is that for putHeader(), I need to iterate through the array to see whether the key is already present, and not just find the first free space.

Can you attach your impl to this case, so I can compare mine to yours ? I haven't checked in my impl yet...

> Message: investigate making the overhead for headers smaller
> ------------------------------------------------------------
>
>                 Key: JGRP-806
>                 URL: https://jira.jboss.org/jira/browse/JGRP-806
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.6.4, 2.7
>
>
> Related to https://jira.jboss.org/jira/browse/JGRP-805.
> See whether we can make the overhead for ConcurrentHashmap in Message smaller. Potentially reduce the number of buckets for each CCHM (default: 16, IIRC). Or replace CCHMs altogether ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list