Micromachines (Nov 2023)

QGWFQS: A Queue-Group-Based Weight Fair Queueing Scheduler on FPGA

  • Yunfei Guo,
  • Zhichuan Guo,
  • Xiaoyong Song,
  • Mangu Song

DOI
https://doi.org/10.3390/mi14112100
Journal volume & issue
Vol. 14, no. 11
p. 2100

Abstract

Read online

Weight Fair Queuing is an ideal scheduling algorithm to guarantee the bandwidth of different queues according to their configured Weights when the switching nodes of the network are congested. Many of the switching nodes based on FPGA in the current network support four physical ports or hundreds of virtual ports. Massive logic and storage resources would be consumed if each port implemented a WFQ scheduler. This paper proposes a Queue-Group-Based WFQ Scheduler (QGWFQS), which can support WFQ scheduling across multiple ports through the reuse of tag calculation and encoding circuits. We also propose a novel finish tag calculation algorithm to accommodate the variation in the link rate of each port. The remainder of integer division is also taken into account, which makes the bandwidth allocation fairer. Experimental results show that the proposed scheduler supports up to 512 ports, with 32 queues allocated on each individual port. The scheduler has the capability to operate at 200 MHz and the total scheduling capacity reaches 200 Mpps.

Keywords