[OpenWrt-Devel] trying to acheive close to 1 Gbps with 802.11ac 3x3 mimo ath10k Compex wle900vx

David Johnson david.lloyd.johnson at gmail.com
Fri Oct 5 18:30:34 EDT 2018


It looks like Ben was right

Further investigation is showing that my Compex WPJ563 (Qualcomm
Atheros QCA9563 74Kc MIPS processor, Dragonfly Series 64KB I-Cache and
32 KB D-Cache, targeted to operate at 775MHz 128MB System Memory, 16MB
NOR Flash) is the bottleneck.

I've tested on the 1Gbps Ethernet link between a laptop with a 1Gbps
port and the Compex 1Gbps port and the best throughput I got was 98
Mbps. This was with 3 TCP streams on iperf.

I'm still finding it hard to believe that I can't get more speed out
of this compex board running openwrt ... top is not showing the CPU go
over 30% with iperf when the test is running

Thanks for the other advice - I've built a test rig with antennas
oriented like a propeller at 120 degrees  (I'll share a pic) ... once
I sort out the underlying problem or upgrade my router board - I'll
test this mimo rig.

David

On Fri, Oct 5, 2018 at 6:02 PM Ben Greear <greearb at candelatech.com> wrote:
>
> If you are running iperf on a weak-ish AP CPU, then that will be a bottleneck.
> Run iperf on external system through the AP instead.  For TCP, use multiple streams,
> and first test with Ethernet mode to make sure iperf and/or CPU is not the bottleneck
> before you move to testing the WiFi interfaces.
>
> We can get around 900Mbps UDP download throughput on a 'perfect' setup with 3x3 9880 WLE900VX
> systems and the ath10k-ct firmware.
>
> Forcing MCS rate is not a good idea...tune antennas and/or RF environment so that you do not have
> to force MCS to get highest encoding rate.
>
> Thanks,
> Ben
>
> On 10/05/2018 04:17 AM, David Johnson wrote:
> > I'm trying to see what max speed can be achieved
> >
> > My setup is as follow:
> > Board: Compex WPJ 563
> > Card Compex wle900vx
> > OS: Libremesh running openwrt 18.06
> > Driver: ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5
> > features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
> > Firmware: firmware-5.bin_10.2.4-1.0-00041
> >
> > Physical setup
> > Connected 3 6dBi antennas on each side to CH0, CH1, CH2 port to
> > achieve 3x3 mimo. Distance between 2 devices is 2m on a bench. Set
> > power level on each end to 8 dBm to ensure I don't saturate radios
> >
> > Status of radio Node A
> > iwinfo wlan0-mesh info
> > wlan0-mesh ESSID: "speedtest"
> >           Access Point: 04:F0:21:3E:DA:A2
> >           Mode: Client  Channel: 48 (5.240 GHz)
> >           Tx-Power: 8 dBm  Link Quality: 70/70
> >           Signal: -33 dBm  Noise: -102 dBm
> >           Bit Rate: 6.0 MBit/s
> >           Encryption: none
> >           Type: nl80211  HW Mode(s): 802.11bgnac
> >           Hardware: 168C:003C 0000:0000 [Qualcomm Atheros QCA9880]
> >           TX power offset: none
> >           Frequency offset: none
> >           Supports VAPs: yes  PHY name: phy0
> >
> > Status of radio Node B
> > wlan0-mesh ESSID: "speedtest"
> >           Access Point: 04:F0:21:3E:DA:A2
> >           Mode: Master  Channel: 48 (5.240 GHz)
> >           Tx-Power: 8 dBm  Link Quality: 65/70
> >           Signal: -45 dBm  Noise: -105 dBm
> >           Bit Rate: 6.0 MBit/s
> >           Encryption: none
> >           Type: nl80211  HW Mode(s): 802.11bgnac
> >           Hardware: 168C:003C 0000:0000 [Qualcomm Atheros QCA9880]
> >           TX power offset: none
> >           Frequency offset: none
> >           Supports VAPs: yes  PHY name: phy0
> >
> >
> > Ping between radios
> >
> > root at FlatsEast:~# ping 10.69.0.1
> > PING 10.69.0.1 (10.69.0.1) 56(84) bytes of data.
> > 64 bytes from 10.69.0.1: icmp_req=1 ttl=64 time=1.29 ms
> > 64 bytes from 10.69.0.1: icmp_req=2 ttl=64 time=1.22 ms
> > 64 bytes from 10.69.0.1: icmp_req=3 ttl=64 time=1.22 ms
> >
> > Used iperf to set throughput
> > Client side
> > iperf -c 10.69.0.1 -P 10 -i 5 -t 120
> >
> > Server side
> > iperf -s
> >
> > Best performance achieved after waiting for TCP to stabalize: 139 Mbps
> > [ 12] 45.0-50.0 sec  11.8 MBytes  19.7 Mbits/sec
> > [ 11] 45.0-50.0 sec  7.12 MBytes  12.0 Mbits/sec
> > [  9] 45.0-50.0 sec  8.12 MBytes  13.6 Mbits/sec
> > [  6] 45.0-50.0 sec  7.75 MBytes  13.0 Mbits/sec
> > [  8] 45.0-50.0 sec  8.00 MBytes  13.4 Mbits/sec
> > [  4] 45.0-50.0 sec  7.75 MBytes  13.0 Mbits/sec
> > [  3] 45.0-50.0 sec  7.75 MBytes  13.0 Mbits/sec
> > [ 10] 45.0-50.0 sec  6.62 MBytes  11.1 Mbits/sec
> > [  7] 45.0-50.0 sec  7.88 MBytes  13.2 Mbits/sec
> > [  5] 45.0-50.0 sec  9.88 MBytes  16.6 Mbits/sec
> > [SUM] 45.0-50.0 sec  82.6 MBytes   139 Mbits/sec
> >
> > top:
> >
> > Mem: 47064K used, 78232K free, 188K shrd, 3936K buff, 10564K cached
> > CPU:  19% usr  36% sys   0% nic   0% idle   0% io   0% irq  43% sirq
> > Load average: 4.59 3.06 1.90 3/74 25823
> >   PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
> >     3     2 root     RW       0   0%  32% [ksoftirqd/0]
> > 24511  4419 root     S    33320  27%  22% iperf -c 10.69.0.1 -P 10 -i 5 -t 120
> >
> > Any suggestions
> >
> > Regards
> > David
> >
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list