Need help to tune fq_CoDel on a slow ADSL

Started by Kuzunkhaa, May 06, 2020, 01:38:52 PM

Previous topic - Next topic
Hello,
I'm trying to share all my bandwidth evenly to my home with the usage of fq_CoDel, because I want a little boost in games and other live softwares.

The line is in PPPoE (G.DMT) and have a max download speed of 4mbit/s and 280kbit/s for the upload.

I've configured the traffic shaper like this:

Pipes

  • Bandwidth=3800
  • Bandwidth Metric=kbit/s
  • Scheduler type=FlowQueue_CoDel
  • (FQ-)CoDel ECN is flagged
  • FQ-CoDel quantum=300
  • FQ-CoDel limit=600
  • Description=Download

  • Bandwidth=266
  • Bandwidth Metric=kbit/s
  • Scheduler type=FlowQueue_CoDel
  • FQ-CoDel quantum=300
  • FQ-CoDel limit=600
  • Description=Upload

Queues

  • Pipe=Upload
  • Weight=90
  • (FQ-)CoDel target=15
  • Description=ACK

  • Pipe=Download
  • Weight=70
  • (FQ-)CoDel target=15
  • (FQ-)CoDel ECN is flagged
  • Description=DNSDown

  • Pipe=Upload
  • Weight=70
  • (FQ-)CoDel target=15
  • Description=DNSUp

  • Pipe=Download
  • Weight=50
  • (FQ-)CoDel target=15
  • (FQ-)CoDel ECN is flagged
  • Description=WANDown

  • Pipe=Upload
  • Weight=50
  • (FQ-)CoDel target=15
  • Description=DNSUp

Rules

  • Sequence=1
  • Interface=WAN
  • Proto=tcp (ACK packets only)
  • Source=any
  • Src-port=any
  • Destination=any
  • Dst-port=any
  • Direction=out
  • Target=ACK
  • Description=TCP ACK priority

  • Sequence=2
  • Interface=WAN
  • Proto=ip
  • Source=any
  • Src-port=any
  • Destination=1.1.1.1, 1.0.0.1
  • Dst-port=853
  • Direction=out
  • Target=DNSUp
  • Description=DNS over TLS priority

  • Sequence=3
  • Interface=WAN
  • Proto=ip
  • Source=1.1.1.1, 1.0.0.1
  • Src-port=853
  • Destination=any
  • Dst-port=any
  • Direction=in
  • Target=DNSDown
  • Description=DNS over TLS priority

  • Sequence=4
  • Interface=WAN
  • Proto=ip
  • Source=192.168.1.0/24
  • Src-port=any
  • Destination=any
  • Dst-port=any
  • Direction=out
  • Target=WANUp
  • Description=Upload shape

  • Sequence=5
  • Interface=WAN
  • Proto=ip
  • Source=any
  • Src-port=any
  • Destination=192.168.1.0/24
  • Dst-port=any
  • Direction=in
  • Target=WANDown
  • Description=Download shape

Testing it in DSLReports show a bandwidth and bufferbload quality changed form F to B and I think this is a good improvement.

I'm asking to the community if someone can help me or have suggestions about fq_CoDel, to fine tune my traffic shape. Any help is appreciate, thanks :)