Hi I have this queue tree everything is working well I have an 11Mbps connection in my cafe if i set my download limit at 11 my ping in games go way up at 8mbps the ping is okay but i want to use the max bandwidth when im the only one using the internet is it possible
/queue tree
add comment="All Download from Lan" name=Down parent=LAN
add comment="All Upload Traffic" max-limit=512k name=Up parent=ether1
/queue type
add kind=pfifo name=streaming-video-in pfifo-limit=500
/queue tree
add comment="Incoming HTTP Traffic" limit-at=3M max-limit=11M name=http-in packet-mark=http-in parent=Down priority=6 queue=pcq-download-default
add comment="Incoming Management Traffic" limit-at=500k max-limit=11M name=admin-in packet-mark=admin-in parent=Down priority=1 queue=pcq-download-default
add comment="Incoming Gaming packet" limit-at=1M max-limit=11M name=gaming-in packet-mark=games-in parent=Down priority=2 queue=pcq-download-default
add comment="Incoming Download" max-limit=11M name=download-in packet-mark=in parent=Down priority=7 queue=pcq-download-default
add comment="Incoming VOIP Traffic" limit-at=500k max-limit=11M name=voip-in packet-mark=voip-in parent=Down priority=4 queue=pcq-download-default
add comment="Incoming VPN Traffic" limit-at=500k max-limit=11M name=vpn-in packet-mark=vpn-in parent=Down priority=3 queue=pcq-download-default
add comment="Incoming Streaming" limit-at=4M max-limit=11M name=streaming-video-in packet-mark=streaming-video-in parent=Down priority=5 queue=streaming-video-in
add comment="Other Outgoing traffic" max-limit=300k name=upload-out packet-mark=out parent=Up priority=7 queue=pcq-upload-default
add comment="Outgoing Gaming Traffic" limit-at=128k max-limit=512k name=gaming-out packet-mark=games-out parent=Up priority=2 queue=pcq-upload-default
add comment="Outgoing HTTP Traffic" limit-at=128k max-limit=512k name=http-out packet-mark=http-out parent=Up priority=6 queue=pcq-upload-default
add comment="Outgoing Stream traffic" limit-at=128k max-limit=300k name=streaming-video-out packet-mark=streaming-video-out parent=Up priority=5 queue=pcq-upload-default
add comment="Outgoing VOIP" limit-at=128k max-limit=300k name=voip-out packet-mark=voip-out parent=Up priority=4 queue=pcq-upload-default
add comment="Outgoing VPN" limit-at=128k max-limit=300k name=vpn-out packet-mark=vpn-out parent=Up priority=3 queue=pcq-upload-default
add comment="Outgoing Management Traffic" limit-at=128k max-limit=300k name=admin-out packet-mark=admin-out parent=Up priority=1 queue=pcq-upload-default
Hi,
A quick and dirty way to fix it is a simple queue that limits the rest of the cafe to about 10Megs, 1Mbps is more then enough for gaming.
The queue tree I use is a combination of a few I found online and it works really good for situations like yours
All you have to change is the out-interface=[wan] and the values in the tree to match your bandwidth.
Mangle Rules
/ip firewall mangle
add action=mark-packet chain=postrouting comment=\
"Link-critical traffic (DHCP)" dst-port=67 new-packet-mark=link_critical \
out-interface=wan passthrough=no protocol=udp src-port=68
add action=mark-packet chain=postrouting comment=\
"IPSec VPN (same priority as link critical)" new-packet-mark=\
link_critical out-interface=wan passthrough=no protocol=\
ipsec-esp
add action=mark-packet chain=postrouting comment="Time-critical traffic (DNS, \
TCP control packets, certain ACK packets, new connections)" \
new-packet-mark=time_critical passthrough=no protocol=icmp
add action=mark-packet chain=postrouting comment="Time-critical traffic (DNS, \
TCP control packets, certain ACK packets, new connections)" dst-port=53 \
new-packet-mark=time_critical passthrough=no protocol=udp
add action=mark-packet chain=postrouting new-packet-mark=time_critical \
out-interface=wan passthrough=no protocol=tcp tcp-flags=\
fin,syn,rst
add action=mark-packet chain=postrouting new-packet-mark=time_critical \
out-interface=wan packet-size=40-89 passthrough=no
add action=mark-packet chain=postrouting connection-state=new \
new-packet-mark=time_critical out-interface=wan passthrough=no \
protocol=tcp
add action=mark-packet chain=postrouting comment=\
"Critical traffic (just some ACK packets)" new-packet-mark=critical \
out-interface=wan packet-size=90-159 passthrough=no protocol=\
tcp tcp-flags=ack
add action=mark-packet chain=postrouting comment=\
"High-priority interactive traffic (SSH, WinBox, certain ACK packets)" \
new-packet-mark=Winbox out-interface=wan \
passthrough=no port=22,2200,8291,8292 protocol=tcp
add action=mark-packet chain=postrouting new-packet-mark=high_pri_interactive \
out-interface=wan passthrough=no port=8291 protocol=tcp
add action=mark-packet chain=postrouting new-packet-mark=high_pri_interactive \
out-interface=wan packet-size=160-249 passthrough=no
add action=mark-packet chain=postrouting comment=\
"Low-priority interactive traffic (HTTP, HTTPS, DelugeWebUI)" \
new-packet-mark=low_pri_interactive out-interface=wan \
passthrough=no port=80,443,8112 protocol=tcp
add action=mark-packet chain=postrouting new-packet-mark=low_pri_interactive \
out-interface=wan packet-size=250-359 passthrough=no
add action=mark-packet chain=postrouting comment=\
"High-priority non-interactive traffic (FTP)" connection-type=ftp \
new-packet-mark=high_pri_non_interactive out-interface=wan \
passthrough=no protocol=tcp
add action=mark-packet chain=postrouting new-packet-mark=\
high_pri_non_interactive out-interface=wan packet-size=360-489 \
passthrough=no
add action=mark-packet chain=postrouting comment=\
"Low-priority non-interactive traffic (POP, SMTP)" new-packet-mark=\
low_pri_non_interactive out-interface=wan passthrough=no port=\
25,110 protocol=tcp
add action=mark-packet chain=postrouting new-packet-mark=\
low_pri_non_interactive out-interface=wan packet-size=490-639 \
passthrough=no protocol=tcp tcp-flags=ack
add action=mark-packet chain=postrouting comment="Non-critical traffic (P2P)" \
new-packet-mark=non_critical out-interface=wan packet-size=\
640-809 passthrough=no
add action=mark-packet chain=postrouting new-packet-mark=non_critical \
out-interface=wan passthrough=no
add action=log chain=forward comment=":END OF UPLOAD " disabled=true
add action=mark-connection chain=forward comment="Mark all connections" \
connection-mark=!heavy_traffic_conn new-connection-mark=all_conn
add action=mark-connection chain=forward comment="Mark TCP Heavy Conn" \
connection-bytes=500000-0 connection-mark=all_conn connection-rate=\
200k-100M new-connection-mark=heavy_traffic_conn protocol=tcp
add action=mark-connection chain=forward comment="Mark UDP Heavy Conn" \
connection-bytes=500000-0 connection-mark=all_conn connection-rate=\
200k-100M new-connection-mark=heavy_traffic_conn protocol=udp
add action=mark-packet chain=forward comment="Mark Heavy Conn Pack" \
connection-mark=heavy_traffic_conn new-packet-mark=heavy_traffic \
passthrough=no
add action=mark-packet chain=forward comment="Mark Remaining Conn" \
connection-mark=all_conn new-packet-mark=other_traffic passthrough=no
add action=log chain=forward comment=":END OF Download" disabled=true
Queue Tree
/queue tree
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name="Outgoing queue" parent=global queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name="Low-pri non-interactive" packet-mark=\
low_pri_non_interactive parent="Outgoing queue" priority=7 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name=Link-critical packet-mark=link_critical parent=\
"Outgoing queue" priority=1 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name=Time-critical packet-mark=time_critical parent=\
"Outgoing queue" priority=2 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name=Critical packet-mark=critical parent="Outgoing queue" \
priority=3 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name="High-pri interactive" packet-mark=high_pri_interactive \
parent="Outgoing queue" priority=4 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name="Low-pri interactive" packet-mark=low_pri_interactive \
parent="Outgoing queue" priority=5 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name="High-pri non-interactive" packet-mark=\
high_pri_non_interactive parent="Outgoing queue" priority=6 queue=default
add burst-limit=1M burst-threshold=512k burst-time=30s limit-at=512k \
max-limit=1M name=P2P packet-mark=non_critical parent="Outgoing queue" \
queue=default
add burst-limit=4M burst-threshold=2M burst-time=30s limit-at=2M max-limit=4M \
name=Incomming parent=global queue=default
add burst-limit=4M burst-threshold=2M burst-time=30s limit-at=2M max-limit=4M \
name=HeavyTraffic packet-mark=heavy_traffic parent=Incomming queue=\
default
add burst-limit=4M burst-threshold=2M burst-time=30s limit-at=2M max-limit=4M \
name=Other_Traffix packet-mark=other_traffic parent=Incomming priority=4 \
queue=default