Forums - Low throughput observed with UDP client configuration on QCA4020

4 posts / 0 new
Last post
Low throughput observed with UDP client configuration on QCA4020
karthik.gunturi
Join Date: 14 Apr 22
Posts: 3
Posted: Tue, 2022-04-19 09:35

I've measured UDP client uplink throughput for 1Mbps using QCLI_demo command line interface with 1Mbps bitrate. It only transferred with 8kbps

1. Flash QCA4020 with QCLI_Demo project

2. Establish serial connection with higher comport as mentioned in setup guide with rate-115200, databits-8, stopbit-1, flowcontrol-none

3. Browse to WLAN in CLI and type 'enable'

4. Type 'Scan' to scan for availabel networks. 

5. Connect to a network without security using "connect <ssid>" {Password isn't set when "SetWPAPassphrase" command is used. Need help with this}

6. Browse UP and goto NET

7. Use "dhcpv4c wlan0" command to enable dhcp client.(ping AP IP Address to verify)

8. From AP, send "iperf -s -i 1 -u"

9. From Net, send "iperf -c <IP> -t 20 -u -i 1 -b 1M"

Issue is only seen in client configuration with UDP throughput measurement. Low throughput is not observed with TCP UL/DL and UDP DL (server configuration)

Net> iperf -c 192.168.0.154 -t 20 -u -i 1 -b 1M
 
Net>
Net: ------------------------------------------------------------
Net: Client connecting to 192.168.0.154, UDP port 5001
Net: ------------------------------------------------------------
Net: Connecting
Net: Sending
Net: [  0]  0.0- 1.0 sec   4.38 KBytes 16.00 Kbits/sec
Net: [  0]  1.0- 2.0 sec   2.92 KBytes 8.00 Kbits/sec
Net: [  0]  2.0- 3.0 sec   1.46 KBytes 8.00 Kbits/sec
Net: [  0]  3.0- 4.0 sec   1.46 KBytes 8.00 Kbits/sec
Net: [  0]  4.0- 5.0 sec   1.46 KBytes 8.00 Kbits/sec
Net: [  0]  5.0- 6.0 sec   2.92 KBytes 8.00 Kbits/sec
Net: [  0]  6.0- 7.0 sec   2.92 KBytes 8.00 Kbits/sec
 
 
[[email protected] test]# iperf -s -i 1 -u
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.154 port 5001 connected with 192.168.0.151 port 62472
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec  1.43 KBytes  11.7 Kbits/sec   0.000 ms    0/    1 (0%)
[  3]  1.0- 2.0 sec  1.43 KBytes  11.7 Kbits/sec  61.371 ms    0/    1 (0%)
[  3]  2.0- 3.0 sec  1.43 KBytes  11.7 Kbits/sec  119.414 ms    0/    1 (0%)
[  3]  3.0- 4.0 sec  1.43 KBytes  11.7 Kbits/sec  174.455 ms    0/    1 (0%)
[  3]  4.0- 5.0 sec  1.43 KBytes  11.7 Kbits/sec  227.545 ms    0/    1 (0%)
 
  • Up1
  • Down0
raja_pedada
Profile picture
Join Date: 18 Jun 18
Location: San Jose
Posts: 315
Posted: Tue, 2022-05-10 14:40

Try setting below commands to make sure the device is in performance mode to compare results:

wlan SetPowerMode 0
net profile set 1
lp deepsleep 0

  • Up0
  • Down0
karthik.gunturi
Join Date: 14 Apr 22
Posts: 3
Posted: Tue, 2022-05-24 09:20

Thanks for the update. With above changes, the throughputs are 

1. TCP TX -15 mbps

2. TCP RX - 15 mbps

3. UDP TX - 28 mbps

4. UDP RX - 38mbps

Is this discrepancy in throughputs expected or are there any additional parameters I missed like setting max tx buffers ?

  • Up0
  • Down0
raja_pedada
Profile picture
Join Date: 18 Jun 18
Location: San Jose
Posts: 315
Posted: Mon, 2022-08-08 19:18

Kindly refer to Document: 80-YA121-140 QCA402x (CDB2x) Development Kit User Guide,  Table A-3 WLAN throughput instructions between CDB20 and Remote Machine for throughput commands.

Also, refer to latest QCA402x SDK release notes for expected Wi-Fi throughput performance numbers

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.