From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp3.ugent.be ([157.193.49.127]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cilhv-0001Z5-P6 for ath10k@lists.infradead.org; Tue, 28 Feb 2017 17:37:05 +0000 From: "Ralph Houthoofdt" References: <00d001d291e2$dfb7d950$9f278bf0$@rora.be> In-Reply-To: Subject: RE: QCA9880 slow performance adhoc/IBSS mode Date: Tue, 28 Feb 2017 18:36:41 +0100 Message-ID: <00f501d291e9$3921a740$ab64f5c0$@ugent.be> MIME-Version: 1.0 Content-Language: nl-be List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: 'Ben Greear' Cc: ath10k@lists.infradead.org Dear Ben, Thank you for your quick reply. My mesh is running on channel 36 using VHT80 and a TX power of 20 dbm, the maximum allowed according to my regulatory settings from iw reg get. The hwmode is set as 11a. I have also enable the following ht_capabilities on my radio in /etc/config/wireless: list ht_capab 'short_gi_80' list ht_capab 'max-mpdu-11454' list ht_capab 'TX-STBC-2BY1' list ht_capab 'RX-STBC1' list ht_capab 'RX-ANTENNA-PATTERN' list ht_capab 'TX-ANTENNA-PATTERN' list ht_capab 'MAX-A-MPDU-LEN-EXP7' I just finished running iperf3 from my laptop (2nd gen Core i7) to one of my nodes. The results were indeed a bit different. Iperf server was running on my node and my laptop was the client. UDP: Normal: average result of 221Mbit, which is pretty normal I think. Reverse: average result of 41Mbit, which is better than the average 20Mbit I got when running iperf3 using 2 nodes. TCP: Normal: average result of 49Mbit Reverse: average result of 35.4Mbit In terms of congestion, I'm not sure what you mean, but I'm in a low populated area with few wireless access points. I disabled all my 5GHz devices except for the mesh nodes. InSSIDer only shows my nodes in the 5GHz range. Is there anything else I could try for you? Met vriendelijke groeten, Ralph Houthoofdt Student industri=EBle wetenschappen informatica -----Original Message----- From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of Ben Greear Sent: dinsdag 28 februari 2017 17:56 To: Ralph Houthoofdt ; ath10k@lists.infradead.org Subject: Re: QCA9880 slow performance adhoc/IBSS mode Run iperf on a separate machine, as the apu2 have too weak of a CPU to drive the wifi network at full speed. And, publish what results you do get, including RF information such as channel and how congested is your test area. Try udp as well as tcp. Thanks, Ben On 02/28/2017 08:51 AM, Ralph Houthoofdt wrote: > Dear all, > > I=92m currently doing me masters thesis on the subject of Wireless Mesh = > Networks and how to optimize them for home use. > The devices I use are 5x PC Engine APU2c4 with 2x QCA9880 chip (Compex = > WLE900VX). All of them are running LEDE (OpenWRT fork). > > The problem I=92m experiencing is the same as = > http://lists.infradead.org/pipermail/ath10k/2017-January/009075.html . = > Using the tips mentioned I did not come to a better performance. I=92m = > thinking it=92s driver related.. > When running iperf3 only one direction is running at a reasonable = > throughput. Since I am using adhoc mode primarily I decided to use = > these > packages: > - Kmod-ath10k-ct > - Ath10k-firmware-qca988x-ct > Some sources on the internet said that using the Candela Tech drivers = > should result in better support for adhoc/mesh networks. > > As suggested in the other issue linked above, I switched TCP = > congestion control to =91Reno=92 instead of the default =91Cubic=92. > I also did try the command =93iw reg set BE=94 since I am from Belgium, = > but running =93iw reg get=94 right after still gave me US as a result. > > Let me know what additional command info I should post. Any help would = > be greatly appreciated. > > Iwconfig: > adhoc0 IEEE 802.11 ESSID:"mesh" > Mode:Ad-Hoc Frequency:5.18 GHz Cell: 02:CA:FE:CA:CA:40 > Tx-Power=3D20 dBm > RTS thr:off Fragment thr:off > Encryption key:off > Power Management:off > > > Iw reg get (I=92m from Belgium): > global > country BE: DFS-ETSI > (2402 - 2482 @ 40), (N/A, 20), (N/A) > (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW > (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW > (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS > (57000 - 66000 @ 2160), (N/A, 40), (N/A) > > phy#1 > country US: DFS-FCC > (2402 - 2472 @ 40), (N/A, 30), (N/A) > (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW > (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW > (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS > (5735 - 5835 @ 80), (N/A, 30), (N/A) > (57240 - 63720 @ 2160), (N/A, 40), (N/A) > > phy#0 > country US: DFS-FCC > (2402 - 2472 @ 40), (N/A, 30), (N/A) > (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW > (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW > (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS > (5735 - 5835 @ 80), (N/A, 30), (N/A) > (57240 - 63720 @ 2160), (N/A, 40), (N/A) > > > Kind regards, > Met vriendelijke groeten, > Ralph Houthoofdt > Student industri=EBle wetenschappen informatica > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k