Performance monitoring

The following information shows you how to troubleshoot performance monitoring problems.

Tuning performance monitors for switches

When performance monitors for switches encounter timeout problems, you can change the attributes that affect the performance monitor. The performance monitor uses algorithms to collect performance information. The association algorithm is optimized for environments with larger numbers of switches that are managed by an SMI Agent or SNMP agent. The enumeration algorithm is optimized for environments with fewer switches that are managed by an SMI Agent or SNMP agent. IBM Spectrum Control attempts to determine which algorithm to use based on the fabric configuration.

You can change the following attributes in the pm.conf file:
MinSwitchPortRatio
This attribute defines the minimum port ratio, for example, the ratio of monitored ports to total ports for a switch data source. This value is used to determine which algorithm to use for querying the performance statistics data for the ports through the SMI Agent or SNMP agent. The default cutoff value for the enumeration algorithm is 20%. If the cutoff value is less than 20% of the ports for an agent that are targeted for performance data collection, the association algorithm is used instead, if the MaxSwitchPortLimit is not exceeded. This parameter does not apply to Cisco SNMP agents.
MaxSwitchPortLimit
This attribute defines the maximum port limit, for example, the maximum number of ports to be monitored that use the association algorithm for switch SMI Agents. This value is used to determine which algorithm to use for querying the performance statistics data for the ports through the SMI agent. If not set, the default cutoff value for the association algorithm is 256 ports, so that performance data is not collected for more than 256 ports simultaneously that use the association algorithm. Instead, the enumeration algorithm will be used for any SMI agents after the limit is reached.
To change these attributes in the pm.conf file, go to the following directory: SC_installion_directory/device/conf/pm.conf and remove the number sign (#) from these attributes and modify your setting:
#com.ibm.tpc.perf.MinSwitchPortRatio = 0.4 
#com.ibm.tpc.perf.MaxSwitchPortLimit = 256
Save the file. You must restart the Device server for these changes to take effect.