Use the Performance Advisor in Tivoli Performance Viewer
The Performance Advisor in Tivoli Performance Viewer analyzes collected PMI data and provides advice to help tune systems for optimal performance. The Performance Advisor in TPV provides more extensive advice than the Runtime Performance Advisor provides. For example, the Performance Advisor in TPV provides advice on setting the dynamic cache size and setting the JVM heap size.
To enable and run the Performance Advisor, follow these steps
Enable performance monitoring services for an application server
- Restart the application server.
- (Optional) If you are running WAS ND, enable performance monitoring services for a node agent and restart the node agent.
Enable data collection...
- Enable data collection with the administrative console.
- Enable performance monitoring services with wsadmin.
The performance monitoring settings are automatically detected. You do not need to restart the application server.
Simulate a production level load.
If you are using the Performance Advisor in a test environment, or doing any other performance tuning, simulate a realistic production load for your application. The application should run this load without errors. This simulation includes numbers of concurrent users typical of peak periods, and drives system resources such as CPU and memory to the levels expected in production. Some advice may not be accurate if sufficient load is not generated.
Select the the Advisor icon to display tuning advice. Double-click a message for details. Because PMI data is taken over an interval of time and averaged to provide advice, details within the advice message appear as averages.
(Optional) Refresh data. You can refresh data in two ways...
- Select your application server...
Viewer | node_name | RefreshTPV queries the server for new PMI and product configuration information.
- Select your application server...
Performance Advisor | node_name | RefreshTPV refreshes advice that is provided at a single instant in time, but does not query the server for new PMI and product configuration information.
Update the product configuration based on the advice.
Because TPV refreshes advice at a single instant in time, take the advice from the peak load time. Although the performance advisor attempts to distinguish between loaded and idle conditions, it might provide misleading advice if it is enabled when the system is ramping up or down. This result is especially likely during short tests. Although the advice helps in most configurations, there might be situations where the advice hinders performance. Due to these conditions, advice is not guaranteed. Therefore, test the environment with the updated configuration to verify that it functions and performs well.
For information about the report, see Performance Advisor Report in TPV.