于是他设计了Codel。 CoDel Codel的思想就是,维持数据包在队列中等待的指定延迟,如果中在消费数据包的时候,发现一段时间内数据包超过这个延迟,就认为缓冲膨胀情况出现了,开始逐渐激进的丢包,丢包丢到生产者老实为止(也就是数据包在队列中又开始保持一定等待延迟了)。 丢包公式如下,dropNext为下一次丢包时间: dropNext...
fq_codel [ limit PACKETS ] [ flows NUMBER ] [ target TIME ] [ interval TIME ] [ quantum BYTES ] [ ecn | noecn ] [ ce_threshold TIME ] [ memory_limit BYTES ] DESCRIPTION FQ_Codel (Fair Queuing Controlled Delay) is queuing discipline that combines Fair Queuing with the CoDel AQM ...
qdisc fq 0: parent 8042:b limit 10000p flow_limit 100p buckets 1024 quantum 3028 initial_quantum 15140 是否发生过限流可以在 tc qdisc 统计中看到: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 $ tc -s -d qdisc show dev bond0 qdisc fq 800b: root refcnt 2 limit 10000p flow_limit...
During the dequeue stage, the scheduler first looks at the list of new queues; for the queue at the head of that list, if that queue has a negative number of credits (i.e., it has already dequeued at least a quantum of bytes), it is given an additional quantum of credits, the que...