sFlow and Sampling Rate
The sampling rate is the average ratio of the number of packets incoming on an sFlow-enabled port to the number of flow samples taken from those packets. sFlow sampling can affect performance in some configurations.
Note that on the RUCKUS ICX devices, the configured sampling rate and the actual rate are the same. The software does not adjust the configured sampling rate as on other RUCKUS ICX devices.
For more information on sampling rate configuration considerations, refer to step 5 in Configuring sFlow.
Sampling Rate Configuration Notes
- Configured rate and actual rate: When you enter a sampling rate value, this value is the configured rate as well as the actual sampling rate.
- Change to global rate: If you change the global sampling rate, the change is applied to all sFlow-enabled ports except those ports on which you have already explicitly set the sampling rate.
- Module rate: While different ports on a module may be configured to have different sampling rates, the hardware for the module is programmed to take samples at a single rate (the module sampling rate). The module sampling rate is the highest sampling rate (that is, the lowest number) configured for any of the ports on the module.
- Sampling rate for new ports: When you enable sFlow on a port, the port's sampling rate is set to the global default sampling rate. This also applies to ports on which you disable and then re-enable sFlow. The port does not retain the sampling rate it had when you disabled sFlow on the port, even if you explicitly set the sampling rate on the port.