Use the Performance Measurement tool
The Performance Measurement can help you analyze your cache settings and improve performance.
Before starting
Ensure that can we are able to perform the following tasks in the environment:
- Configure the size of log files
- Configure the log level of which layer to measure and at which depth.
- Analyze the logs that are produced by the server administrator and identify potential improvements.
Task info
The Performance Measurement tool generates reports we use to improve performance. The tool is a command-line utility, which you will run from inside the utility container. To run the Performance Measurement tool to generate reports, we use a command-line utility run the batch file that calls the tool. This file contains the details for the report to generate. For example, the file can include the following information:
- The list of log files to analyze
- The location in which to store the reports
- The type of reports to produce
Procedure
- Configure logging and tracing to capture performance data. See Tracing and logging in WebSphere Commerce Search.
- Reproduce the scenario that needs to be measured by running an operation or performance test. When you reproduce the scenario, the metric data is recording in the log files.
- Run the Performance Measurement tool.
Option Description Development environment
- From the WCDE_installdir\bin directory, run the following command.
generatePerformanceReport.bat
The generated reports are in the following directory: WCDE_installdir\performance\reports
Runtime environment
- Open the Utility container.
- Copy the performance trace files from the Runtime container to the Utility container so that the tool can find them. The Performance Measurement tool runs in the Utility container, but analyzes log files generated in the WebSphere Commerce Runtime container.
- Update com.ibm.service.report.logFileToLoadList property in utilities_root/performance/config/runtime-analysis.properties to indicate where the copied trace files are located.
- From the /opt/WebSphere/CommerceServer90/bin directory run the command:
generatePerformanceReport.sh
The generated reports are in the following directory: utilities_root/performance/reports
- Analyze the generated reports to identify the processes where the cache settings can be improved.
What to do next
Configure your caching, or make design or architectural changes that are based on your analysis to improve performance.
See
- Performance measurement loggers
- Adding cache measurement metric points
- Adding threads and thread pools
- Adding tracing requests across servers
Related reference
Performance reports
Stack reports
Execution reports
Caller reports