Help with optimizing my setup for best possible performance in gaming and decrease latency

Mmmh, the download bandwidth stays too low for the setting and with the last test the egress/upload base latency hits 47ms up from 14 ms before.
I have a feeling the next thing to tackle is getting the most out of the r7800. The hardware looks pretty powerful, but there seem to be some issues which might or might not be fixed by better software...

I believe in the kong thread there is also a link somewhere, or people active in this thread might know. But before you get to excited, I have no idea whether that really works as advertised, as there seems to be no real life testing data presented there with sqm/cake at > 100 Mbps...

Idk where's the rest of the 50% lol maybe cause I'm running on my console?

At 200 but im getting 110

Alright what's the call lol what can I do... I think it has to to do with the link layer mtu size maybe check those or maybe I should switch something around

Maybe go back to default and just have the sqm cake with piece of cake idk? What should I do at this point

1 Like

And what's this on your previous post how can I do this (bit for gaming I recomend the per-internal IP address isolation, we have yet to get there).

Well, bufferbloat seems to be well controlled, but your r7800 runs out of CPU cycles while running the shaper. So it looks like the shaper can do around 100000 Kbps with your current firmware/settings.

Do I need to switch my settings around?

Set my download to 100000?

Does the interface have to be eth0.2 wan?

No that is not going to help, you now need to tackle your r7800 issues before we can look at your download any further, but I note that the bufferbloat seems pretty well controlled, so while you research how to deal with the r7800 challenges, you should be able to game pretty decently (at least you will not be hindered by variable/bad latency under load). The issue now seems to be how to get more of your bandwidth back, and I believe that the solution to that in the r7800 threads, hopefully.

For wan shaping this seems to be the correct interface in your case.

Should I get that long build? And if I do am I going to keep everything the way you got my router setup? And I still don't know how to put that build into my router or download it

Should I set my download to 100?

I think I got to flash that build from stock but idk how to go back to stock any help how to I heard I could do it manually ish

And can we get started on how to do this from what u said "bit for gaming I recomend the per-internal IP address isolation, we have yet to get there"

Sure have a look at:
https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm-details

Especially the section titled " Making cake sing and dance, on a tight rope without a safety net (aka advanced features)". That should get you going.

Good luck.

1 Like

I switched back to the old build I was using... Kong is good but it's not reducing my download it's inconsistent

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 KONG 19, 2019-Q2
 -----------------------------------------------------
root@OpenWrt:~# cat /etc/config/sqm

config queue 'eth1'
        option linklayer 'none'
        option enabled '1'
        option interface 'eth0.2'
        option download '170000'
        option upload '30175'
        option debug_logging '0'
        option verbosity '5'
        option qdisc 'cake'
        option script 'layer_cake.qos'
        option qdisc_advanced '1'
        option squash_dscp '1'
        option squash_ingress '1'
        option ingress_ecn 'ECN'
        option egress_ecn 'NOECN'
        option qdisc_really_really_advanced '1'
        option iqdisc_opts 'ingress nat dual-dsthost'
        option eqdisc_opts 'nat dual-srchost'

root@OpenWrt:~# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)

 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root
 Sent 491180014 bytes 1329184 pkt (dropped 0, overlimits
 0 requeues 13961)
 backlog 0b 0p requeues 13961
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 
1024 quantum 1514 target 5.0ms interval 100.0ms memory_l
imit 4Mb ecn
 Sent 491180014 bytes 1329184 pkt (dropped 0, overlimits
 0 requeues 13961)
 backlog 0b 0p requeues 13961
  maxpacket 1448 drop_overlimit 0 new_flow_count 12228 e
cn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth1 root
 Sent 1810210582 bytes 1402337 pkt (dropped 4, overlimit
s 0 requeues 17020)
 backlog 0b 0p requeues 17020
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 
1024 quantum 1514 target 5.0ms interval 100.0ms memory_l
imit 4Mb ecn
 Sent 1810210582 bytes 1402337 pkt (dropped 4, overlimit
s 0 requeues 17020)
 backlog 0b 0p requeues 17020
  maxpacket 1514 drop_overlimit 0 new_flow_count 117378 
ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)

 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth1.1 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)

 backlog 0b 0p requeues 0
qdisc cake 800a: dev eth0.2 root refcnt 2 bandwidth 3017
5Kbit diffserv3 dual-srchost nat nowash no-ack-filter sp
lit-gso rtt 100.0ms raw overhead 0
 Sent 135581952 bytes 347226 pkt (dropped 292, overlimit
s 136815 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 559744b of 4Mb
 capacity estimate: 30175Kbit
 min/max network layer size:           42 /    1514
 min/max overhead-adjusted size:       42 /    1514
 average network hdr offset:           14

                   Bulk  Best Effort        Voice
  thresh       1885Kbit    30175Kbit     7543Kbit
  target          9.7ms        5.0ms        5.0ms
  interval      104.7ms      100.0ms      100.0ms
  pk_delay          0us        1.8ms        1.2ms
  av_delay          0us         65us         28us
  sp_delay          0us          8us          7us
  backlog            0b         214b           0b
  pkts                0       347322          196
  bytes               0    135957802        22115
  way_inds            0         1775            0
  way_miss            0         2948           14
  way_cols            0            0            0
  drops               0          292            0
  marks               0            0            0
  ack_drop            0            0            0
  sp_flows            0            0            1
  bk_flows            0            1            0
  un_flows            0            0            0
  max_len             0        12112          590
  quantum           300          920          300

qdisc ingress ffff: dev eth0.2 parent ffff:fff1 --------
--------
 Sent 628642456 bytes 562440 pkt (dropped 0, overlimits 
0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)

 backlog 0b 0p requeues 0
qdisc cake 800b: dev ifb4eth0.2 root refcnt 2 bandwidth 
170Mbit besteffort dual-dsthost nat wash ingress no-ack-
filter split-gso rtt 100.0ms raw overhead 0
 Sent 646287370 bytes 562307 pkt (dropped 133, overlimit
s 133747 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 1862960b of 8500000b
 capacity estimate: 170Mbit
 min/max network layer size:           60 /    1514
 min/max overhead-adjusted size:       60 /    1514
 average network hdr offset:           14

                  Tin 0
  thresh        170Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay        4.9ms
  av_delay        280us
  sp_delay          9us
  backlog            0b
  pkts           562440
  bytes       646484936
  way_inds        10362
  way_miss         1971
  way_cols            0
  drops             133
  marks               0
  ack_drop            0
  sp_flows            1
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum          1514
1 Like