1 Smoothing mechanism for RTT measurements

Syntax: enable-sim-new-rtt-smooth

This command enables enhanced RTT smoothing only for simulation purposes.

To disable the enhanced smoothing mechanism during simulation, configure the following:

GSLB-ServerIronADX(config-gslb-rtt-sim-test)# disable-sim-new-rtt-smooth

Syntax: disable-sim-new-rtt-smooth

This command disables enhanced RTT smoothing only for simulation purposes.

You can now input the RTT values and the simulator will display the result of RTT smoothing of the RTT value. To input an RTT value, enter the following command.

GSLB-ServerIronADX(config-gslb-rtt-sim-test)# rtt-val 6

Syntax: rtt-val <value>

Enter the new RTT sample value for <value>

To end the simulator, enter the exit command.

GSLB-ServerIronADX(config-gslb-rtt-sim-test)# exit

Note that each time you exit the simulation submode, the simulation clear the simulation state by entering the gslb simulate-rtt-smoothingmode.

state gets cleared. You can command in the simulation

Example

In the following example the simulator simulates the old (existing) RTT smoothing mechanism for a set of RTT samples.

GSLB-ServerIronADX(config)# gslb simulate-rtt-smoothing test 30 GSLB-ServerIronADX(config-gslb-rtt-sim-test)# rtt-val 1 SIMULATOR: Enhanced RTT smoothing is OFF

RTT state before application of RTT smoothing mechanism:

------------------------------------------------------------------

RTT val = 30, RTT decimal val = 0.0

Applied RTT smoothing algorithm for new RTT sample 1 RTT state after application of RTT smoothing mechanism:

----------------------------------------------------------------

RTT value after smoothing = 27, RTT decimal val = 0.0 GSLB-ServerIronADX(config-gslb-rtt-sim-test)#rtt-val 1000 SIMULATOR: Enhanced RTT smoothing is OFF

RTT state before application of RTT smoothing mechanism:

------------------------------------------------------------------

RTT val = 27, RTT decimal val = 0.0

Applied RTT smoothing algorithm for new RTT sample 1000 RTT state after application of RTT smoothing mechanism:

----------------------------------------------------------------

RTT value after smoothing = 124, RTT decimal val = 0.0 GSLB-ServerIronADX(config-gslb-rtt-sim-test)# rtt-val 30 SIMULATOR: Enhanced RTT smoothing is OFF

RTT state before application of RTT smoothing mechanism:

------------------------------------------------------------------

RTT val = 124, RTT decimal val = 0.0

Applied RTT smoothing algorithm for new RTT sample 30 RTT state after application of RTT smoothing mechanism:

----------------------------------------------------------------

RTT value after smoothing = 114, RTT decimal val = 0.0 GSLB-ServerIronADX(config-gslb-rtt-sim-test)# rtt-val 30 SIMULATOR: Enhanced RTT smoothing is OFF

138

ServerIron ADX Global Server Load Balancing Guide

 

53-1002437-01

Page 150
Image 150
Brocade Communications Systems 12.4.00 manual Syntax enable-sim-new-rtt-smooth, Syntax disable-sim-new-rtt-smooth