Bandwidth equalization and prioritization

Hi,

I have such configuration:

/ip firewall mangle
add chain=prerouting action=mark-packet new-packet-mark=icmp.packet passthrough=no protocol=icmp
add chain=prerouting action=mark-connection new-connection-mark=connection passthrough=yes src-address=10.0.1.0/24
add chain=prerouting action=mark-packet new-packet-mark=packet passthrough=no connection-mark=connection

/queue type
add name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
add name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000

/queue simple 
add name="icmp" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=icmp.packet direction=both priority=1 queue=default/default limit-at=0/0 max-limit=0/0 total-queue=default

/queue tree
add name="download" parent=lan packet-mark=packet limit-at=0 queue=default priority=2 max-limit=10M burst-limit=0 burst-threshold=0 burst-time=0s
add name="download.equalize" parent=download packet-mark=packet limit-at=0 queue=pcq-download priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
add name="upload" parent=wan packet-mark=packet limit-at=0 queue=default priority=3 max-limit=5M burst-limit=0 burst-threshold=0 burst-time=0s
add name="upload.equalize" parent=upload packet-mark=packet limit-at=0 queue=pcq-upload  priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

Does it mean, that all of these circumstances are correct:

  • ICMP traffic will be proceeded first without speed limitations?
  • Download traffic is proceeded before upload traffic?
  • Clients, from network 10.0.1.0/24 will have equal upload/download speed?
  • If there are 10 clients and all of them is using maximum bandwidth available, each will have 512kbps of upload traffic and 1Mbps of download traffic?

Thanks!

Denis.

add name=“pcq-download” kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
add name=“pcq-upload” kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000


pcq-rate=0 I think this rules can not wokr in rate 0 bit

pcq-rate is one of the parameters I am not sure about…

As far as I know using it you can define same bandwidth for multiple users using only 4 rules…

So if I have 0 there, it should equalize bandwidth using maximum available speed…