First, I on ROS 7.20beta2 as to have proper PPPoE MTU 1492.
So, I trying to manage my upload, so it wont choke.
- Internet plan 2Gbps DL, 1Gbps UP
- ISP over provision (OLT DBA 2200Mbps, ONT T-CONT 1100Mbps)
- Speedtest Results 2070Mbps DL, 1029Mbps UP
First, I create mark packet for Egress:
/ip firewall mangle add chain=postrouting out-interface=pppoe-out1 action=mark-packet new-packet-mark=upload comment="queue: upload"
/ipv6 firewall mangle add chain=postrouting out-interface=pppoe-out1 action=mark-packet new-packet-mark=upload comment="queue: upload"
Then I create few mq-pfifo for sfp-sfpplus1 so it wont overflow when to cater 2.5GbE to 1.244Gbps GPON Upload and I create few xl and xxl just in-case.
/queue type add name=multi-queue-ethernet-large kind=mq-pfifo mq-pfifo-limit=2000
/queue type add name=multi-queue-ethernet-xl kind=mq-pfifo mq-pfifo-limit=4000
/queue type add name=multi-queue-ethernet-xxl kind=mq-pfifo mq-pfifo-limit=8000
Then FQ_CoDel with default value
/queue type add name=fq-codel kind=fq-codel
I change all physical Interface queue to multi-queue-ethernet-default to prevent Tx Drop anywhere.
/queue interface set [ find default-queue=only-hardware-queue ] queue=multi-queue-ethernet-default
I also change sfp-sfpplus1 queue to large version,
/queue interface set sfp-sfpplus1 queue=multi-queue-ethernet-large
I tried 50 - 1800 Tx Drop and Tx Queue Drop still happening when I run my server and blast 999Mbps upload for a day.
Now my question
Should I attach Queue Tree on global or pppoe-out1
When I attach on pppoe-out1 like this
/queue tree add name=ppp.upload parent=pppoe-out1 packet-mark=upload queue=fq-codel max-limit=1G
The pppoe-out1 Tx Drop happen but Tx Queue Drop counter skyrocket very fast. Which cause pppoe-out1 get disconnected and receiving pppoe-out1: rcvd LCP TermReq id=0x4
most tutorial, guide I read, all bind to physical and logical interface.
I try global, I assume:
Shaping happens before the traffic hits any interface. No stress on the interface.
so I did:
/queue tree add name=ppp.upload parent=global packet-mark=upload queue=fq-codel max-limit=1G
but with global, Dropping not happening, but feel sluggish, run ping 1.1.1.1, still have timeout, but with pppoe-out1, Drop is happen, ping no timeout but not for long ISP PPPoE AC will terminate my sessions...
I can't get any middle ground
I wonder if put Queue Tree on parent interface of pppoe (sfp-sfpplus1). Which queue type that will not drop LCP echo so my PPPoE sessions wont disconnect, do CAKE and FQ_CoDel know PPPoE packet?