htb quantum of class 10001 is big. consider r2q change的解决方法
来源:互联网 发布:南山区软件产业基地 编辑:程序博客网 时间:2024/06/03 20:06
在使用HTB的时候,有时会碰到htb quantum of class 10001 is big. consider r2q change的警告,而quantum是HTB子类借父类带宽时的计算依据。如果该参数设置不好,可能会碰到意想不到的结果。
HTB manual建议quantum取值要尽量小,且要大于mtu。这样,quantum的最佳值就是等于mtu。如果不设置该参数,默认quantum=rate/r2q,而默认r2q=10,默认mtu=1500,也就是说使用默认参数只适合rate=15kbps的情况。当实际带宽不同时,需要手动设置r2q参数:
r2q=rate/mtu,实际r2q最好比计算出的值小一点,以保证quantum>mtu。
注:mtu的查看方法
使用netstat -i 来查看MTU的值
[root@asterisk ~]# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 60041 0 0 0 48841 0 0 0 BMRU
lo 16436 0 63 0 0 0 63 0 0 0 LRU
- htb quantum of class 10001 is big. consider r2q change的解决方法
- HTB: quantum of class 10001 is big. Consider r2q change问题
- HTB: quantum of class 10001 is big. Consider r2q change问题
- 关于tc 中htb算法中的r2q和quantum的做用
- HTB r2q
- Quantum & r2q
- Quantum & r2q
- Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting的解决方法
- class wizard entry is missing的解决方法
- is kind of class 与 is member of class 的区别
- It is indirectly referenced from required .class files。的解决方法
- 抓狂的c++错误:...which is of non-class type..
- spring的 object is not an instance of declaring class
- HTB
- Cannot change version of project facet Dynamic Web Module to 2.5最好的解决方法
- Cannot change version of project facet Dynamic Web Module to 2.5 问题的解决方法
- Cannot change version of project facet Dynamic Web Module to 2.4 问题的解决方法
- Android报错ViewPager: Can't Change Tag of Fragment的解决方法
- Kettle与Java集成——Java代码调取运行资源库的Transformation
- Sipdroid涉及到的协议之RFC3261
- /bin/bash^M:损坏的解释器: 没有那个文件或目录
- Visual Leak Detector
- zz:给年轻程序员的几句话
- htb quantum of class 10001 is big. consider r2q change的解决方法
- sipdroid代码分析指导文章
- 实用链表(待续)
- uva 4723
- Sipdroid中像服务器注册是如何实现的(一)?
- zoj2740-简单并查集
- 各大公司android开源地址
- linux的自旋锁struct spinlock_t的使用
- 图灵机和NP难度问题