I have cable connectivity with 10.6 Mbps download and 1160 kbps upload (real measured values) and using Queue Tree to ensure fairy policy in attached network and to have enough bandwidth for VoIP calls. Now I have discovered small problem which I don’t know how to deal with.
When I saturate upload and call with VoIP, than Queue reserve sufficient bandwidth (88 kbps) correctly. But when I saturate download (10.6 Mbps downstream traffic cause about 280 kbps upstream traffic) and make a VoIP call than all goes bad. The VoIP queue reserve only about 22 kbps thus call quality is very poor. Other upstream have whatever it wants (about 260 kbps).
Here are my rules:
/ip firewall mangle
add action=mark-packet chain=postrouting comment="upload - telefon" disabled=no new-packet-mark=1 out-interface=eth0 passthrough=no protocol=udp src-address=10.0.10.2
add action=mark-packet chain=postrouting comment="upload - Nokia E52" disabled=no new-packet-mark=1 out-interface=eth0 passthrough=yes protocol=udp src-address=10.0.10.8
add action=mark-packet chain=postrouting comment="upload - s\ED\9D" disabled=no new-packet-mark=3 out-interface=eth0 passthrough=no src-address=10.0.10.0/24
add action=mark-routing chain=prerouting comment="Downstream - routing mark" disabled=no in-interface=eth0 new-routing-mark=downstream passthrough=no
add action=mark-packet chain=postrouting comment="download - telefon" disabled=no dst-address=10.0.10.2 new-packet-mark=2 out-interface=eth1 passthrough=no protocol=udp routing-mark=downstream
add action=mark-packet chain=postrouting comment="download - Nokia E52" disabled=no dst-address=10.0.10.8 new-packet-mark=2 out-interface=eth1 passthrough=no protocol=udp routing-mark=downstream
add action=mark-packet chain=postrouting comment="download - r\E1dio" disabled=no dst-address=10.0.10.3 new-packet-mark=4 out-interface=eth1 passthrough=no routing-mark=downstream
add action=mark-packet chain=postrouting comment="download - s\ED\9D" disabled=no dst-address=10.0.10.0/24 new-packet-mark=6 out-interface=eth1 passthrough=no routing-mark=downstream
and Queue Tree
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=download packet-mark="" parent=global-out priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=upload packet-mark="" parent=eth0 priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name="download - voip" packet-mark=2 parent=download priority=2 queue=sfq
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=134k max-limit=134k name="download - radio" packet-mark=4 parent=download priority=7 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name="download - sit" packet-mark=6 parent=download priority=8 queue=sfq
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name="upload - voip" packet-mark=1 parent=upload priority=2 queue=ethernet-default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name="upload - sit" packet-mark=3 parent=upload priority=8 queue=sfq
I have ROS 4.6 on RB433AH. eth 0 is my cable modem, eth1 and eth2 are switch for my network. Formerly I had a br0 from ath0, eth1, eth2.
Am I missing something important? Does anybody have any idea? Thanks