Candela Technologies Logo
Network Testing and Emulation Solutions

WanLink Queue Discipline

Goal: Setup a WanLink with an alternate queue discipline.

In this test scenario, the default WanLink queue discipline of FIFO (First In First Out) is replaced with WRR (Weighted Round Robin) to demonstrate how to setup queuing that will prioritize traffic flows based on IP ToS.

Note: WRR can only be used with User Mode WanLinks.

 
  1. Setup a WanLink connection.
    1. Go to the WanLinks tab and select Create. screenshot
    2. Enter the WanLink name, physical ports, base transfer rate, delay, jitter etc...
      These impairments will be applied to all traffic on the WanLink. screenshot
    3. Select Apply to create the base WanLink.

    For more information see LANforge-GUI User Guide: Creating & Modifying WanLinks

  2. Setup WanLink for User Mode.
    1. Select All to un-hide the other WanLink config panels. screenshot
    2. In panel 2, un-check the Kernel-Mode box. screenshot
    3. Select Apply to change the WanLink.

    For more information see LANforge-GUI User Guide: Creating & Modifying WanLinks

  3. Demonstrate the FIFO Queue Discipline.
    1. Start the WanLink, then run traffic through LANforge-ICE ports eth2 and eth3.
      Here we are using LANforge-FIRE on a secondary resource to over-subscribe the 100Mbps WanLink with five 30Mbps traffic flows each with a different IP ToS value set to show that the FIFO WanLink ignores the ToS bits by treating all packets equally and processing them in the order they enter the queue. screenshot
    2. The dropped packet percentages show that even with a high value ToS, no priority is observed. screenshot

    For more information see LANforge-GUI User Guide: Layer-3 Cross-Connects

  4. Change the WanLink queue discipline to WRR.
    1. Select the Stop All button to stop all connections, then Modify the WanLink. screenshot
    2. In panel 4, change the QDisc field to the following string:
      WRR,2000-0-255,4000-64-255,8000-96-255,16000-128-255,32000-192-255 for both Endpoint-A and Endpoint-B.
      The WRR string format is weight-ToS-mask where higher weights are given higher priority to packets matching the ToS and bit mask.
      Note: Minimum weighting should be equal to or greater than your MTU. screenshot
    3. Select OK to apply changes to the WanLink and close the modify window.

    For more information see LANforge-GUI User Guide: Creating & Modifying WanLinks

  5. Demonstrate the WRR Queue Discipline.
    1. Run the WanLink and the same five UDP traffic flows through LANforge-ICE ports eth2 and eth3. screenshot
    2. This time, the higher valued ToS UDP flows are experiencing less drops due to the WRR priorities setup in the WanLink. screenshot

    For more information see LANforge-GUI User Guide: Layer-3 Cross-Connects


Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog