How to change ping time limit in the qos setting?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
luniq
Posts: 20
Joined: Mon Nov 07, 2011 4:31 pm

How to change ping time limit in the qos setting?

Post by luniq »

So how do you change the ping time limit? i found this post on how to do it
http://www.gargoyle-router.com/phpbb/vi ... 85ms#p7873
but i have no slightest idea what i have to do... :?
I would really appreciate it if somebody can give a step by step guide on how to do it.
I am having a bit lag with online fps when downloading so i want to try lowering the ping time limit to see if it would make any difference.

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: How to change ping time limit in the qos setting?

Post by pbix »

The step-by-step was outlined in the post you referenced. I can recommend WinSCP to you as a tool which make changes to the referenced file simple.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

luniq
Posts: 20
Joined: Mon Nov 07, 2011 4:31 pm

Re: How to change ping time limit in the qos setting?

Post by luniq »

Thanks for the tip, i lowered the limit to 15ms and no lag so far, although download speed went down to a quarter :lol:

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: How to change ping time limit in the qos setting?

Post by pbix »

If you are at a quarter then the controller is in its limits and basically not working. You should do some pings without any load on your WAN to determine what a normal unloaded ping time is. Then set this limit to something higher than that. There is no way the controller can make your ping times less than what it would be on an unloaded WAN. Its a compromise between getting minimum lag and getting reasonable speeds.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

luniq
Posts: 20
Joined: Mon Nov 07, 2011 4:31 pm

Re: How to change ping time limit in the qos setting?

Post by luniq »

I am getting good latency at half my download speed, setting the ping time limit at 50ms works well for me. I had issue though, few hours ago suddenly download speed dropped and latency increased a lot. Disabling the active congestion control fixed it, i thought there is a bug but after tinkering a bit i found out that lowering the upload speed in qos setting fixed it. My upload speed from speedtest is 1.5mbs, i used 1.2mbs and lower it to 650kbs fixed the problem. I could perhaps use more upload speed but i dont use it much and congestion control works again.

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: How to change ping time limit in the qos setting?

Post by mix »

The download/upload speeds being reported here are comical. I hope this is not the typical experience of someone who uses acc.
WRT54GL v1.1
Gargoyle 1.4.7

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: How to change ping time limit in the qos setting?

Post by pbix »

mix, what is comical is that an ISP be can sell us something (ie bandwidth) and then not deliver it and somehow that is OK. This is the life for many of us. If you have a rock solid speed the count your blessings.

luniq makes an interesting report. It is a fact that the ACC does not control the uplink speed it only controls the downlink speed. The hope is that the uplink speed will not be throttled often by your ISP. This seemed a reasonable compromise at the time and also it would greatly complicate the design of the ACC to try and control both simultaneously. Not sure it could even be done reliably.

If the uplink setting of 1.2mps worked at one time and then stopped working then it seems that your ISP must have throttled your uplink speed. That would lead directly to the problem you reported. Your response to lower the uplink speed in your router is the only one you could make. In our lives before the ACC we had to put the lowest speed we got in both the upload and download settings or QoS would break down. Now at least you only have to guess at the upload setting. So life is better but obviously not perfect.

On a related note I can report that today I added some new options to the ACC. In future releases the ACC will automatically determine a ping limit for you based on ping times it measures and your link speeds. There is also a new option which allows you to manually set your ping limit time if you want to experiment on your own.

Always interested to hear how folks are doing with the ACC. Especially real-world examples such as happened in this case. Don't usually see much on the forum about it which tells me either its working well or not many are using it. :roll:
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

luniq
Posts: 20
Joined: Mon Nov 07, 2011 4:31 pm

Re: How to change ping time limit in the qos setting?

Post by luniq »

My issue with upload speed is weird, even though im not using more than 650kbs upload speed, the problem still happens if i set the upload speed in qos more than 1mbs. My max download speed is 32mbs and when this problem happened my download speed dropped to 8mbs and my ping time increased to 150ms, disabling the acc quickly fix this, i limit download speed to 16mbs and ping dropped to around 50ms.

Changing ping time limit through http will be a nice addition. Looking forward for next release.

Perhaps by doing a poll people can easily give feedback on acc. It surely is working for me :mrgreen:

robnitro
Posts: 84
Joined: Sat Feb 26, 2011 4:50 pm

Re: How to change ping time limit in the qos setting?

Post by robnitro »

I think the stock time is a bit too high especially if people do online gaming. Plus the ping is to the first hop, so it should be low, below 10 ms anyway. 45 is a good number for me.


Edit: oops, it was already explained how to change qos script

Post Reply