[
https://jira.jboss.org/jira/browse/JGRP-813?page=com.atlassian.jira.plugi...
]
Bela Ban commented on JGRP-813:
-------------------------------
Further optimizations:
- Use byte arrays rather than Strings: a string consists of chars, with size=2 for each
char. This could be used for header names. Even better: use byte to identify a header, so
we can have 255 different header types
- Headers: optimize for 1 header, 2 headers, 3 headers, then swap out
impl with a Headers hashmap
- Use CMS garbage collector
- Remove -XX:AggressiveHeap as it increases other values (such as -Xmx and -Xms)
Performance enhancements
------------------------
Key: JGRP-813
URL:
https://jira.jboss.org/jira/browse/JGRP-813
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.7
Take a look at the following items (visualvm, -Xprof, -Xrunprof):
- FD: message counts as heartbeat: enable / disable this as it is overhead
- IpAddress: hashCode() can be more efficient. Take a look at equals(), too. Possibly get
rid of canonicalization
Potential hotspots:
- NakReceiverWindow.stable()
- IpAddress.compare()
- Retransmitter.remove()
- Message: canonicalization cost (1 hashmap lookup/insertion) ?
--
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