Using the Performance Measurement tool
The Performance Measurement can help you analyze your cache settings and improve performance.
Before you begin
- 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.
About this task
The Performance Measurement tool generates reports that you can 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, you use a command-line utility run the batch file that calls the tool. This file contains the details for the report that you want 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 HCL 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
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 HCL 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
- From the WCDE_installdir\bin directory, run the
following command.
- Analyze the generated reports to identify the processes where the cache settings can be improved.