RED(8) RED(8) red - tc qdisc ... red limit [ min ] [ max ] avpkt [ burst ] [ ecn ] [ harddrop ] [ nodrop ] [ bandwidth ] [ probability ] [ adaptive ] [ qevent early_drop block ] [ qevent mark block ] . . RED . ( ). max . . . TCP/IP . ECN . . . min . min probability max . probability 100% max limit . min . max /3 max . min min . limit /4 probability 0.0 1.0. 0.01 0.02 (1% 2% ). : 0.02 limit ( ) . . max+burst. max. burst . . : (min+min+max)/(3*avpkt). avpkt . burst . 1000 . . . RED ! . : 10Mbit ecn RED '' ''. RED . ECN . ECN limit . . harddrop max ecn. nodrop ECN. . adaptive ( linux-3.3) RED http://icir.org/floyd/papers/adaptiveRed.pdf RED '' 1% 50% : (max - min) / 2 QEVENTS tc (8) qevents. RED qevents : early_drop . ECT ECN. mark ECN. # tc qdisc add dev eth0 parent 1:1 handle 10: red limit 400000 min 30000 max 90000 avpkt 1000 burst 55 ecn adaptive bandwidth 10Mbit tc(8), tc-choke(8) o Floyd, S., and Jacobson, V., Random Early Detection gateways for Congestion Avoidance. http://www.aciri.org/floyd/papers/red/red.html o Alexey N. Kuznetsov. o Adaptive RED : http://icir.org/floyd/papers/adaptiveRed.pdf Alexey N. Kuznetsov, , Alexey Makarenko , J Hadi Salim , Eric Dumazet . bert hubert 3 . . : . iproute2 13 2001 RED(8)