nbmq 发表于 2013-4-2 21:48:48

求大家指教

本帖最后由 nbmq 于 2013-4-2 21:50 编辑

我用的是3.3版本,使用Simple queues限制每个IP速度为4M,单外线,总带宽是完全够用的.在网上下了小包优先的脚本,用IE单线程下载占完4M带宽的情况下玩游戏还可以,但如果用迅雷下载的话玩游戏就非常卡了,请大家看看我用的小包优先还有什么需要改进的地方没.先谢谢大家了.
/ip firewall mangle
add action=mark-connection chain=forward comment="" disabled=no new-connection-mark=p2p_conn p2p=all-p2p passthrough=yes
add action=mark-packet chain=forward comment="" connection-mark=p2p_conn disabled=no new-packet-mark=p2p passthrough=yes
add action=mark-packet chain=forward comment="" connection-mark=!p2p_conn disabled=no new-packet-mark=general passthrough=yes
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=small packet-size=0-512 passthrough=yes
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=big packet-size=513-1200 passthrough=yes
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=100M name=ClassA parent=LAN priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=ClassB parent=ClassA priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=15M max-limit=20M name=p2p1 packet-mark=p2p parent=WAN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=15M max-limit=20M name=p2p2 packet-mark=p2p parent=LAN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf1 packet-mark=general parent=ClassA priority=7 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf2 packet-mark=small parent=ClassB priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf3 packet-mark=big parent=ClassB priority=6 queue=default

9939781 发表于 2013-4-2 22:32:44

迅雷20%左右的是小包,你做小包优先就是对迅雷优先。

nbmq 发表于 2013-4-2 22:40:23

9939781 发表于 2013-4-2 22:32 static/image/common/back.gif
迅雷20%左右的是小包,你做小包优先就是对迅雷优先。

那有什么办法没,我不想禁用讯雷,只想用户在下载同时可以玩游戏,
页: [1]
查看完整版本: 求大家指教