Netgear R7800 exploration (IPQ8065, QCA9984)


#1231

then I Think it was a kernel regression... nothing related to openwrt....


#1232

Yep, it sounds like that. I tried identifying the possible fix from the kernel changelog, but did not quickly pick up anything likely, although naturally there are several network related commits.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/log/?h=linux-4.14.y

(18.06.0-rc1 is planned to be tagged tomorrow, and currently .50 is still there in 18.06. Possibly .51 gets only into rc2 or final. From that perspective it would be really helpful to be certain that .51 really fixes the problem. So hopefully people with speedy connections do test that kernel bump patch.)


#1233

well i think that kernel should be upgraded in the release just to be sure...

Could be a problem with every 4.14 device...


#1234

That's correct.

It would be nice if someone else with a fast connection could confirm my results.


#1235

Can confirm. iperf maxes out now.


#1236

Boo. iperf3 drops by half when connected to WAN.

iperf3 -c openwrt
Connecting to host openwrt, port 5201
[  5] local fd9a:d091:22c5::ddd port 49838 connected to fd9a:d091:22c5::1 port 5201

[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  63.2 MBytes   530 Mbits/sec  217    787 KBytes       
[  5]   1.00-2.00   sec  61.1 MBytes   513 Mbits/sec    0    841 KBytes       
[  5]   2.00-3.00   sec  62.3 MBytes   523 Mbits/sec    0    891 KBytes       
0[  5]   3.00-4.00   sec  59.9 MBytes   502 Mbits/sec    0    941 KBytes       
[  5]   4.00-5.00   sec  61.0 MBytes   512 Mbits/sec    0    990 KBytes       
[  5]   5.00-6.00   sec  62.3 MBytes   523 Mbits/sec    0   1.01 MBytes       
[  5]   6.00-7.00   sec  61.1 MBytes   513 Mbits/sec    0   1.05 MBytes       
[  5]   7.00-8.00   sec  61.1 MBytes   512 Mbits/sec    0   1.09 MBytes       
[  5]   8.00-9.00   sec  61.1 MBytes   513 Mbits/sec    0   1.13 MBytes       
[  5]   9.00-10.00  sec  62.4 MBytes   523 Mbits/sec    0   1.17 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   615 MBytes   516 Mbits/sec  217             sender
[  5]   0.00-10.04  sec   613 MBytes   512 Mbits/sec                  receiver

iperf Done.

Full speed if it's just the computer connected. Guess that's the one issue with qca8k.

edit: I could add a USB WAN port. But USB has a lot of buffering...


#1237

Just built 18.06 with 4.14.51 patch applied, will test in the next hour or so.


#1238

@hnyman in think we should include in the release also led patch and the fix with 160... (if someone select 160mhz the firmware crash, not so good for a stable release!!!)

Led patch got merged in trunk...


#1239

Are you running qca8k?


#1240

You did not look into 18.06?
Both were backported there right after they got into master.


#1241

nope :frowning: also i can't find your patch for the 01_leds... we should include them too.


#1242

Yeah, we need device specific LED definitions, too.

I can submit a patch for R7800 next week, but not before that.


#1243

Here


#1244

Of course. It is the future.


#1245

But as of this time it doesn't support two cpu ports, right?


#1246

Unfortunate for ipq806xβ€”it looks like 18.06 rc1, which was released today, is still on 4.14.50 (confirming hynman's post)...


#1247

I couldn't care less.


#1248

Master is still on 4.14.50 as well - https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/kernel-version.mk;h=825a227915450ae71bc8709881b136e1414ca8dc;hb=333e609703ff40a272b8f8832a8af682826fb572


#1249

I've also run some iperf3 tests on a computer connected via ethernet to the R7800 and the results appear a bit strange. During the tests neither SQM nor flow offloading was enabled; I didn't touch any settings after resetting OpenWrt to defaults. The numbers seem low and they fluctuate:

[telia ~]$ iperf3 -c ping.online.net -p 5205 -R
Connecting to host ping.online.net, port 5205
Reverse mode, remote host ping.online.net is sending
[  5] local 192.168.1.2 port 38066 connected to 62.210.18.40 port 5205
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  8.71 MBytes  73.0 Mbits/sec                  
[  5]   1.00-2.00   sec  14.0 MBytes   117 Mbits/sec                  
[  5]   2.00-3.00   sec  10.5 MBytes  87.9 Mbits/sec                  
[  5]   3.00-4.00   sec  10.2 MBytes  85.8 Mbits/sec                  
[  5]   4.00-5.00   sec  9.09 MBytes  76.3 Mbits/sec                  
[  5]   5.00-6.00   sec  8.30 MBytes  69.6 Mbits/sec                  
[  5]   6.00-7.00   sec  7.81 MBytes  65.5 Mbits/sec                  
[  5]   7.00-8.00   sec  6.94 MBytes  58.2 Mbits/sec                  
[  5]   8.00-9.00   sec  6.56 MBytes  55.0 Mbits/sec                  
[  5]   9.00-10.00  sec  5.67 MBytes  47.6 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  89.9 MBytes  75.4 Mbits/sec   43             sender
[  5]   0.00-10.00  sec  87.7 MBytes  73.6 Mbits/sec                  receiver

iperf Done.
[telia ~]$ iperf3 -c ping.online.net -p 5206 -R
Connecting to host ping.online.net, port 5206
Reverse mode, remote host ping.online.net is sending
[  5] local 192.168.1.2 port 40476 connected to 62.210.18.40 port 5206
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  6.06 MBytes  50.8 Mbits/sec                  
[  5]   1.00-2.00   sec  9.74 MBytes  81.7 Mbits/sec                  
[  5]   2.00-3.00   sec  9.48 MBytes  79.5 Mbits/sec                  
[  5]   3.00-4.00   sec  10.0 MBytes  83.9 Mbits/sec                  
[  5]   4.00-5.00   sec  10.2 MBytes  85.6 Mbits/sec                  
[  5]   5.00-6.00   sec  10.2 MBytes  85.3 Mbits/sec                  
[  5]   6.00-7.00   sec  8.14 MBytes  68.3 Mbits/sec                  
[  5]   7.00-8.00   sec  8.77 MBytes  73.6 Mbits/sec                  
[  5]   8.00-9.00   sec  9.06 MBytes  76.0 Mbits/sec                  
[  5]   9.00-10.00  sec  7.38 MBytes  61.9 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  90.2 MBytes  75.6 Mbits/sec   21             sender
[  5]   0.00-10.00  sec  89.0 MBytes  74.6 Mbits/sec                  receiver

iperf Done.
[telia ~]$ iperf3 -c ping.online.net -p 5207 -R
Connecting to host ping.online.net, port 5207
Reverse mode, remote host ping.online.net is sending
[  5] local 192.168.1.2 port 44358 connected to 62.210.18.40 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  6.04 MBytes  50.7 Mbits/sec                  
[  5]   1.00-2.00   sec  10.4 MBytes  87.6 Mbits/sec                  
[  5]   2.00-3.00   sec  10.3 MBytes  86.8 Mbits/sec                  
[  5]   3.00-4.00   sec  6.63 MBytes  55.7 Mbits/sec                  
[  5]   4.00-5.00   sec  7.06 MBytes  59.2 Mbits/sec                  
[  5]   5.00-6.00   sec  5.46 MBytes  45.8 Mbits/sec                  
[  5]   6.00-7.00   sec  4.69 MBytes  39.3 Mbits/sec                  
[  5]   7.00-8.00   sec  3.50 MBytes  29.4 Mbits/sec                  
[  5]   8.00-9.00   sec  3.81 MBytes  32.0 Mbits/sec                  
[  5]   9.00-10.00  sec  3.13 MBytes  26.3 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  62.0 MBytes  52.0 Mbits/sec   33             sender
[  5]   0.00-10.00  sec  61.1 MBytes  51.3 Mbits/sec                  receiver

iperf Done.

The last run in particular had poor performance. Is this normal?


#1250

just read 10 post up......