Strange latency issue on both wifi bands...

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 59
Location: Copenhagen, Denmark

PostPosted: Wed Sep 09, 2020 10:44    Post subject: Strange latency issue on both wifi bands... Reply with quote
So, I bought this new R7800 router and after struggling for a while I have achieved a somewhat stabile setup.

I have read a lot of threads - in particular on how to achieve a stabile (not necesseraly fast) wifi setup. I have followed the Guru's (msoengineer and others) of R7800 on how to set up wifi and QoS.

The problem is that I have a strange issue which I can only describe as latency on websites on my mobile devices.

There's a 5-10 seconds wait time until a page is loaded (which it does fast enough) - sometimes the page times out and immediately thereafter loads. This also affects apps which are dependant on TCP - I can get past that issue by switching to 4G where there's no latency(!).

I have migrated from an old D-Link DIR-825 with revision 39715 std and never experienced this issue.

The problem is on both 2,4 GHz (NG-mixed) and 5 GHz (AC/N-mixed) as well as guest networks (ath0.1 and ath1.1). I have no issues with wired connections.

I have tried several newer revisions with little succes. I can't use the newest rev. 44251 std as there seems to be a problem with pages not updating correctly (DD-WRT GUI).

    Have anyone had success with particularly 5 GHz wifi on other revisions and which?
    Have anyone else latency issues on either 2,4 GHz or 5 GHz and resolved those?
    I have turned QoS off but will turning on QoS help on this issue?
    Other things to try?


There's no load on the device (max. 0.15 average) and 76% free memory on the device. It's a small setup with few connected clients where one is on VPN.

I'll be happy to post my settings but as I wrote, they're - mostly - setup as adviced.

I acknowledge that similar issues have been discussed in many threads and that I for the time being just have to accept the issue.

Thanks,

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r45493 std (01/19/21)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 4175
Location: UK, London, just across the river..

PostPosted: Wed Sep 09, 2020 11:12    Post subject: Reply with quote
there is a lot of WIP on the recent builds,
especially, try an older builds, somewhere around May things
ware kind of ok... in general i dont have a latency issue, but have disconnections....
try bacon interval 100 or tcp congestion control vegas
i do not use rts cts too, no idea what else, post all the wifi settings....
if you go trough vpn or anything like special dns settings and so on...

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 45849 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 45849 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 45849 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 45859 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 45859 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7428
Location: YWG, Canada

PostPosted: Wed Sep 09, 2020 11:27    Post subject: Reply with quote
verified its not a sudden dns/wan issue? and i would update the dir-825 to current builds, the same as the r7800 and see if its happening on that too
_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9888 ------> r45890 std
[QUALCOMM] DIR-862L --------------------------------> r45890 std
[QUALCOMM] WNDR4300 v1 --------------------------> r45890 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] DIR-862L --------------------------------> r45865 std
[BROADCOM] DIR-860L A1 ----------------------------> r44901 std


If you use DSLReports please enable hi-res bufferbloat.


Sigh.. why do i exist anyway..
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 59
Location: Copenhagen, Denmark

PostPosted: Wed Sep 09, 2020 12:05    Post subject: Reply with quote
Alozaros wrote:
there is a lot of WIP on the recent builds,
especially, try an older builds, somewhere around May things
ware kind of ok... in general i dont have a latency issue, but have disconnections....
try bacon interval 100 or tcp congestion control vegas
i do not use rts cts too, no idea what else, post all the wifi settings....
if you go trough vpn or anything like special dns settings and so on...


Below are my settings:

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r45493 std (01/19/21)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1677
Location: Illinois Moderator

PostPosted: Wed Sep 09, 2020 12:53    Post subject: Reply with quote
Strange things happen when SSID broadcast is turned off- turn it back on. Try that first.

Next, a lot of android phones like to use google dns servers... Try using your own one like cloudflare or quad9.

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]45778 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800]napping
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 59
Location: Copenhagen, Denmark

PostPosted: Wed Sep 09, 2020 13:55    Post subject: Reply with quote
msoengineer wrote:
Strange things happen when SSID broadcast is turned off- turn it back on. Try that first.

Next, a lot of android phones like to use google dns servers... Try using your own one like cloudflare or quad9.


Weird, changed to Google DNS and the issue is gone. Never suspected that DNS would be the problem but now it seems obvious. I guess I can setup DNS using DNSMasq to hand out different DNS servers according to fixed IP's.

Thanks for the heads up. Changing to unhidden SSID's made no difference in this case.

Thanks both!

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r45493 std (01/19/21)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 4175
Location: UK, London, just across the river..

PostPosted: Wed Sep 09, 2020 16:15    Post subject: Reply with quote
managing dns for different devices is easy via iptables rules, instead of dnsmasq,
unless you are not using forced dns or DoT or DoH
off topic...never had any complains or latt issues from androids on my R7800, but im using Stubby, it could be the reason....

iptables -t nat -I PREROUTING -i br0 -s xxx.xxx.xxx -p udp --dport 53 -j DNAT --to 8.8.8.8
iptables -t nat -I PREROUTING -i br0 -s xxx.xxx.xxx -p tcp --dport 53 -j DNAT --to 8.8.8.8

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 45849 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 45849 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 45849 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 45859 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 45859 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
a15995
DD-WRT User


Joined: 18 Oct 2016
Posts: 59
Location: Copenhagen, Denmark

PostPosted: Thu Sep 10, 2020 8:38    Post subject: Reply with quote
Alozaros wrote:
managing dns for different devices is easy via iptables rules, instead of dnsmasq,
unless you are not using forced dns or DoT or DoH
off topic...never had any complains or latt issues from androids on my R7800, but im using Stubby, it could be the reason....

iptables -t nat -I PREROUTING -i br0 -s xxx.xxx.xxx -p udp --dport 53 -j DNAT --to 8.8.8.8
iptables -t nat -I PREROUTING -i br0 -s xxx.xxx.xxx -p tcp --dport 53 -j DNAT --to 8.8.8.8


Thanks Alozaros!

It would seem that all other DNS server work as I am now using Cloudflare. The problem was that out of the blue my "trusted" DNS servers stopped responding. I'm trying to clear that issue with the provider now.

What confused me in the first place was that fixed LAN (internet) worked flawlessly with the same DNS servers. That's why I didn't suspect a DNS problem to begin with.

_________________
/Søren
Netgear Nighthawk X4S (R7800 ver. 1) | Atheros/Qualcomm | IPQ8065 dual-core 1.7 GHz | AC2600 | 512 MB RAM | 128 MB FLASH | 128 KB NVRAM
Firmware: DD-WRT v3.0-r45493 std (01/19/21)
Install guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614

msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1677
Location: Illinois Moderator

PostPosted: Thu Sep 10, 2020 12:37    Post subject: Reply with quote
Your wired devices likely had cached the dns/ip's while wireless clients didn't.
_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]45778 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800]napping
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum