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

Artur Biesiadowski (JIRA) jira-events at lists.jboss.org
Thu Jul 31 16:22:26 EDT 2008


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

Artur Biesiadowski commented on JGRP-806:
-----------------------------------------

I have done some performance test with slightly modified version of MessageStressTest (to allow server Hotspot to really kick in, running test multiple times in same jvm and looking at results after they stabilize).

Using version of Message from few days ago (Read/Write lock, HashMap used for headers) - around 200k msg/s

Using version of Message without locking but with HashMap - around 2300k msg/s (11 times faster)

Using latest version of Message, without locking and with Headers class - around 4100k msg/s (20 times faster than original, 2 times faster than HashMap).

Speedup seems quite noticeable ;)

> 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