Page 3 of 5
Re: Disappointing bufferbloat
Posted: Tue Dec 01, 2015 5:07 am
by orangetek
Ok guy's, a better option was to change
Code: Select all
//This variable will be set in pr_pack() if we get a pong that matched
//our ping, but in case we don't get we initialize to the period.
rawfltime=period;
to
Code: Select all
//This variable will be set in pr_pack() if we get a pong that matched
//our ping, but in case we don't get we initialize to the period.
//rawfltime=period;
in other words, if a timeout occurs, do nothing! During my peak period last night, my max limit stayed on average 15mbits above what i would have normally seen with no ill effects on ping times. Off peak was perfect with max limits dropping only 1mbit below the fair limit probably due to the odd high ping and low usage not pushing it back up which is fine. I have an ar71xx folder full of images if anyone wants to try it out. Let me know

Re: Disappointing bufferbloat
Posted: Thu Dec 03, 2015 11:39 am
by tapper
Hi i am going to start using qos on my router but i cant see the screenshots as i am blind and using a screen reader can some one copy and paste there settings off there router as text so i can read it pleas thanks. i just want to lower ping times for my sun who plays a lot of dota2.
It will paste like this.
Gargoyle
Router
Management
Utility
Device Name: Tapper'sAP
QoS (Download) -- Classification Rules
Enable Quality of Service (Download Direction)
Quality of Service (QoS) provides a way to control how available bandwidth is allocated. Connections are classified into different “service classes,” each of which is allocated a share of the available bandwidth. QoS should be applied in cases where you want to divide available bandwidth between competing requirements. For example if you want your VoIP phone to work correctly while downloading videos. Another case would be if you want your bit torrents throttled back when you are web surfing.
Match Criteria
Classification
Source Port: 80, Connection bytes: 1024 kBytes
Normal
Edit
Remove
↑
↓
Source Port: 443, Connection bytes: 1024 kBytes
Normal
Edit
Remove
↑
↓
Source Port: 80
Fast
Edit
Remove
↑
↓
Source Port: 443
Fast
Edit
Remove
↑
↓
Source Port: 53
Fast
Edit
Remove
↑
↓
Default Service Class:
Slow
More Info
Add New Classification Rule:
Source IP:
Source Port(s):
Destination IP:
Destination Port(s):
Maximum Packet Length:
bytes
Minimum Packet Length:
bytes
Transport Protocol:
TCP
Connection bytes reach:
kBytes
Application (Layer7) Protocol:
AIM
Set Service Class To:
Slow
Add Rule
QoS (Download) -- Service Classes
Service Class Name
Percent BW
Min BW (kbps)
Max BW (kbps)
Min RTT
Load (kbps)
VoIP
1%
80
200
Yes
*
Edit
Remove
Fast
80%
zero
nolimit
*
Edit
Remove
Slow
1%
zero
nolimit
*
Edit
Remove
Normal
18%
zero
nolimit
*
Edit
Remove
Total Download Bandwidth:
kbits/s
More Info
Add New Service Class:
Service Class Name:
Percent Bandwidth At Capacity:
%
Bandwidth Minimum:
No Bandwidth Minimum
Bandwidth Minimum:
kbits/s
Bandwidth Maximum:
No Bandwidth Maximum
Bandwidth Maximum:
kbits/s
Minimize Round Trip Times (RTT):
Minimize RTT (ping times) when active
Optimize WAN utilization
Add Service Class
QoS (Download) -- Active Congestion Control
Enable active congestions control (Download Direction)
Use non-standard ping target: 86.27.171.1
Manually control target ping time: Auto
More Info
Congestion Control Status
More Info
Save Changes Reset
Status
Connection
Firewall
Port Forwarding
Connection Limits
Adblock
Restrictions
Quotas
QoS (Upload)
QoS (Download)
System
Logout
Re: Disappointing bufferbloat
Posted: Thu Dec 03, 2015 3:00 pm
by Volaris
Hi tapper. I'll paste the text below - I'm not sure if I did it the right way since it seems to copy and paste differently than yours. But it seems it varies by browser. I will explain the QoS in words first.
This applies to both upload and download QoS. It's the same. For Classification Rules, you'll want to delete everything you have and only have one rule. It'll be for Maximum Packet Length of 512 bytes, and classification will be Fast. I repeat, that is for 512 bytes, not kilobits or kilobytes. Below that where it asks for Default Service Class, set that to Normal.
Now we can move on to the Service Class section. As you can imagine from above, there will only be two service classes. One will be fast, and the other normal. Both will be set for 50 percent traffic, and minRTT will be off for both. You can leave both minimum and maximum bandwidth untouched. Below that you can set your connection's bandwidth. Active congestion control should be set for what's optimum for your connection.
As you can see, the setup is very simple but works wonderfully thanks to Gargoyle's per IP sharing. And since it treats all traffic equally regardless of ports, it should help your son's gaming experience. Currently it seems his gaming ports are most likely set for slow. Hopefully that helps, if not, below are the text copy and paste from my browser.
Download section:
QoS (Download) -- Classification Rules
Enable Quality of Service (Download Direction)
Quality of Service (QoS) provides a way to control how available bandwidth is allocated. Connections are classified into different “service classes,” each of which is allocated a share of the available bandwidth. QoS should be applied in cases where you want to divide available bandwidth between competing requirements. For example if you want your VoIP phone to work correctly while downloading videos. Another case would be if you want your bit torrents throttled back when you are web surfing.
Match Criteria Classification
Maximum Packet Length: 512 bytes Fast Edit Remove ↑ ↓
Default Service Class: Normal
More Info
Add New Classification Rule:
Source IP:
Source Port(s):
Destination IP:
Destination Port(s):
Maximum Packet Length:
bytes
Minimum Packet Length:
bytes
Transport Protocol:
Connection bytes reach:
kBytes
Application (Layer7) Protocol:
Set Service Class To:
Add Rule
QoS (Download) -- Service Classes
Service Class Name Percent BW Min BW (kbps) Max BW (kbps) Min RTT Load (kbps)
Fast 50% zero nolimit 0.0 Edit Remove
Normal 50% zero nolimit 0.0 Edit Remove
Total Download Bandwidth:
15000
kbits/s
More Info
Add New Service Class:
Service Class Name:
Percent Bandwidth At Capacity:
%
Bandwidth Minimum:
No Bandwidth Minimum
Bandwidth Minimum:
kbits/s
Bandwidth Maximum:
No Bandwidth Maximum
Bandwidth Maximum:
kbits/s
Minimize Round Trip Times (RTT):
Minimize RTT (ping times) when active
Optimize WAN utilization
Add Service Class
QoS (Download) -- Active Congestion Control
Enable active congestions control (Download Direction)
Use non-standard ping target:
8.8.8.8
Manually control target ping time:
Auto
More Info
Congestion Control Status
State: IDLE
Link limit: 13500 (kbps)
Fair Link limit: 13500 (kbps)
Link load: 0 (kbps)
Ping: off
Filtered ping: 19 (ms)
Ping time limit: 0 (ms) [36/56]
Classes Active: 0
More Info
Upload section:
QoS (Upload) -- Classification Rules
Enable Quality of Service (Upload Direction)
Quality of Service (QoS) provides a way to control how available bandwidth is allocated. Connections are classified into different “service classes,” each of which is allocated a share of the available bandwidth. QoS should be applied in cases where you want to divide available bandwidth between competing requirements. For example if you want your VoIP phone to work correctly while downloading videos. Another case would be if you want your bit torrents throttled back when you are web surfing.
Match Criteria Classification
Maximum Packet Length: 512 bytes Fast Edit Remove ↑ ↓
Default Service Class: Normal
More Info
Add New Classification Rule:
Source IP:
Source Port(s):
Destination IP:
Destination Port(s):
Maximum Packet Length:
bytes
Minimum Packet Length:
bytes
Transport Protocol:
Connection bytes reach:
kBytes
Application (Layer7) Protocol:
Set Service Class To:
Add Rule
QoS (Upload) -- Service Classes
Service Class Name Percent BW Min BW (kbps) Max BW (kbps) Load (kbps)
Fast 50% zero nolimit 0.0 Edit Remove
Normal 50% zero nolimit 0.3 Edit Remove
Total (Upload) Bandwidth:
1100
kbits/s
More Info
Add New Service Class:
Service Class Name:
Percent Bandwidth At Capacity:
%
Bandwidth Minimum:
No Bandwidth Minimum
Bandwidth Minimum:
kbits/s
Bandwidth Maximum:
No Bandwidth Maximum
Bandwidth Maximum:
kbits/s
Add Service Class
Re: Disappointing bufferbloat
Posted: Thu Dec 03, 2015 4:29 pm
by Lantis
Glad your son is getting into dota 2. Fantastic game
I'll add my tip for easily finding his game traffic.
Get him to add a "launch option" to the game or create an autoexec.cfg (good instructions for both online).
Which ever method you choose, put the command "clientport 27005".
This will force the game to always select that port and then on the download side you can use "Destination Port 27005" and upload settings "Source Port 27005".
If he plays any other Steam games you can use the exact same method for almost all of them and only create one rule
Here's an article on setting launch options.
https://support.steampowered.com/kb_art ... -JWMT-2947
The one you would set is "+clientport 27005"
Re: Disappointing bufferbloat
Posted: Fri Dec 04, 2015 6:56 am
by tapper
Thanks for the info and tips i will tri both and let you no how i get on.

Re: Disappointing bufferbloat
Posted: Fri Dec 04, 2015 7:22 am
by tapper
[quote="Volaris"]Hi tapper. I'll paste the text below - I'm not sure if I did it the right way since it seems to copy and paste differently than yours. But it seems it varies by browser. I will explain the QoS in words first.
This applies to both upload and download QoS. It's the same. For Classification Rules, you'll want to delete everything you have and only have one rule. It'll be for Maximum Packet Length of 512 bytes, and classification will be Fast. I repeat, that is for 512 bytes, not kilobits or kilobytes. Below that where it asks for Default Service Class, set that to Normal.
Now we can move on to the Service Class section. As you can imagine from above, there will only be two service classes. One will be fast, and the other normal. Both will be set for 50 percent traffic, and minRTT will be off for both. You can leave both minimum and maximum bandwidth untouched. Below that you can set your connection's bandwidth. Active congestion control should be set for what's optimum for your connection.
As you can see, the setup is very simple but works wonderfully thanks to Gargoyle's per IP sharing. And since it treats all traffic equally regardless of ports, it should help your son's gaming experience. Currently it seems his gaming ports are most likely set for slow. Hopefully that helps, if not, below are the text copy and paste from my browser.
Hi thanks for your help. I set it up just like you said but how do i no if i should use Active congestion control?
Re: Disappointing bufferbloat
Posted: Fri Dec 04, 2015 7:34 am
by tapper
Lantis wrote:Glad your son is getting into dota 2. Fantastic game
I'll add my tip for easily finding his game traffic.
Get him to add a "launch option" to the game or create an autoexec.cfg (good instructions for both online).
Which ever method you choose, put the command "clientport 27005".
This will force the game to always select that port and then on the download side you can use "Destination Port 27005" and upload settings "Source Port 27005".
If he plays any other Steam games you can use the exact same method for almost all of them and only create one rule
Here's an article on setting launch options.
https://support.steampowered.com/kb_art ... -JWMT-2947
The one you would set is "+clientport 27005"
Hi i will show him your post and see how it gos with the qos settings thanks.
Re: Disappointing bufferbloat
Posted: Fri Dec 04, 2015 3:07 pm
by tapper
The kids are home and it's working nice thanks a lot.
Gargoyle
Router
Management
Utility
Device Name: Tapper'sAP
QoS (Download) -- Classification Rules
Enable Quality of Service (Download Direction)
Quality of Service (QoS) provides a way to control how available bandwidth is allocated. Connections are classified into different “service classes,” each of which is allocated a share of the available bandwidth. QoS should be applied in cases where you want to divide available bandwidth between competing requirements. For example if you want your VoIP phone to work correctly while downloading videos. Another case would be if you want your bit torrents throttled back when you are web surfing.
Match Criteria
Classification
Maximum Packet Length: 512 bytes
Fast
Edit
Remove
↑
↓
Default Service Class:
Normal
More Info
Add New Classification Rule:
Source IP:
Source Port(s):
Destination IP:
Destination Port(s):
Maximum Packet Length:
bytes
Minimum Packet Length:
bytes
Transport Protocol:
TCP
Connection bytes reach:
kBytes
Application (Layer7) Protocol:
AIM
Set Service Class To:
Normal
Add Rule
QoS (Download) -- Service Classes
Service Class Name
Percent BW
Min BW (kbps)
Max BW (kbps)
Min RTT
Load (kbps)
Fast
50%
zero
nolimit
20
Edit
Remove
Normal
50%
zero
nolimit
15019
Edit
Remove
Total Download Bandwidth:
50000 kbits/s
More Info
Add New Service Class:
Service Class Name:
Percent Bandwidth At Capacity:
%
Bandwidth Minimum:
No Bandwidth Minimum
Bandwidth Minimum:
kbits/s
Bandwidth Maximum:
No Bandwidth Maximum
Bandwidth Maximum:
kbits/s
Minimize Round Trip Times (RTT):
Minimize RTT (ping times) when active
Optimize WAN utilization
Add Service Class
QoS (Download) -- Active Congestion Control
Enable active congestions control (Download Direction)
Use non-standard ping target: 208.67.220.220
Manually control target ping time: Auto
More Info
Congestion Control Status
State: ACTIVE
Link limit: 30588 (kbps)
Fair Link limit: 30588 (kbps)
Link load: 15039 (kbps)
Ping: 21 (ms)
Filtered ping: 17 (ms)
Ping time limit: 31 (ms) [21/31]
Classes Active: 2
More Info
Save Changes Reset
Status
Connection
Firewall
Port Forwarding
Connection Limits
Adblock
Restrictions
Quotas
QoS (Upload)
QoS (Download)
System
Logout
Re: Disappointing bufferbloat
Posted: Fri Dec 04, 2015 10:48 pm
by Volaris
tapper wrote:Volaris wrote:Hi thanks for your help. I set it up just like you said but how do i no if i should use Active congestion control?
...
The kids are home and it's working nice thanks a lot.
That's great to hear!
Congestion control is really helpful if your internet connection download bandwidth fluctuates throughout the day. It'll adjust the link limit automatically. I saw you're using OpenDNS servers and it's giving you low pings, so it should be working properly.
Given the amount of bandwidth you have available, this QoS setup should work great.
Re: Disappointing bufferbloat
Posted: Sun Dec 06, 2015 7:27 am
by tapper
Hi qos is being very aggressive with my bandwidth should i turn off active congestions control?
Downstream speed (multithread) (Mbps)
Min
Max
Samples
5th Dec, 2015
00:00
41.99
41.99
41.99
1
5th Dec, 2015
06:00
39.30
39.30
39.30
1
5th Dec, 2015
12:00
23.63
23.63
23.63
1
5th Dec, 2015
22:00
9.52
9.52
9.52
1
6th Dec, 2015
00:00
11.74
11.74
11.74
1
6th Dec, 2015
06:00
12.03
12.03
12.03
1
before qos changes:
30th Nov, 2015
06:00
50.60
50.60
50.60
1
1st Dec, 2015
00:00
52.79
52.79
52.79
1
1st Dec, 2015
06:00
53.98
53.98
53.98
1
1st Dec, 2015
12:00
52.55
52.55
52.55
1
1st Dec, 2015
20:00
46.09
46.09
46.09
1
2nd Dec, 2015
06:00
53.98
53.98
53.98
1
2nd Dec, 2015
12:00
53.66
53.66
53.66
1
2nd Dec, 2015
18:00
21.37
21.37
21.37
1
2nd Dec, 2015
22:00
53.34
53.34
53.34
1
3rd Dec, 2015
00:00
53.67
53.67
53.67
1
3rd Dec, 2015
06:00
52.05
52.05
52.05
1
3rd Dec, 2015
12:00
53.86
53.86
53.86
1
4th Dec, 2015
00:00
53.59
53.59
53.59
1
4th Dec, 2015
06:00
53.34
53.34
53.34
1
It is not as bad with my upload.
Upstream speed (multithread) (Mbps)
Min
Max
Samples
30th Nov, 2015
00:00
3.02
3.02
3.02
1
30th Nov, 2015
06:00
2.90
2.90
2.90
1
30th Nov, 2015
20:00
3.01
3.01
3.01
1
30th Nov, 2015
22:00
3.03
3.03
3.03
1
1st Dec, 2015
00:00
3.00
3.00
3.00
1
1st Dec, 2015
06:00
2.99
2.99
2.99
1
1st Dec, 2015
20:00
3.07
3.07
3.07
1
1st Dec, 2015
22:00
3.00
3.00
3.00
1
2nd Dec, 2015
06:00
3.04
3.04
3.04
1
2nd Dec, 2015
12:00
2.99
2.99
2.99
1
2nd Dec, 2015
18:00
0.84
0.84
0.84
1
2nd Dec, 2015
22:00
3.01
3.01
3.01
1
3rd Dec, 2015
00:00
3.01
3.01
3.01
1
3rd Dec, 2015
06:00
2.06
2.06
2.06
1
3rd Dec, 2015
12:00
3.01
3.01
3.01
1
3rd Dec, 2015
20:00
2.64
2.64
2.64
1
4th Dec, 2015
00:00
2.98
2.98
2.98
1
4th Dec, 2015
06:00
3.00
3.00
3.00
1
4th Dec, 2015
12:00
2.92
2.92
2.92
1
5th Dec, 2015
00:00
2.90
2.90
2.90
1
5th Dec, 2015
06:00
2.92
2.92
2.92
1
5th Dec, 2015
12:00
2.91
2.91
2.91
1
5th Dec, 2015
22:00
2.76
2.76
2.76
1
6th Dec, 2015
00:00
2.87
2.87
2.87
1
6th Dec, 2015
06:00
2.93
2.93
2.93
1