Joined: 16 Nov 2015 Posts: 6410 Location: UK, London, just across the river..
Posted: Fri May 12, 2017 18:03 Post subject:
vimes wrote:
Seems that Kong has updated the build for the R7800....
DD-WRT v3.0-r31980M kongat (051117)
Not sure what the change-log is but mine has updated and seems fine, no reset.
mine was with not working DNSCrypt nor my R7000 was working too...once i reverted R7800 back to 31900 it was ok... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Posted: Thu May 25, 2017 20:33 Post subject: Kernel 4.9?
This is just a question out of pure curiosity and not a request of any sort. Is there a chance that this router gets Kernel 4.9 and beyond? The reason I'm asking this is because of the project that is claiming to improve the Linux wifi stack all-together.
Does DDWRT utilize any of these features from the Linux kernel or is most of this integrated into the DD-WRT code-base irrespective of the underlying kernel?
Last edited by RandomJerk on Thu May 25, 2017 21:24; edited 1 time in total
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Thu May 25, 2017 20:50 Post subject:
maybe.. probably.. whenever brainslayer wants to activate it, every kernel switch has been like this for years, broadcoms & less than a few brand new usually overpriced (r9000...) qualcomm units get the latest kernel, everyone else waits usually years till one day we finally have it out of no where. switch to 3.18 was like this too.
even then it wont do much, as said on the page "The Hardware: Presently the most open wifi drivers are those based on the ath9k and mt76 chipsets. All other drivers contain binary blobs in precisely the places we need to hack on, and are currently unsuitable for further development. We MAY acquire a firmware license to deal with one or more 802.11ac chips. Read more in the Hardware Plan and the RFP pages."
they blame firmware in newer radios, & only seem to care about some older mediatek driver & ath9k, ath9k is now dying.. no new high end routers have a ath9k interface, the existing ones are all pre-802.11ac, etc.. which further supports these 2 tickets
dir-862L which is the host router in this house, has a ath9k driven 2.4ghz radio, while the 5ghz is ath10k ac, connecting through the ac radio has substantially worse latency when qos is used or when the wifi link rate is saturated, than the 2.4ghz, over twice as bad. even broadcom with airtime fairness performance almost as good as ath9k, but thats the only thing broadcom has i like, rest are all problems. _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
got hundreds more, looks obvious right? internet problem, qos etc, NOT. the problem is this fucking qca9984 in this & other routers, i wouldnt be surprised if qca9980 is the same either.
my setup is a dual nat as i want my own network, the host is a dir-862L, its 2.4ghz radio is a ath9k soc qca9558, its 5ghz radio is the older qca9880, its also doing qos on this 30mbps/5mbps line (actual from isp is 35mbps/5.5mbps all the time & its not powerboost), using htb + fq_codel set at 30720/5120. all devices & ethernet are fine, low latency, stable etc.
EXCEPT. me. using my r7800 in client mode to the host above, bufferbloat & spikes up the ass for the longest time, the problem is mostly on download, its not bad, its abysmal, gaming with that crap..lol.. im using 5ghz, signal is about -65, noise is -97 at the host, -105 at the client (r7800). the qca9984 CANT, RECEIVE, PROPERLY, AT, ALL. and no there is no 5ghz interference here, i switch to 2.4ghz & get this:
still a bloody mess but still better than over 5ghz, though there is 2.4ghz interference here, the qca9984's 2.4ghz isnt great either, but better than 5ghz (as its got 2 of the same radios).
now everything (well most) is making sense now, when i first touched qca99xx (including ea8500 when i had it), i instantly noticed the elevated latency directly to the router with wifi. searched "qca9984 latency" on google, first link to lede has https://forum.lede-project.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/52
except its not just 0.6ms its more like 1.5ms. so everything should be 1.5ms higher thats all? not. but its a tip of the iceburg & at least someone else on this planet also sees it. the 2.4ghz radio is better, maybe 0.5ms higher. sending rapid pings to it shows it clearly when compared to any ath9k radio, broadcom, and even the PREVIOUS GEN qca9880.. my phone gets 2.5ms to the dir-862L, gets 3.5ms to the r7800 5ghz on average, with EASY frequent spikes to over 20ms, for no reason.
i didnt touch the host at all, simply turned on my wndr4300 that has ar9344 soc for 2.4ghz & ar9580 for 5ghz ath9k, in the same physical position as the r7800 even, client mode to the host. nearly ethernet latency & stable, down & up, 5ghz & 2.4ghz. latency to the host almost constantly <1ms. something not seen with qca9984, even with a pc connected to it (wifi), always 1ms at best, usually 2ms & 3ms. why can another router, connecting to the same host, have stable A/A+ bufferbloat, constantly under 35ms, while r7800 has spikes to dial up latency, & by spikes i mean near constant performance there, hardly a "spike" anymore.
note that speedtest.net, or my isp's test @ speedtest.shaw.ca wont show a issue, they arent aggressive enough. once even slight threading is involved, qca9984 shits a hole through the planet. steam game client also shows this beautifully when its downloading anything, in game 45ms becomes a 75ms ~ 150ms, & thats with near constant latency measurements, its EVERYWHERE. unplayable. real world loads are just as ruined by this as dslreports shows.
not weird enough? torrenting at the max download speed will not invoke this problem, it seems whenever there is the SLIGHTEST tiny amount of "simultaneous" upload at the same time, it completely erases the problem & latency is excellent.. ?????
more mindfuckery, this is at its worst when a qos limit is imposed on the wan, if i further reduce qos to 25mbps, its the exact same, 20mbps, same, 15mbps, same, 10mbps magic happens & its nearly gone, 9mbps & it performs like any other radio does at any speed.. wtf??
if i turn off downlink qos & let it bufferbloat at my isp at 35mbps, it actually performs BETTER, but then everyone else that doesnt have broken radios, suffer.. also since i mentioned the dual nat setup, latency to the host remains 2ms ~ 6ms or so when dslreports is illustrating the problem (or when downloading with steam), just the wan side will fuck up.
what ive tried:
-all channels, ALL OF THEM, every 5ghz band range, absolutely no differenc
-low/med/high tx powers
-disabled (0 followed by reboot), low, default, & high (4500, doubled default) ack timings, on both host & r7800, then separately on each, nothing
in short, ath10k qca9880, broadcom, ath9k radios have local ping of <1ms to devices. client mode fine to the same host in same position in same environment with stable <35ms bufferbloat when downloading at max speed with threaded loads.
qca9984 has 2ms ~ 6ms local ping to devices, 5ghz op mode has tremendously bad latency in sta modes on downlink, uplink is also a little spikey, qca9984 in 2.4ghz op mode is much better, but still not even close to basically any other radio.
i was liking this router, now im boiling.. finding out its this, not the host with its "tx starved" qca9880 as brainslayer called it, or qos (that has its own problems still, but this is different), or the modem, or whatever.. oh and my pc is connected to the r7800 with ethernet ofc. _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Well since you are the most qualified guy to speak about this router around here, you're making me doubt if I should return it and buy what my plan B was, the R7000.. :/ _________________ R6400v2 (boardID:30) - Kong 36480 running since 03/09/18 - (AP - DNSMasq - AdBlocking - QoS) R7800 - BS 31924 running since 05/26/17 - (AP - OpenVPN Client - DNSMasq - AdBlocking - QoS) R7000 - BS 30771 running since 12/16/16 - (AP - NAS - FTP - SMB - OpenVPN Server - Transmission - DDNS - DNSMasq - AdBlocking - QoS) R6250 - BS 29193 running since 03/20/16 - (AP - NAS - FTP - SMB - DNSMasq - AdBlocking)
well what are u using it for? client modes or ap? & see if u can copy the problem if using client modes
Nah just ap mode, I don't even do torrenting nor qos. Maaaybe in the future vpn but not sure, so yeah I'm really aware it's way overkill for me but that's not my concern but stability, latency and performance is. _________________ R6400v2 (boardID:30) - Kong 36480 running since 03/09/18 - (AP - DNSMasq - AdBlocking - QoS) R7800 - BS 31924 running since 05/26/17 - (AP - OpenVPN Client - DNSMasq - AdBlocking - QoS) R7000 - BS 30771 running since 12/16/16 - (AP - NAS - FTP - SMB - OpenVPN Server - Transmission - DDNS - DNSMasq - AdBlocking - QoS) R6250 - BS 29193 running since 03/20/16 - (AP - NAS - FTP - SMB - DNSMasq - AdBlocking)
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Thu Jun 22, 2017 21:44 Post subject:
Xeon2k8 wrote:
tatsuya46 wrote:
well what are u using it for? client modes or ap? & see if u can copy the problem if using client modes
Nah just ap mode, I don't even do torrenting nor qos. Maaaybe in the future vpn but not sure, so yeah I'm really aware it's way overkill for me but that's not my concern but stability, latency and performance is.
its fine in ap mode for latency (wifi, ethernet is always fine), at local level. without qos any lag will be internet side cause of that _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Posted: Fri Jun 23, 2017 3:52 Post subject: My settings
Tatsuya, I'm not as qualified as you in this area, and I have learned a lot from your posts,but I did scout the internet and I have extensively tried various settings on both the router and client side(all my computing is on Linux) to optimize my network and reduce bufferbloat without turning on QOS. Also,I don't use my 7800 as Client, I use it as router/AP. I'm not sure if your bufferbloat issues you face, are due to some bug in DD-WRT client mode code, but I will share my tweaks to see if any of them help you.
In addition, the TCP Congestion algorithm I use is 'westwood' on the router side.
On individual machines, I do the following changes to the OS networking stack.All these changes are on Linux, you can find the corresponding Windows settings.
The settings that brought about the most bufferbloat improvements was to change the tcp congestion to westwood on the client machine and switch queue management to fq_codel.
Again, change the OS send/receive buffers on client side too. This could depend on your client machine's RAM. Try to double the default values and see how it impacts your bufferbloat.