Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CoDel/Shaper Maxing Out at 750 Mbps?
« previous
next »
Print
Pages: [
1
]
Author
Topic: CoDel/Shaper Maxing Out at 750 Mbps? (Read 2624 times)
EFaden
Newbie
Posts: 17
Karma: 0
CoDel/Shaper Maxing Out at 750 Mbps?
«
on:
July 10, 2021, 12:20:43 am »
I have a 1000Mbps/20Mbps cable connection. When I connect directly to the modem I am able to get the full speed, so I know the line works. When I run the speed test with my current codel config I max out download at 750Mbps and I can't seem to figure out why.
I have a Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz w/ 16 GB RAM and the following setup....
Everything not marked below is either blank/unchecked/default etc
Pipes:
1) Speed=1000, Units=Mbps, Scheduler=FlowQueue-CoDel "Downstream Pipe"
2) Speed=20, Units=Mbps, Scheduler=FlowQueue-CoDel "Upstream Pipe"
Queues:
1) Pipe=Downstream Pipe, Weight=100, "Downstream Queue - Regular"
2) Pipe=Upstream Pipe, Weight=1, "Upstream Queue - Regular"
3) Pipe=Upstream Pipe, Weight=10, "Upstream Queue - DNS and ACK"
Rules:
1) Sequence=1, Interface=WAN, Proto=IP, Source=Any, Dest=<Private IPS>, Src/Dest Port=ANY, Direction=Both, Target=Downstream Regular
2) Sequence=10, Interface=WAN, Proto=TCP ACK ONLY, Source=<Private IPs>, Dest=ANY, Src/Dest Port=ANY
Direction=Both, Target=Upstream Queue - DNS and ACK
3) Sequence=11, Interface=WAN, Proto=TCP, Source=<Private IPs>, Dest=ANY, Src Port=Any, Dest Port=53
Direction=Both, Target=Upstream Queue - DNS and ACK
1) Sequence=12, Interface=WAN, Proto=IP, Source=<Private IPS>, Dest=Any, Src/Dest Port=ANY, Direction=Both, Target=Upstream Regular
My goal is to have codel setup to stop buffer bloat issues, and also to prioritize ACK and DNS. But I can't figure out why when these are enabled my connection maxes out at 750
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #1 on:
July 10, 2021, 06:41:20 am »
What happens when you give Download Pipe 1500 Mbit?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
EFaden
Newbie
Posts: 17
Karma: 0
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #2 on:
July 10, 2021, 02:15:32 pm »
No real difference. With everything disabled I get 900 to 960/20 which is basically what I get with my laptop directly connected. With enabled I get 750/20. I changed download pipe to 1500 and still get about 750/20.
Logged
EFaden
Newbie
Posts: 17
Karma: 0
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #3 on:
July 10, 2021, 02:20:43 pm »
I will say this is somewhat interesting. I played around with disabling and enabling different rules and I got a result that is confusing. With the download rule enabled but the upload disabled my download speedtest goes to 860-900/20..... But with download queue disabled and upload enabled I get 750/20.
I'm not really sure I can explain that. So it seems like the upload rules are causing a problem for the download test?
I simplified the rules to just
1) Sequence=1, Interface=WAN, Proto=IP, Source=Any, Dest=<Private IPS>, Src/Dest Port=ANY, Direction=Both, Target=Downstream Regular
2) Sequence=12, Interface=WAN, Proto=IP, Source=<Private IPS>, Dest=Any, Src/Dest Port=ANY, Direction=Both, Target=Upstream Regular
And it limits. If I disable the rule 2 (e.g. upload) I get the normal speed. If I change my upload pipe to 50 Mbps it seems to resolve. But I don't really understand why. And changing my upload pipe to above my true upload speed seems to defeat the purpose. I'm honestly very confused.
«
Last Edit: July 10, 2021, 02:28:20 pm by EFaden
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #4 on:
July 10, 2021, 02:57:34 pm »
I remember an issue in GitHub that matching ACK packets needs also some size tuning in rule. Maybe your acks doesnt match and your download wont speed up due to late acks?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
EFaden
Newbie
Posts: 17
Karma: 0
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #5 on:
July 10, 2021, 03:26:20 pm »
Interesting idea.
I found
https://github.com/opnsense/core/issues/4132
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #6 on:
July 10, 2021, 10:45:30 pm »
Exactly, give it a spin please. Maybe docs need also an update then
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
EFaden
Newbie
Posts: 17
Karma: 0
Re: CoDel/Shaper Maxing Out at 750 Mbps?
«
Reply #7 on:
July 11, 2021, 02:55:06 pm »
Tried messing around with the len. Didn't seem to change anything.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CoDel/Shaper Maxing Out at 750 Mbps?