QOS for bufferbloat and everything else

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Knomax
Posts: 25
Joined: Wed Mar 22, 2017 4:52 pm
Location: Greece

QOS for bufferbloat and everything else

Post by Knomax »

Hello
After several tests with heavy downloads+gaming+browsing different times during day...trial and error with % for classes...finally i find the sweet spot.
So give a try and let me know how it is works for you...feedback -ideas.
-----------------------------
My connection is VDSL 30Mbps download /3Mbps upload.
With qos disabled i do a speedtest and in download i put the maximum download speed.
In upload i put 95% of my maximum speed.

Default class is high.

Image
Image
------------------------------------
Image
Image

*192.168.1.100 is my gaming console.

*192.168.1.115/192.168.1.130/192.168.1.110 are devices with lowest priority.

*ports 53/80/443 is for DNS...browsing and so on..

In dsl reports download and upload is always UNDER 5ms .

These settings is for "hardcore gaming" if you want and the other devices to have low bufferbloat add one more rule at the bottom with "Maximum Packet Length: 512 bytes" and Classification "service".

Thank you. ;)

Sgt-Greco
Posts: 21
Joined: Thu Sep 28, 2017 9:28 am

Re: QOS for bufferbloat and everything else

Post by Sgt-Greco »

Thanks for sharing man. I'll definitely give it a try.

Sgt-Greco
Posts: 21
Joined: Thu Sep 28, 2017 9:28 am

Re: QOS for bufferbloat and everything else

Post by Sgt-Greco »

I confirm Bufferbloat results are exceptional. Easy triple A+ with minimum jitter (<5ms).
Didn't test it in a game though, because I'm still fine tuning the rest of the stuff.
I use a bridged modem behind my Gargoyle router. Back in OpenWRT I created a new interface and I could easily login my modem's page which is in a different subnet. (instructions here https://simplebeian.wordpress.com/2014/ ... rt-router/). Is it possible to do it in Gargoyle?

thanx

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

Re: QOS for bufferbloat and everything else

Post by pbix »

Search for modem in the documentation section
https://www.gargoyle-router.com/wiki/do ... adsl_modem
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

Sgt-Greco
Posts: 21
Joined: Thu Sep 28, 2017 9:28 am

Re: QOS for bufferbloat and everything else

Post by Sgt-Greco »

I've just sysupgraded 1.11 RC2 over 1.11 RC1 on my 1043 ND v.4 preserving settings. I've also added

Code: Select all

http://lantisproject.com/gargoyle_1.11.x_rc2/ar71xx/default/
in my repository.... No issues whatsoever.
(Kudos to @lantis for his hard work here ;) ).

My main concern is gaming and First Person Shooters in particular, so I've created a "top priority" GAMING class with 1% BW. I had a blast. My gaming experience was awesome.

The vast majority of FPSs use UDP packages (maybe except Ironsight if I'm not mistaken) so my GAMING class is only dealing with this protocol.
All I'm trying to do now, is to fine-tune my settings and first of all to determine the Minimum Packet Length for this class/protocol. Games evolve rapidly and I'm not sure that UDP packages are around 100 bytes anymore.

Is there a simple way to find that out? Please keep in mind that I'm not a Network expert :( .

regards

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QOS for bufferbloat and everything else

Post by Lantis »

The easiest way might be to install wireshark on your computer that you game on (assuming you game on PC that is) and sniff the packets as you play.
If your game allows you to identify the server IP you are connected to, you can create a filter and only look for packets destined for there.
You can then inspect their size and get a pretty good idea on what the average is.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Sgt-Greco
Posts: 21
Joined: Thu Sep 28, 2017 9:28 am

Re: QOS for bufferbloat and everything else

Post by Sgt-Greco »

I'm sorry I didn't mention. I'm on a console.

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QOS for bufferbloat and everything else

Post by Lantis »

You might be able to use tcpdump on the router itself then.
https://openwrt.org/docs/guide-user/fir ... _wireshark
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Sgt-Greco
Posts: 21
Joined: Thu Sep 28, 2017 9:28 am

Re: QOS for bufferbloat and everything else

Post by Sgt-Greco »

Thanks Lantis. I'm on it right now.

Daeron
Posts: 28
Joined: Mon Oct 31, 2016 5:30 am

Re: QOS for bufferbloat and everything else

Post by Daeron »

Seems like my previous post answers some of your questions and we both reached similar conclusions in what direction to take:
viewtopic.php?f=12&t=11167&start=40#p50898

The short version is that (at least based on my limited sample) most smaller scale games use around <576/<128 download/upload packet sizes respectively. However bigger scale ones, especially with multiple AI running around bleed into <1260/<256 territory.

Some games like those based on Valve's source engine let you use commands that show you the exact packet sizes in real time. You can do what you were doing though, which is making a bunch of QoS classes at different maximum packet sizes and monitor which ones get filled during gameplay.

Post Reply