Hitachi

uCosminexus Application Server System Design Guide


7.16.4 Tuning to shorten worst-case response times

Figure 7‒38: Flow of tuning to shorten worst-case response times

[Figure]

This approach to tuning shortens the worst-case response time by reducing the length of time an application pauses for GC to take place. This approach is effective when application pause time due to GC accounts for a large percentage of response time. You can identify application pause time from the gc_time item in VG1 log entries. For details about VG1 log entries, see -XX:[+|-]HitachiVerboseGC (Option for extended verbosegc information output) in the uCosminexus Application Server Definition Reference Guide.

To shorten worst-case response times, you must reduce the application pause time that is caused by GC. Because G1 GC allows you to specify the pause time, you can reduce the worst-case response time by specifying a smaller value.

If reducing the target pause time does not shorten the worst-case response time, this means that the minimum pause time has been reached. A target time that is too close to the minimum pause time means that when the target pause time is exceeded, it is exceeded by a wider margin. This can extend the worst-case response time. If the system still does not meet the system requirements after reducing the target pause time, then tuning on its own is not enough. You will need to modify the application in order to meet the system requirements.