Help me prevent my router's cache to prevent it from slowing down in game

Hello everyone I don't know why my router sometimes experiences sudden slowdowns as and when I use it,

the only solution is to reflash it and the gameplay with SQM becomes fluid again is there a solution to refresh the cache, I heard that in dnsmasq we could do it but nothing changes the router becomes slow again

https://forum.openwrt.org/t/how-do-i-completely-clear-any-luci-caches-and-restart-it/74241/7

https://www.rootusers.com/how-to-change-log-rate-limiting-in-linux/

@dlakelan @moeller0 @segal_72 @EXREYFOX

I don't think this has anything to do with caching. Sounds more likely maybe cpu frequency scaling or a driver that is buggy. When you do a reboot by unplugging power does it not go back to normal? You have to reflash?

2 Likes

good evening dlakelan thank you for your quick response

actually I use several builds that @blaze create or @maaax because unfortunately there is no support for the mikrotik Hap Ac2 yet

maybe I should go back to another build, I don't know ... I have 3 or 4 versions of different builds coming from the forum do you think that this like you say can have a consequence?

What is the situation here... Turning it off and on, does it work?

yes indeed when I unplug the power it works again the character finds his fluidity in my game

this is my version

Next time it happens log in and run top -d 1 See what cpu usage and idle time looks like

2 Likes

so i have captured the vide of 30 Sec ..

https://drive.google.com/file/d/10ctM4YxmySLTvqhK0VvrAHFiT76rk64E/view?usp=sharing

this is my vs all time party very strong

Pretty hard to read on that super low res video. but it showed 98% idle I think, so nothing going on CPU usage wise.

1 Like

my opponents often have a much higher level is this because of my level of play (sbmm) or something else

exaclty 98 idle for information my gameplay is fluide at the moment ... very most fluide

Capture d’écran 2021-02-24 à 23.31.33

Is your gaming machine connected by Ethernet, or is it wireless?

Does the RAM used bar start at 70 MB right after reboot or does it creep up over time?

With only 128 MB of RAM in the box, you should be running kmod-ath10k-ct-smallbuffers since regular ath10k-ct eats up a lot of RAM. But that's more likely to be an outright crash.

2 Likes

Uploading: Capture d’écran 2021-02-24 à 23.35.47.png...

good evening @mk24 do you want a reboot my router for see ? you talk like ram like my screen capture ?

Don't reboot yet, just keep watching the "Used" number to see if it goes higher and higher, and where it is when the game starts to get slow.

1 Like

ok will plaing now i comeback after thanks for your help

ok so this is for begin my qdisc after 2 game slow very slow ping always about 30 36 ms

root@OpenWrt:~# tc -s -d 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 cake 8008: dev eth0 root refcnt 5 bandwidth 56Mbit besteffort triple-isolate nonat nowash ack-filter split-gso rtt 100ms noatm overhead 44 mpu 64
 Sent 32305715010 bytes 25611343 pkt (dropped 192961, overlimits 51982619 requeues 22)
 backlog 0b 0p requeues 22
 memory used: 691664b of 4Mb
 capacity estimate: 56Mbit
 min/max network layer size:            6 /    1500
 min/max overhead-adjusted size:       64 /    1544
 average network hdr offset:           14

                  Tin 0
  thresh         56Mbit
  target            5ms
  interval        100ms
  pk_delay        431us
  av_delay        116us
  sp_delay         27us
  backlog            0b
  pkts         25804304
  bytes     32524543388
  way_inds      3653270
  way_miss        11183
  way_cols            0
  drops          192960
  marks               0
  ack_drop            1
  sp_flows            1
  bk_flows            1
  un_flows            0
  max_len         27252
  quantum          1514

qdisc cake 800e: dev eth1 root refcnt 5 bandwidth 16Mbit besteffort triple-isolate nonat nowash ack-filter split-gso rtt 100ms noatm overhead 44 mpu 64
 Sent 4665197995 bytes 19779774 pkt (dropped 11756, overlimits 9442296 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 718080b of 4Mb
 capacity estimate: 16Mbit
 min/max network layer size:           28 /    1500
 min/max overhead-adjusted size:       72 /    1544
 average network hdr offset:           14

                  Tin 0
  thresh         16Mbit
  target            5ms
  interval        100ms
  pk_delay       1.29ms
  av_delay        105us
  sp_delay         47us
  backlog            0b
  pkts         19791530
  bytes      4669540530
  way_inds         3070
  way_miss        41095
  way_cols            0
  drops            2632
  marks               0
  ack_drop         9124
  sp_flows            2
  bk_flows            1
  un_flows            0
  max_len         17205
  quantum           488

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 wlan0 root refcnt 2
 Sent 0 bytes 0 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
root@OpenWrt:~#

and after gaming

my screen

i will now look my pc for see the used up like you are talk :slight_smile:

indeed it increased,

@mk24 @dlakelan

i'm not reboot for the moment but i can assure than my gameplay is very slow .. :confused:

when my gameplay is speed i see directly like my video here,

you have an idea ?

I don't know if it can help you

but

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    58.0M    252.0K     57.8M   0% /tmp
/dev/mtdblock8            8.3M    372.0K      7.9M   4% /overlay
overlayfs:/overlay        8.3M    372.0K      7.9M   4% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# cat /proc/meminfo
MemTotal:         118820 kB
MemFree:           57060 kB
MemAvailable:      40952 kB
Buffers:            3564 kB
Cached:            10088 kB
SwapCached:            0 kB
Active:            12768 kB
Inactive:           2848 kB
Active(anon):       2192 kB
Inactive(anon):       24 kB
Active(file):      10576 kB
Inactive(file):     2824 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         118820 kB
LowFree:           57060 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1956 kB
Mapped:             3116 kB
Shmem:               252 kB
KReclaimable:       3532 kB
Slab:              17360 kB
SReclaimable:       3532 kB
SUnreclaim:        13828 kB
KernelStack:         672 kB
PageTables:          312 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       59408 kB
Committed_AS:       6468 kB
VmallocTotal:     909312 kB
VmallocUsed:        6860 kB
VmallocChunk:          0 kB
Percpu:              512 kB
root@OpenWrt:~#

@mk24

view now while download the cod on my new ps5