Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Need help to better tune fq_CoDel on a slow ADSL
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need help to better tune fq_CoDel on a slow ADSL (Read 1694 times)
Kuzunkhaa
Newbie
Posts: 13
Karma: 0
Need help to better tune fq_CoDel on a slow ADSL
«
on:
May 10, 2020, 02:02:36 am »
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
Logged
Zuirch
Newbie
Posts: 1
Karma: 0
Re: Need help to better tune fq_CoDel on a slow ADSL
«
Reply #1 on:
July 01, 2020, 06:05:42 am »
Only thing that pops out to me is this rule:
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
It will include both uplink and downlink TCP ACK packets. You might want to consider using a similar source/destination address filter as your Uplink rule.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Need help to better tune fq_CoDel on a slow ADSL