Customers are increasingly leveraging virtualization on Power Systems to efficiently use resources through workload consolidation and cloud deployments. As a result of the adoption of PowerVM for virtualization, performance management for virtualization has become much more important, specifically understanding performance on the Virtual I/O Server.
There are existing tools available to monitor VIOS but they tend to provide lots of data that is hard and complex to analyze. What our customers are looking for is a simple tool that provides guidance and advice without having to crawl through all the details. This tool for VIOS is the PowerVM VIOS Performance Advisor, which is included with all PowerVM Editions starting with version 2.2.2.0.
Following is the summary of information and guidance provided by VIOS Performance Advisor:
- Summarizes the overall health of VIOS
- Identifies potential performance bottlenecks and performance inhibitors
- Proposes actions that can be taken to address these bottlenecks.
The initial VIOS Performance Advisor was made available at the VIOS 2.2.2.0 level and has been enhanced over time with information for Shared Storage pools and Shared Ethernet adapters which was added at the VIOS 2.2.3.0 level.
The VIOS Performance Advisor is run using the “part” command from the VIOS restricted shell or can be automated using PowerVP which is part of the PowerVM Enterprise Edition. This tool provides the above mentioned details in a xml file enabling report rendering in a web browser. The included functionality provides reports based on the nmon recording done on VIOS. The advisor can be started in one of two modes:
- On Demand monitoring mode OR
- Post processing mode.
On Demand Monitoring Mode
The user can specify the duration for which the system needs to be monitored. The specific value can range between 10 and 60 minutes.
The “part” (p-Art : Performance Analysis and reporting tool ) command based on nmon, monitors the data and collects samples every 15 seconds and provides the report in a <short-hostname_yymmdd_hhmmss>.tar. This tar file contains the xml file, which can be viewed in a browser to see the advisories report and proposed actions.
Post Processing Mode
The nmon file is provided as input to the “part” command. Depending on the data collected in the nmon performance file, there might not be enough data available to give a full advisory report as the “On Demand” mode of processing. The size of the input nmon file will affect the time taken to post process the data.
How to use the VIOS Performance Advisor
On Demand Mode
Run the following command on a VIOS using the restricted shell
part –i 30
This will cause the VIOS Performance Advisor to run for 30 minutes and generate the advisory reports.
Post Processing Mode
Run the following command on a VIOS using the restricted shell
part –f <nmon input file>
This will process the nmon input file and generate the advisory reports.
Advisory reports (<short-hostname_yymmdd_hhmmss>.tar) are generated in the current working directory.
Contents of the tar file are extracted and vios_advisor_report.xml file in opened in a web browser to get the different advisory reports view. XML schema definition for this is present in /usr/perf/analysis/vios_advisor.xsd.
Sample Advisories
1) Overall Health Summary in a Single View