zernz
March 9, 2013, 3:33am
1
hello, I have these screenshots.
The Ping destination are : 8.8.8.8 (google dns), 202.162.207.111(game), 192.168.172.1 (modem)
I have game and browse queues. And have static bandwidth of 3Mbps
When the ping of the game(202.162.207.111) has above 100, the game become so lag.
I dont know what’s wrong with this.
Please, anyone have any idea with this?
Below are my mangle (0-4) and one of the client (5-10)
0 chain=forward action=change-mss new-mss=1440 passthrough=yes tcp-flags=sy>
protocol=tcp in-interface=speedy tcp-mss=1441-65535
1 chain=forward action=change-mss new-mss=1440 passthrough=yes tcp-flags=sy>
protocol=tcp out-interface=speedy tcp-mss=1441-65535
2 ;;; Master Mangle
chain=prerouting action=mark-connection new-connection-mark=conn-game
passthrough=yes dst-address-list=game in-interface=ether4-lan
3 chain=prerouting action=mark-packet new-packet-mark=packet-game
passthrough=no connection-mark=conn-game
4 chain=prerouting action=mark-packet new-packet-mark=packet-net
passthrough=no
5 ;;; User Mangle
chain=forward action=mark-connection new-connection-mark=GAME-2
passthrough=yes src-address=192.168.44.2 packet-mark=packet-game
6 chain=forward action=mark-connection new-connection-mark=NET-2
passthrough=yes src-address=192.168.44.2 packet-mark=packet-net
7 chain=forward action=mark-packet new-packet-mark=up-game2 passthrough=no
in-interface=ether4-lan connection-mark=GAME-2
8 chain=forward action=mark-packet new-packet-mark=up-net2 passthrough=no
in-interface=ether4-lan connection-mark=NET-2
9 chain=forward action=mark-packet new-packet-mark=limit-game2
passthrough=no connection-mark=GAME-2
10 chain=forward action=mark-packet new-packet-mark=limit-net2 passthrough=n>
connection-mark=NET-2
I use this for every queue in queue tree.
name="default" kind=pfifo pfifo-limit=200
I’ll provide every single config if someone ask for it.
I don’t know that I can come up with an answer for you, but I would want to see the export compact of /queue and /ip firewall mangle
zernz
March 18, 2013, 11:13am
5
I’ve written the mangle above.
And this is my queue tree.
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=10M name=Total-Download packet-mark="" parent=ether4-lan \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=Total-Upload packet-mark="" parent=speedy priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=5M name=Download-GAME packet-mark="" parent=Total-Download \
priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=2M name=Download-NET packet-mark="" parent=Total-Download \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=450k name=Upload-GAME packet-mark="" parent=Total-Upload \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=450k name=Upload-NET packet-mark="" parent=Total-Upload \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no \
name="DL-GAME-2" parent=Download-GAME packet-mark="limit-game2" \
limit-at=256k max-limit=3M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no \
name="DL-NET-2" parent=Download-NET packet-mark="limit-net2" \
limit-at=256k max-limit=2M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no \
name="UP-GAME-2" parent=Upload-GAME packet-mark="up-game2" \
limit-at=64k max-limit=128k
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no \
name="UP-NET-2" parent=Upload-NET packet-mark="up-net2" \
limit-at=64k max-limit=128k
zernz:
I’ve written the mangle above.
And this is my queue tree.
/queue tree
...
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=5M name=Download-GAME packet-mark="" parent=Total-Download \
priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=2M name=Download-NET packet-mark="" parent=Total-Download \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=450k name=Upload-GAME packet-mark="" parent=Total-Upload \
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=450k name=Upload-NET packet-mark="" parent=Total-Upload \
priority=8
...
Your screenshots show 134 queue tree entries. You gave us 8.
In the screenshots, Download-NET and Download-GAME have limit-at values greater than 0. Are the rules in your last post from a limited subset test setup?
I don’t see anything specifically wrong with what you’ve posted. While I do have my TCE, I haven’t played with queues beyond the per IP address PCQ rate limits I use on my network.
If you look at your /ip firewall connection-tracking in winbox, and filter for traffic which is supposed to be in one category or another, are ALL of the connections being marked correctly? Are there connections without connection-mark entries? Are there connections with the wrong connection-mark?
Have you tried using RED, SFQ, or PCQ queue types? pfifo is somewhat un-sophisticated.