I am currently trying to setup PCQ for our home.
It seems to be working fine, when the bandwidth is actually what it should be.
Unfortunately our bandwidth varies from about 80Mbit/s to 15Mbit/s.
Is there a way to dynamically adjust PCQ for that? Or is there a queue type, that is better suited for our scenario?
When the network is empty, I get a ping of around 30.
When someone starts a download and I adjust the max-limit to a lower value that fits the current download speed, I get a ping of around 100, but also timeouts.
Below is my current configuration.
I hope someone could point me to the right direction.
Code: Select all
/ip firewall mangle add action=mark-packet chain=postrouting comment="ALL UP" new-packet-mark=\ CLIENT_UPLOAD out-interface-list=WAN passthrough=yes add action=mark-packet chain=prerouting comment="ALL DOWN" in-interface-list=\ WAN new-packet-mark=CLIENT_DOWNLOAD passthrough=yes add action=mark-packet chain=forward comment="ALL UP" new-packet-mark=\ CLIENT_UPLOAD out-interface-list=WAN passthrough=yes add action=mark-packet chain=forward comment="ALL DOWN" in-interface=ether1 \ new-packet-mark=CLIENT_DOWNLOAD passthrough=yes add action=log chain=forward disabled=yes packet-mark=no-mark /queue type add kind=pcq name=PCQ_DOWNLOAD pcq-classifier=dst-address \ pcq-dst-address-mask=0 pcq-dst-address6-mask=64 pcq-src-address-mask=0 \ pcq-src-address6-mask=64 add kind=pcq name=PCQ_UPLOAD pcq-classifier=src-address pcq-dst-address-mask=\ 0 pcq-dst-address6-mask=64 pcq-src-address-mask=0 pcq-src-address6-mask=\ 64 /queue tree add limit-at=1M max-limit=5M name="queue1 PCQ_DOWNLOAD" packet-mark=\ CLIENT_DOWNLOAD parent=global queue=PCQ_DOWNLOAD add max-limit=19M name="queue2 PCQ_UPLOAD" packet-mark=CLIENT_UPLOAD parent=\ global queue=PCQ_UPLOAD