...
In preparation for the Fall 2006 semester UW Madison was looking at ways to improve portal performance. The inital initial effort was focused at tuning the JVM heap for the way uPortal uses memory.
Preparation
Reading
Before starting to make changes to the heap config following white papers were read to understand the options available for the heap and garbage collectors.
- Java Tuning White Paper
- A general overview of tuning strategies for the JVM.
- Tuning Garbage Collection with Java 5
- Details about the GC options for Java 5.
- Understanding Concurrent Mark Sweep Garbage Collector Logs
- Provides good explanations of all that info the GC logs.
Testing
We used a jMeter load test script to test each change made to the JVM configuration. The test consisted of the script logging into the portal, visiting one other tab (chosen at random) and logging out. Each test latest 2 hours and was capped at a throughput of 2 requests per second. The throughput cap only applied to the initial view of the home tab after login and the random tab visit.