Bandwidth limitation help

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

Moderator: Moderators

Post Reply
UnrealX
Posts: 2
Joined: Wed Feb 10, 2010 5:32 am

Bandwidth limitation help

Post by UnrealX »

Hi there,

I've recently upgraded the firmware on my router from gargoyle 1.1.5 to 1.1.7, and am having troubles getting the QoS for both download and upload to work correctly. In 1.1.5 I managed to get it working somewhat by playing around with it a bit, however I probably didn't really know what I was doing. I've replicated what I did in 1.1.5 into 1.1.7 however there are no indications that what I have done is having any impact.

The reason I require the QoS is that while gaming, there are times that I experience severe lag spikes (going from 20 to 600 ping for up to 30 seconds at a time), and I noticed that during these lag spikes there is a particular IP on my network that takes the majority of the bandwidth. I tried limiting the download rate and bandwidth usage on 1.1.5 through the QoS classes, which did lower the speed at which that IP could download at, but didn't really do anything to prevent the lag spikes/bandwidth usage.

If anyone could give me a hand and let me know what I am doing wrong or what I should be doing/should try to do, I would very much appreciate it as it has taken me months to finally diagnose what is causing these lag spikes, so I'm pretty eager to have it fixed. :)

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

Re: Bandwidth limitation help

Post by pbix »

Hi UnrealX,
The QoS design between v1.1.5 and v1.1.7 has been reworked so it will not be possible to just copy your old setup into the new version. The good news is that the new design is intended to help gamers like us so with a little work we can get your router working better than ever to help you with this issue.

The first step is to determine how much bandwidth your game requires. When no one else is using your connection play your game and use the Gargoyle bandwidth monitor to find out what it is using. Record both the upload and download bandwidth. I use XBOX Live and this number is about 50kbps in each direction.

Next go to http://www.speakeasy.net/speedtest and measure your internet link speed. Do you have a DSL line or a cable modem?

Now you have the data you need to make your system work well. Go to the QoS pages and enter 70% of the number measure by the line speed test into the total bandwitdh field of each screen.

Next create a new "gaining" class and specify the bandwidth you measured in step one above (plus a little more) as the minimum bandwidth. The maximum should be left unlimited and the percentage will depend on what other applications run on the gaming machine.

Finally create a "match rule" to connect your gaming box IP address to your new class.

Everything should then work smoothly for your game. Once you find you game works good you can start to increase your the total bandwidth fields from 70%->80%->90% and see if everything still works good. If you go too high the old problems will return. I left mine at 85%.

I attach my setup which I hope will help other learn to properly use the new QoS setup.

After you have done the above let us know how things are working for you.

Regards,
pbix
Attachments
Match rules and total bandwidth for upload
Match rules and total bandwidth for upload
upload1.jpg (19.96 KiB) Viewed 3375 times
classes for download
classes for download
download2.jpg (21.57 KiB) Viewed 3374 times
Match rules and total bandwidth for download
Match rules and total bandwidth for download
download1.jpg (20.79 KiB) Viewed 3375 times
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

UnrealX
Posts: 2
Joined: Wed Feb 10, 2010 5:32 am

Re: Bandwidth limitation help

Post by UnrealX »

Thanks for that pbix, things appear to be better now, however I still get the occasional severe lag spike. Will try to tinker with some of the values I've put in to see if that helps.

Cheers once again.

Post Reply