qos (htb)
16-05-2007 16:16
к комментариям - к полной версии
- понравилось!
Появилась такая штука в логах:
HTB: quantum of class 10001 is big. Consider r2q change.
Решаем её вот так:
было
tc qdisc add dev $VIF root handle 1: htb default 20 r2q 1
стало
tc qdisc add dev $VIF root handle 1: htb default 20 r2q 2
т.е. увеличиваем r2q ибо:
The kernel calculate the quantum using rate / r2q (rate to quantum)
which have a default value of 10. If the calculated value is less than
1000 then the quantum will have a value of 1000 and you get the message
you posted.
You should have a quantum value bigger than your MTU.
Т.о. увеличив r2q уменьшили квантум.
вот так. Хорошо бы незабыть.
вверх^
к полной версии
понравилось!
в evernote