Network Deployment (Distributed operating systems), v8.0 > Reference > Sets


View Data with the Tivoli Performance Viewer


Overview

To...

...from the console...


Refresh

Click Refresh to rebuild the navigation tree. Refreshing is helpful when the available Performance Monitoring (PMI) Infrastructure data has changed, and the tree does not reflect those changes.


View Module(s)

Click View Module after one or more performance modules are selected in the tree to display the information for these modules in the data viewing panel.

The Data Monitoring panel enables the selection of multiple counters and displays the resulting performance data for the associated resources. It consists of two panels:

You can change the scaling factors by editing the default values in the scale field.


Deselect all items

Select Deselect all items to quickly deselect all modules that are selected in the navigation tree.


Navigation tree

Use the navigation tree to view advisor output, configure TPV, and select PMI modules for viewing.



Advisor

Click Advisor to examine various data while your application is running. The Performance Advisor provides advice to help tune systems for optimal performance using the PMI data collected.

The first table represents the number of requests per second and the response time in milliseconds for the web container.

The pie graph displays the CPU activity as a percentage of busy and idle.

The third table displays average thread activity for the different resources, for example, Default, ORB, and web container. Activity is expressed as the number of threads or connections busy and idle.

To view detailed information about the advice, select the message to view. This view provides additional information about the advice message, severity, description, user action, and detail.


User settings

Change the values as needed for the following user settings:

Information Value
Refresh Rate Specifies how frequently Tivoli Performance Viewer collects performance data for a server from the Performance Monitoring Infrastructure (PMI) service provided by that server. The default is 30 seconds.

To collect performance data for the server more frequently, set the refresh rate to a smaller number.

To collect performance data less frequently, set the refresh rate to a larger number. The allowed range is 5 to 500 seconds.

Buffer Size Amount of data to be stored for a server. Data displayed in Tivoli Performance Viewer is stored in a short in-memory buffer. After the buffer is full, each time a new entry is retrieved the oldest entry is discarded. The default buffer size is 40. Allowed values are 10, 20, 30, 40, 50, 60, 70, 80, 90 and 100. The larger the buffer size, the more memory is consumed. Thus, specify a buffer size that allows you capture enough monitoring data for analysis without wasting memory storing unneeded data.
View Data As Specifies how counter values are displayed. Viewing options include the following:

Raw Value Absolute value. If the counter represents load data, for example, the average number of connections in a database pool, then TPV displays the current value.
Change in Value Change in the current value from the previous value.
Rate of Change Ratio change/(T1 - T2), where change is the change in the current value from the previous value, T1 is the time when the current value was retrieved, and T2 is the time when the previous value was retrieved.


Log settings

The log settings control what happens when Start Logging is clicked in, for example, a summary report on the performance of a servlet, enterprise bean (EJB), EJB method, connection pool or thread pool.

Change the value as needed for the following log settings:

Information Value
Duration Length of time, in minutes, that logging continues, unless Stop Logging is clicked first. TPV is not intended as a full-time logging solution.
Maximum File Size Maximum size, in megabytes, of a single file. Note that Tivoli Performance Viewer automatically zips log files to save space and this parameter controls the pre-zipped file size and not the post-zipped, which is smaller.
Maximum Number of Historical Files Number of files TPV writes before stopping.

If TPV reaches the maximum file size before the logging duration ends, it continues logging in another file, up to the maximum. If TPV reaches the maximum number of historical files before the logging duration ends, TPV deletes the oldest historical file and continues logging in a new file. The total amount of data stored is constrained by the Maximum File Size and Maximum Number of Historical Files parameters.

File Name Name of the log file. The server name and the time at which the log is started is appended to the log name to help users identify a log file.
Log Output Format Whether Tivoli Performance Viewer writes log files as XML or in a binary format. Binary format is recommended as it provides a smaller log file when not compressed.


View summary reports

Summary reports are available for each application server.

Before viewing reports, make sure data counters are enabled and monitoring levels are set properly.

The standard monitoring level enables all reports except the report on EJB methods.

To enable an EJB methods report, adjust the PMI level to include EJB method data.

TPV provides the following summary reports for each application server: Servlets Connection pools Thread pools

Servlets Lists all servlets running in the current application server. Used to find the servlet that consumes the most time and the applications that use them, and to determine which servlets are invoked most often. We can sort the summary table by any of the columns.

  • Sort by Avg Response Time to find the slowest servlet or JSP. Specified in milliseconds.
  • Sort by Total Requests to find the servlet or JSP used the most.
  • Sort by Total Time to find the servlet or JSP with the highest response times.
EJB Lists all enterprise beans running in the server, the amount of time spent in their methods, the number of EJB invocations, and the total time spent in each enterprise bean.

    total_time = number_of_invocations * time_in_methods

Sort the various columns to find the most expensive enterprise bean. Also, if the PMI counters are enabled for individual EJB methods, select the check box next to the EJB name see statistics for each of the methods.

  • Sort by Avg Response Time to find the slowest enterprise beam.
  • Sort by Method Calls to find the enterprise bean used the most.
  • Sort by Total Time to find the enterprise bean with the slowest response time.
EJB Methods Statistics for each EJB method. Used to find the most costly methods of your enterprise beans.

  • Sort by Avg Response Time to find the slowest EJB method.
  • Sort by Method Calls to find the EJB method used the most.
  • Sort by Total Time to find the EJB method with the slowest response time.
Connection pools Lists all data source connections defined in the application server and shows their usage over time.

When the application is experiencing normal to heavy usage, the pools used by that application should be nearly fully utilized. Low utilization means that resources are being wasted by maintaining connections or threads that are never used. Consider the order in which work progresses through the various pools. If the resources near the end of the pipeline are under utilized, it might mean that resources near the front are constrained or that more resources than necessary are allocated near the end of the pipeline.

Thread pools Usage of all thread pools in the application server over time.

When the application is experiencing normal to heavy usage, the pools used by that application should be nearly fully utilized. Low utilization means that resources are being wasted by maintaining connections or threads that are never used. Consider the order in which work progresses through the various pools. If the resources near the end of the pipeline are under utilized, it might mean that resources near the front are constrained or that more resources than necessary are allocated near the end of the pipeline.


Performance module

View performance modules that provide graphics and charts of various performance data on system resources such as CPU utilization, on WAS pools and queues such as database connection pools, and on customer application data such as servlet response time. In addition to providing a viewer for performance data, TPV enables you to view data for other products or customer applications that have implemented custom PMI.

Each performance module has several counters associated with it. These counters are displayed in a table underneath the data chart or table. Selected counters are displayed in the chart or table. You can add or remove counters from the chart or table by selecting or deselecting the check box next to them. By default, the first three counters for each module are shown.


Log performance data

In the performance module, you view current activity. This is a real time operation where the state of various system resources and their usage is displayed. Unless logging is turned on, data generated in this scenario will not be saved and is unavailable for subsequent viewing and analysis.

To collect performance data click Start Logging. The user can replay and analyze the file at a later time.