Fortinet black logo

Administration Guide

Queuing

Copy Link
Copy Doc ID 0f66c6af-cee6-11eb-97f7-00505692583a:609014
Download PDF

Queuing

Queuing determines how queued packets on an egress port are served. Each egress port supports eight queues, and three scheduling modes are available:

  • Strict Scheduling: The queues are served in descending order (of queue number), so higher number queues receive higher priority. Queue7 has the highest priority, and queue0 has the lowest priority. The purpose of the strict scheduling mode is to provide lower latency service to higher classes of traffic. However, if the interface experiences congestion, the lower priority traffic could be starved.
  • Simple Round Robin (RR): In round robin mode, the scheduler visits each backlogged queue, servicing a single packet from each queue before moving on to the next one. The purpose of round robin scheduling is to provide fair access to the egress port bandwidth.
  • Weighted Round Robin (WRR): Each of the eight egress queues is assigned a weight value ranging from 0 to 63. The purpose of weighted round robin scheduling is to provide prioritized access to the egress port bandwidth, such that queues with higher weight get more of the bandwidth, but lower priority traffic is not starved.

A drop policy determines what happens when a queue is full or exceeds a minimum threshold. Depending on your switch model, you can select from one of two drop policies:

  • The tail-drop drop policy is the default. When a queue is full, additional incoming packets are dropped until there is space available in the queue. To see which models support this feature, refer to the FortiSwitch feature matrix.
  • The random early detection (RED). When the queue size exceeds the minimum threshold, packets are dropped at a constant rate until the queue is full. Using the RED drop policy helps improve the throughput during network congestion. To see which models support this feature, refer to the FortiSwitch feature matrix.
  • The weighted random early detection (WRED) drop policy is an advanced version of RED. When the queue size exceeds the threshold, the WRED slope controls the rate at which packets are dropped until the queue is full. The drop rate increases when the queue buffer usage increases. If you select weighted-random-early-detection in the CLI, you can enable explicit congestion notification (ECN) marking to indicate that congestion is occurring without just dropping packets. To see which models support this feature, refer to the FortiSwitch feature matrix.

Queuing

Queuing determines how queued packets on an egress port are served. Each egress port supports eight queues, and three scheduling modes are available:

  • Strict Scheduling: The queues are served in descending order (of queue number), so higher number queues receive higher priority. Queue7 has the highest priority, and queue0 has the lowest priority. The purpose of the strict scheduling mode is to provide lower latency service to higher classes of traffic. However, if the interface experiences congestion, the lower priority traffic could be starved.
  • Simple Round Robin (RR): In round robin mode, the scheduler visits each backlogged queue, servicing a single packet from each queue before moving on to the next one. The purpose of round robin scheduling is to provide fair access to the egress port bandwidth.
  • Weighted Round Robin (WRR): Each of the eight egress queues is assigned a weight value ranging from 0 to 63. The purpose of weighted round robin scheduling is to provide prioritized access to the egress port bandwidth, such that queues with higher weight get more of the bandwidth, but lower priority traffic is not starved.

A drop policy determines what happens when a queue is full or exceeds a minimum threshold. Depending on your switch model, you can select from one of two drop policies:

  • The tail-drop drop policy is the default. When a queue is full, additional incoming packets are dropped until there is space available in the queue. To see which models support this feature, refer to the FortiSwitch feature matrix.
  • The random early detection (RED). When the queue size exceeds the minimum threshold, packets are dropped at a constant rate until the queue is full. Using the RED drop policy helps improve the throughput during network congestion. To see which models support this feature, refer to the FortiSwitch feature matrix.
  • The weighted random early detection (WRED) drop policy is an advanced version of RED. When the queue size exceeds the threshold, the WRED slope controls the rate at which packets are dropped until the queue is full. The drop rate increases when the queue buffer usage increases. If you select weighted-random-early-detection in the CLI, you can enable explicit congestion notification (ECN) marking to indicate that congestion is occurring without just dropping packets. To see which models support this feature, refer to the FortiSwitch feature matrix.