CBQ (Class Based Queueing)

cat /etc/sysconfig/cbq/cbq-0000.example

#DEVICE=<iframe>,<bandwidth>,[<weight>]

#weight 推荐值为带宽的1/10

DEVICE=eth0.10Mbit,1Mbit

#分配到的该类带宽

RATE=128Kbit

#优先级1-8默认为5

PRIO=5

#指定的带宽控制对象

RULE=192.168.1.0/24

#设置缓冲区,推荐为1/1K

BUFFER=1000kb/8

#ethtool 关闭 TSO

 ethtool -K eth3 tso off

ethtool -k eth3

猜你喜欢

转载自blog.csdn.net/hypatia2015/article/details/45503109
CBQ