Complete the steps for setting the initial system state . Failure to install the correct patches or initialize kernel values appropriately will cause needless thrashing during performance tuning. Take the time to start with a good base. Run the application and create a baseline level of performance. If the application doesn't run to completion, you need to stop the tuning phase and debug the problem.
Performance tuning takes place when the application completely runs.
Work through the compulsory tuning steps , which cover tunes that all Java applications generally need to consider. Record each tune and make only one tune at a time. Determine where you application is still bottlenecked by working through symptoms and solutions . Continue tuning until you are done, that is, you reach the acceptable result you outlined in Step 1. If you find something new that worked for your application, we'd also appreciate it if you'd send in your tuning hints.