Jump to content
Калькуляторы

Странности с tc filter ffff: на ядре 3.2.0

Перенёс ряд задач на новую железку, поднял на ней дебиан sid.

 

Сразу вылез косяк с полисерами, а конкретно с

 

/sbin/tc filter add dev ".$iface." parent ffff: protocol ip prio 50 u32 match ip dst 0.0.0.0/0 police rate ".$rate."kbit burst ".$rate."kbit drop flowid :1

 

На старой машинке с 2.6.32 всё работало на ура, а на 3.2.0 этой конструкции совершенно пофиг какой выставлен rate,

 

по ощущениям полисит всегда на 1-3 мегабита,

 

по tc -s show видно постоянный прирост dropped и overlimits, можно поставить полосу в 10 раз больше реального трафика - ничего не изменяется,

 

продолжает дропаться.

 

Кто сталкивался? Как вылечить?

Edited by disappointed

Share this post


Link to post
Share on other sites

Подробное изучение показло, что на самом деле ограничения вообще нет для ffff:, есть некий рандомный дроп не зависящий от rate.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.