Credit-based fair queuing

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Example IEEE 802.1Qav traffic shaping

Credit-based fair queuing is a computationally efficient alternative to fair queueing. Credit is accumulated to queues as they wait for service. Credit is spent by queues while they are being serviced. Queues with positive credit are eligible for service. The rate of credit accumulation and release can be adjusted on a queue-by-queue basis to produce a weighted queuing behavior.

Credit-based queuing is used in Resilient Packet Ring networks and in the IEEE 802.1Qav component of Audio Video Bridging and its successor, Time Sensitive Networking. In IEEE 802.1Qav, it is called Credit Based Shaper (CBS).

See also[edit]


  • Bensaou, Brahim; Chan, K. T.; Tsang, Danny H. K. (25–28 May 1997), "Credit-based fair queueing (CBFQ) : a simple and feasible scheduling algorithm for packet networks", IEEE ATM '97 Workshop Proceedings, Lisboa, Portugal: 589–94, CiteSeerX, doi:10.1109/ATM.1997.624744, hdl:1783.1/346, ISBN 978-0-7803-4196-8
  • Bensaou, Brahim; Tsang, Danny H. K.; Chan, K.T. "Credit-based fair queueing (CBFQ): a simple service-scheduling algorithm for packet-switched networks", IEEE/ACM Transactions on Networking 9(5): 591-604 (2001), doi:10.1109/90.958328