Jump to content
kinel

Traffic prortization please read

Recommended Posts

14 hours ago, Knomax said:

You must run tc -s qdisc  and you will see the hfsc ...pie and pfifo qdiscs.

Dont put bridge interface in LAN.....br-lan.........change it to eth0.1   i am using edgerouter x to.

 

Sorry i forgot to say that you must make them executable ....chmod +x qos.sh then chmod +x gaming.sh

Disable SQM..you will use these scripts for QOS.For gaming.sh yo will see the rules attached in gui-->firewall...for qos.sh when yo reboot router..run  tc -s qdisc to see.

Please tell me if you are ok or have any other problems.

After changing lan to eth0.1 it still doesn't seem to work for me, when I check the system log I'm seeing this

Fri Nov 20 06:42:19 2020 daemon.notice procd: /etc/rc.d/S95done: /etc/rc.local: line 5: /root/qos.sh: not found
Fri Nov 20 06:42:27 2020 daemon.notice procd: /etc/rc.d/S95done: /etc/rc.local: line 7: /root/gaming.sh: not found

But I have transferred the files over to /root/ and made them executable as u can see in the screenshot they are green.

I have Fibre to the premises, here's the option i'm using in qos.sh but to me it seems I need to do something else to get this working because it's not finding the files

## for ethernet / DOCSIS / VDSL etc use this
tc qdisc replace dev $DEV stab overhead $OH linklayer ethernet handle 1: root hfsc default 3
# for old school DSL with ATM use this:
#tc qdisc replace dev "$DEV" handle 1: root stab mtu 2047 tsize 512 mpu 68 overhead ${OH} linklayer atm hfsc default 3

I have followed al your other steps, local startup matches exactly. SQM is off. Any ideas?

sqdisc.JPG

qos.sh gaming.sh

Share this post


Link to post
Share on other sites
On 11/19/2020 at 1:57 PM, iCreats said:

QoS set on Always, 90% download and upload on my PS4, Geo-Filter with Polygon Mode (only US servers) & Ping Assist set on 1.

wat about upnp portfaword ??

Share this post


Link to post
Share on other sites

I don’t know why but when I run:

 

ls -lha /lib/modules/$(uname -r)/ | grep sch

 

.. PIE is missing. Tested on 2 OpenWRT Routers: ER-X + AVM 4020

 

Share this post


Link to post
Share on other sites
4 hours ago, Knomax said:

Send you pm. 

Thanks for your help! I've had a few decent games, much better than how it was running yesterday but I can't escape some games where I'm a second behind everyone else. It only happens after my good game, I swear there's something dodgy going on crippling you after you have a good game lol

Can't wait to test it out some more tomorrow!

Share this post


Link to post
Share on other sites
5 hours ago, Hudra101 said:

I don’t know why but when I run:

 

 

 

ls -lha /lib/modules/$(uname -r)/ | grep sch

 

 

 

.. PIE is missing. Tested on 2 OpenWRT Routers: ER-X + AVM 4020

 

 

Nevermind... Do you have sfq and HTB? 

 

4 hours ago, johnnytran said:

Thanks for your help! I've had a few decent games, much better than how it was running yesterday but I can't escape some games where I'm a second behind everyone else. It only happens after my good game, I swear there's something dodgy going on crippling you after you have a good game lol

Can't wait to test it out some more tomorrow!

More tomorrow... It is SBMM i think throwing you in a "bad" lobby. 

Share this post


Link to post
Share on other sites
9 hours ago, L7NALMARI said:

wat about upnp portfaword ??

UpNp enable, nothing in Port Forwarding 

Share this post


Link to post
Share on other sites
13 hours ago, Dopam-IT_1987 said:

i'm very happy for you johnny :);) 

what is your bufferbloat in dslreports ? 

Capture d’écran 2020-11-20 à 15.28.31.png

I'm not sure whether this script is meant to help with bufferbloat? I get A,B,A so maybe I have my bandwidth set too high in the script. I normally get A+,A+,A+

Share this post


Link to post
Share on other sites
15 hours ago, Knomax said:

Nevermind... Do you have sfq and HTB? 

 

More tomorrow... It is SBMM i think throwing you in a "bad" lobby. 

I only have HTB... sfq is missing:

image.png.1a755140c2534da9077fb62e0af9bee0.png

 

Share this post


Link to post
Share on other sites
On 11/19/2020 at 11:57 AM, iCreats said:

QoS set on Always, 90% download and upload on my PS4, Geo-Filter with Polygon Mode (only US servers) & Ping Assist set on 1.

In Geo-Filter.. is Stric Mode?

Share this post


Link to post
Share on other sites
3 hours ago, Pioratika said:

In Geo-Filter.. is Stric Mode?

A.L.W.A.Y.S.

Disable iPv6 in Settings. Seems like Netduma routers don't like these things.

Edit : I've tried something different and seems better. ABB off, equal download/upload distribution for all devices, Ping Assist 30.

Share this post


Link to post
Share on other sites

sorry what is abb?

1 hour ago, iCreats said:

A.L.W.A.Y.S.

Disable iPv6 in Settings. Seems like Netduma routers don't like these things.

Edit : I've tried something different and seems better. ABB off, equal download/upload distribution for all devices, Ping Assist 30.

 

Share this post


Link to post
Share on other sites
1 hour ago, iCreats said:

A.L.W.A.Y.S.

Disable iPv6 in Settings. Seems like Netduma routers don't like these things.

Edit : I've tried something different and seems better. ABB off, equal download/upload distribution for all devices, Ping Assist 30.

 

1 hour ago, iCreats said:

A.L.W.A.Y.S.

Disable iPv6 in Settings. Seems like Netduma routers don't like these things.

Edit : I've tried something different and seems better. ABB off, equal download/upload distribution for all devices, Ping Assist 30.

Can you take pictures... and put it to see 

Share this post


Link to post
Share on other sites

hello everybody this is my config traffic priorisation in openwrt firewall for most fluidify i'm use cake and piece of cake 

 

type or [email protected]:~# uci export firewall
package firewall

i have add the rules 

config include
        option path '/etc/firewall.user'

config rule
        option name 'traffic rules ps4'
        option family 'ipv4'
        option dest 'lan'
        option src 'wan'
        list dest_ip '192.168.2.PS4'
        list src_ip '192.168.1.wan'
        option src_port '3074'
        list proto 'udp'
        option dest_port '30000-45000'
        option target 'ACCEPT'

config nat
        option name 'ps4 nat rules'
        option src 'lan'
        option dest_ip '192.168.2.PS4'
        option src_ip '192.168.1.wan'
        option src_port '3074'
        list proto 'udp'
        option dest_port '30000-45000'
        option target 'MASQUERADE'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

config redirect
        option src 'wan'
        option name 'dmz'
        option target 'DNAT'
        option dest_ip '192.168.2.PS4'
        option dest 'lan'
        list proto 'udp'
        option src_dport '3074-9308'

config redirect
        option src 'wan'
        option name 'dmz'
        option src_dport '30000-45000'
        option target 'DNAT'
        option dest_ip '192.168.2.PS4'
        option dest 'lan'
        list proto 'udp'

what do you think ?

Share this post


Link to post
Share on other sites
On 11/22/2020 at 11:39 AM, Dopam-IT_1987 said:

hello everybody this is my config traffic priorisation in openwrt firewall for most fluidify i'm use cake and piece of cake 

 

type or [email protected]:~# uci export firewall
package firewall

i have add the rules 

config include
        option path '/etc/firewall.user'

config rule
        option name 'traffic rules ps4'
        option family 'ipv4'
        option dest 'lan'
        option src 'wan'
        list dest_ip '192.168.2.PS4'
        list src_ip '192.168.1.wan'
        option src_port '3074'
        list proto 'udp'
        option dest_port '30000-45000'
        option target 'ACCEPT'

config nat
        option name 'ps4 nat rules'
        option src 'lan'
        option dest_ip '192.168.2.PS4'
        option src_ip '192.168.1.wan'
        option src_port '3074'
        list proto 'udp'
        option dest_port '30000-45000'
        option target 'MASQUERADE'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

config redirect
        option src 'wan'
        option name 'dmz'
        option target 'DNAT'
        option dest_ip '192.168.2.PS4'
        option dest 'lan'
        list proto 'udp'
        option src_dport '3074-9308'

config redirect
        option src 'wan'
        option name 'dmz'
        option src_dport '30000-45000'
        option target 'DNAT'
        option dest_ip '192.168.2.PS4'
        option dest 'lan'
        list proto 'udp'

what do you think ?

Sorry but you dont prioritize anything. 

Cake and piece of cake is a "General" solution.. All devices in the same network have low bufferbloat. If you want prioritization you must use layer cake which uses 4 tins of traffic... And Mark priority packets as etc. CS4 to fall in first tin priority which uses 25% of bandwidth. 

I cant say more for now.. But in Openwrt forum i start a topic and by far now involved many gamers.. devs of Sqm.. We already "catch" the traffic Cold War uses in real time gaming.. Analyze It and find many usefull things.. Etc in ps4 packets has 60Hz rate..and probably server works at 30Hz to have 2 packets to work.. One packet is my bullet to you.. And the other your bullet to me.. And decide what to do.. Also cold war "loves" bandwidth throttling.. Also  cold war uses from your machine port 3074 to a random port 30000+... And from 30000+ to 3074 in your console...Already working to can install some other qdiscs like DRR and qfq via gui and dont want to compile your own firmware to enable these. Many users like me already uses the script in Openwrt and Cold War and i can tell for sure that It works very well.. Shoot first.. Die first. Stopped. 

In gunfights etc if i saw him first.. He dies for sure.. Hit reg increase dramatically... I die "normal".. Like bad aiming.. Wrong decisions... While reloading etc. 

This the first try in Openwrt to implement something specific for gamers. Which tested by gamers in "real" gaming situations. 

When i have more news i Will tell more. 

Share this post


Link to post
Share on other sites

Hello im new user of netduma r2, could someone help me with traffic priortization in PC. Nat open still should i open ports 1:65535? Thank you in advance.

 

Share this post


Link to post
Share on other sites
2 hours ago, DUMA BOLTON said:

What’s the settings knomax? Gonna give them a try .... 👍

It isnt settings... It is a hole new script that you must load It in Openwrt. 

Share this post


Link to post
Share on other sites

@Knomax what is the best bandwith to give to the game, at what bandwidth do u suggest to throttle (Mbps DL/UL) ?

I use a PS4 btw I think u as well, from the 3074-3074 30000-65535 UDP ports that u have been catching from in-game traffic.

Share this post


Link to post
Share on other sites

@DUMA BOLTON  sorry i don't have the translate j'ai fait une vidéo plus ou moins explicative pour comprendre le fonctionnement du script,

 

je suis juju1366 sur le forum openwrt (julien) chez moi je n'ai aucune correction de bug apres j'ai une connexion vdsl2 avec les dev on a adapté pour ma connexion mais je ne suis pas certains voici le lien de ma video ;) le script est en lien dans la description 

en espérant pouvoir aider un peu plus la communauté, bonne fete a vous ! :)

Share this post


Link to post
Share on other sites
13 minutes ago, Dopam-IT_1987 said:

@DUMA BOLTON  sorry i don't have the translate j'ai fait une vidéo plus ou moins explicative pour comprendre le fonctionnement du script,

 

je suis juju1366 sur le forum openwrt (julien) chez moi je n'ai aucune correction de bug apres j'ai une connexion vdsl2 avec les dev on a adapté pour ma connexion mais je ne suis pas certains voici le lien de ma video ;) le script est en lien dans la description 

en espérant pouvoir aider un peu plus la communauté, bonne fete a vous ! :)

Juju1366 Just copy It isnt creator. If you look in Openwrt post for script i fix some bugs in code other person create New code to attach... And so on... Some members that involved... Dlakelan.. Moeller...Exreyfox.. In public post we upload latest updated script.. But also we speak via pm for fixes.. Ideas.. Troublshoot etc. A photo of traffic analysis from ps4 cold war

6417804e1508165507cd25ac7111076527a8e3b5

Share this post


Link to post
Share on other sites

bien évidemment knomax ;) je n'ai pas dit que j'ai créer mais qu'on a adapté pour ma connexion grace à l'aide de david, moeller, et daniel, et vous meme il faudrait pouvoir adapté pour chaque type de connexion, c 'est a dire vous en adsl, moi en vdsl2 et pour ceux qui ont de très grandes connexions comme la fibre optique;):) et je leur en remercie 

Share this post


Link to post
Share on other sites
24 minutes ago, Dopam-IT_1987 said:

@DUMA BOLTON  sorry i don't have the translate j'ai fait une vidéo plus ou moins explicative pour comprendre le fonctionnement du script,

 

je suis juju1366 sur le forum openwrt (julien) chez moi je n'ai aucune correction de bug apres j'ai une connexion vdsl2 avec les dev on a adapté pour ma connexion mais je ne suis pas certains voici le lien de ma video ;) le script est en lien dans la description 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...