The VolanoMark 10/100 loopback test was ran to compare the message throughput using different JVM heap sizes for both the client and server JVM on the 2.4.4 kernel .
Increasing the initial JVM heap size from 8 MB to 64 MB for both the client and server JVMs improved :
8P throughput by 10 %
4P throughput by 13 %.
The throughput improvement most likely resulted from decreasing the number of times the JVM has to do garbage collection of the heap and reducing the number of allocation failures from the heap.
Increasing the initial JVM heap size from 8 MB to 64 MB also reduced
the idle time on the system.
Heap size | UP | 4P | 8P |
8MB System | 42.02 | 33.20 | 15.32 |
8MB User | 57.50 | 55.96 | 72.75 |
8MB Idle | 0.48 | 10.84 | 11.93 |
Heap size | UP | 4P | 8P |
64 MB System | 41.69 | 34.85 | 17.77 |
64 MB User | 57.74 | 59.48 | 76.50 |
64 MB Idle | 0.57 | 5.68 | 5.73 |