i believe that most Mikrotik users depend on Megis QOS in Managing the networks QOS but for months of testing and using Megis policy "that i found it the best choice " the users faced haigh latency when they download files or browse normal web sites like youtube , facebook .. etc and this is affect on the over all performance of the service delivered to the end user , bellow my config
Mangle
Code: Select all
3 ;;; Basic Conn
chain=forward action=mark-connection new-connection-mark=Basic conn passthrough=yes src-address-list=hqbasic
4 ;;; Bussiness Conn
chain=forward action=mark-connection new-connection-mark=Buss conn passthrough=yes src-address-list=hqbusiness
5 ;;; Super Conn
chain=forward action=mark-connection new-connection-mark=Super conn passthrough=yes src-address-list=hqsuper
6 ;;; Std Conn
chain=forward action=mark-connection new-connection-mark=Std conn passthrough=yes src-address-list=hqstd
7 ;;; Normal Conn
chain=forward action=mark-connection new-connection-mark=Normal conn passthrough=yes src-address-list=hqnormal
8 ;;; Basic Packets
chain=forward action=mark-packet new-packet-mark=Basic Packets NEW passthrough=no connection-mark=Basic conn
9 ;;; Normal Packets
chain=forward action=mark-packet new-packet-mark=Normal Packets NEW passthrough=no connection-mark=Normal conn
10 ;;; Std Packets
chain=forward action=mark-packet new-packet-mark=Std Packets NEW passthrough=no connection-mark=Std conn
11 ;;; Bussiness Packets
chain=forward action=mark-packet new-packet-mark=Business Packets NEW passthrough=no connection-mark=Buss conn
12 ;;; SUPER Packets
chain=forward action=mark-packet new-packet-mark=Super Packets NEW passthrough=no connection-mark=Super conn
queue Types
Code: Select all
5 name="Basic Down" kind=pcq pcq-rate=80k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
6 name="Normal Down" kind=pcq pcq-rate=200k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0
pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
7 name="Std Down" kind=pcq pcq-rate=500k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=20000 pcq-burst-rate=700k pcq-burst-threshold=500k
pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
8 name="Business Down" kind=pcq pcq-rate=700k pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=200000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
9 name="Super Down" kind=pcq pcq-rate=1M pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=200000 pcq-burst-rate=0 pcq-burst-threshold=0
pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
10 name="Basic Up" kind=pcq pcq-rate=500k pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
11 name="Normal Up" kind=pcq pcq-rate=1M pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
12 name="Std Up" kind=pcq pcq-rate=2M pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
13 name="Business Up" kind=pcq pcq-rate=2M pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
14 name="Super Up" kind=pcq pcq-rate=5M pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20000 pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=64 pcq-dst-address6-mask=64
queue Tree
Code: Select all
0 name="Total Down" parent=global-out packet-mark="" limit-at=0 priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
1 name="Total Up" parent=ether1 packet-mark="" limit-at=0 priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
3 name="Basic UP" parent=Total Up packet-mark=Basic Packets NEW limit-at=0 queue=Basic Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
4 name="normal_queue" parent=Total Down packet-mark=Normal Packets NEW limit-at=0 queue=Normal Down priority=6 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
5 name="std_queue" parent=Total Down packet-mark=Std Packets NEW limit-at=0 queue=Std Down priority=4 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
6 name="business_queue" parent=Total Down packet-mark=Business Packets NEW limit-at=0 queue=Business Down priority=2 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s
7 name="super_queue" parent=Total Down packet-mark=Super Packets NEW limit-at=0 queue=Super Down priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
8 name="Normal Up" parent=Total Up packet-mark=Normal Packets NEW limit-at=0 queue=Normal Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
9 name="Std Up" parent=Total Up packet-mark=Std Packets NEW limit-at=0 queue=Std Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
10 name="Business up" parent=Total Up packet-mark=Business Packets NEW limit-at=0 queue=Business Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
11 name="Super Up" parent=Total Up packet-mark=Super Packets NEW limit-at=0 queue=Super Up priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s