Netgear R7800 exploration (IPQ8065, QCA9984)

Do you experience this dmesg spam with block-mount installed?
[ 8.703103] mount_root: loading kmods from internal overlay
[ 8.713724] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 8.715102] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 8.726678] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 8.727219] blk_update_request: I/O error, dev mtdblock0, sector 8
[ 8.733528] blk_update_request: I/O error, dev mtdblock0, sector 16
[ 8.739714] blk_update_request: I/O error, dev mtdblock0, sector 24
[ 8.745747] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 8.751514] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[ 8.758656] blk_update_request: I/O error, dev mtdblock1, sector 0
[ 8.765408] blk_update_request: I/O error, dev mtdblock1, sector 8
[ 8.771721] blk_update_request: I/O error, dev mtdblock1, sector 16
[ 8.777817] blk_update_request: I/O error, dev mtdblock1, sector 24
[ 8.784105] blk_update_request: I/O error, dev mtdblock1, sector 0
[ 8.789794] Buffer I/O error on dev mtdblock1, logical block 0, async page read

1 Like

There's new wifi firmware by the way
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/commit/ath10k/QCA9984/hw1.0/firmware-5.bin_10.4-3.4-00072?id=d43cb1188154037506e94abf3aa456cc934c6861

Yes. The same log spam.

The newer wifi firmware seem to add mesh support
ath10k_pci 0001:01:00.0: firmware ver 10.4-3.4-00072 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 75ec955f

How's your experience using irqbalance by the way?

[quote="dissent1, post:71, topic:285, full:true"]
How's your experience using irqbalance by the way?
[/quote]I tried it and looked into network traffic thrgouhput results with "flent" for various QoS strategies in SQM (simple, layer_cake) as the simple/fq_codel has a strange miscalculation due to poor HTB performance (like I have discussed earlier).

Using irqbalance improved throughput somewhat, but as my ISP connection does not fully consume the CPU power, there is not that much difference. I used 90/8 Mbit/s limits:

                        90  /  8  / latency

cake irqbalance        85,6 / 6.1 / 18
simple default (33)    80.5 / 6.4 / 20
simple affinity 1-2    81.2 / 6.2 / 20
simple irqbalance      81.4 / 6.4 / 19

Changing eth0/eth1 affinity from the default 3-3 to 1-2 already improved download thoughput slightly (by 0.7 Mb/s) but hurt upload a bit, and then irqbalance further improved both directions marginally.

I have not tested how IRQs would behave with wifi traffic.

Irqbalance moved IRQs during the test several times and to my surprise actually moved eth0 and eth1 to the same affinity. It apparently balanced them against some other IRQs that were relevant to the traffic.

The impact from irqbalance was so small that I did not install it into my build by default. If I had a connection that would fully consume the CPU, then it might have more use.

@hnyman, did you have the irqbalance integrated to your latest lede1701-r3133-86bd886697-20170208 ?

I have a new unit on hand, I think I can test it out within 2 days on my 300/30 connection

No, I have not yet backported irqbalance to 17.01. So far it only exists in master.
But I might backport it. (no actual changes are needed, so it is rather easy)

Actually, both 17.01 and master are currently built with kernel 4.4.47 and have musl 1.16, so it is very likely that the package built by the builtbot for master would also run in 17.01:
http://downloads.lede-project.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/irqbalance_1.2.0-2_arm_cortex-a15_neon-vfpv4.ipk

I need some help (not related to irqbalance)

My wifi can only get 6Mbit bitrate for 5G, 1Mbit for 2.4G for download.
The upload can work properly. Any idea?

I tried different build, and those from buildbot as well

Shows the same for me in Luci. Not sure if it is a bug but it is incorrect as I still get full throughput so I would disregard that until we get further info.

Thanks @travmo

My problem seems to be 2 combined in 1.

The bitrate you told me just now so I ignored it.

My real problem is the extreme slow wifi link at 0.01Mbit on speedtest. I revert to stock and need a reset from stock firmware for this to get fixed. Now is good and start testing with r3375

Ah okay, I see now. I thought you showed 6 Mbit/s for 5G and 1 Mbit/s to 2.4. If you are actually getting slow speeds, then that is another issue. Glad you it working on another build. I use Wifi Explorer for Mac to see what my max rate is.

What you thought is right, I actually mean that. Just come together with another one :slight_smile:

Settings: Ingress 286720
Test Site: beta.speedtest.net

  • FQ_CODEL + TBF = 61 Mbps
  • FQ_CODEL + Simplest QOS (HTB) = 191 Mbps
  • Cake + Simplest TBF = 60 Mbps
  • Cake + Simplest QOS (HTB) = 201 Mbps
  • Cake + Piece of Cake = 232 Mbps
  • Setting Off = 234Mbps

Result possibly max out, because it is 7:30 AM Fri here.

I have IRQBalance Installed for the above results

During the test for about 18 times, Core 0 load up to 1.6GHz for 9 times, Core 1 at 1.6GHz for 1 times, mostly between 1Ghz to 1.4Ghz

Hope these figure helps

The build is great @hnyman !~ Thanks a lot. Installed almost everything I need and after I add some packages, still have 14MB free. Feel more responsive on my 5G A/N Wlan on this router, than the mlwifi (wrt1900acs)

Edit: Set on Cake + Piece of Cake and run bufferbloat test on Wifi, score A. Better than the previous wrt1900acs's B. Happy

Result should be better, is it wired or wireless? And what's your connection type poe, l2tp or smth?

It is on wire, cable (comcast)
I redo it just now and the result is better with comcast's own speedtest

Settings: Ingress 306176 ( target 260 Mbps, added 15%)
Test Site: speedtest.xfinity.com

  • FQ_CODEL + TBF = 51 Mbps
  • FQ_CODEL + Simplest QOS (HTB) = 246 Mbps
  • Cake + Simplest TBF = 51 Mbps
  • Cake + Simplest QOS (HTB) = 247 Mbps
  • Cake + Piece of Cake = 250 Mbps
  • Setting Off = 286 Mbps

Settings: Ingress 317952 ( target 270 Mbps, added 15%)
Test Site: speedtest.xfinity.com

  • FQ_CODEL + TBF = 55 Mbps
  • FQ_CODEL + Simplest QOS (HTB) = 254 Mbps
  • Cake + Simplest TBF = 55 Mbps
  • Cake + Simplest QOS (HTB) = 263 Mbps
  • Cake + Piece of Cake = 272 Mbps
  • Setting Off = 286 Mbps

Edit:
The 160MHz is never successfully enabled. I assume it is normal, isn't it?

I got Wifi Explorer now, and seems the 6M and 1M are the Min Rate (right click column and select min rate)

About the program, much better than NetSpot

There's new wifi firmware by the way
https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/commit/ath10k/QCA9984/hw1.0/firmware-5.bin_10.4-3.4-00072?id=d43cb1188154037506e94abf3aa456cc934c68612

How is your exprience with it? better than the previous one?

Haven't noticed any changes in my setup.

By the way, has anyone noticed that when setting 5ghz channel to 36-48 there's always an error in syslog stating that ath10k failed to set some parameter for vdev, each time different parameter. Other channels do not produce this error

Search syslog for "vdev" after setting any channel in 36-48 range.