Brocade Communications Systems ServerIron ADX 12.4.00 User Manual

Page 150

Advertising
background image

138

ServerIron ADX Global Server Load Balancing Guide

53-1002437-01

Smoothing mechanism for RTT measurements

1

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 state gets cleared. You can
clear the simulation state by entering the gslb simulate-rtt-smoothing command in the simulation
mode.

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

Advertising