This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-CC1352P7: : Throughput limitation issue when using Linux wpantund with Wi-SUN (stuck at ~ 50kbps)

Part Number: LP-CC1352P7


Tool/software:

Hello,

I am currently testing Wi-SUN network performance test using TI devices with Linux wpantund and iperf.

My test setup uses a Border Router (Linux + wpantund) and Router Node (Linux + wpantund).

And the PHY modes are configured to 50 kbps, 150kbps, and 300kbps in different tests.
(The PHY modes are refered by the documment TI Wi-SUN Network Performance.)


On the application side, I run iperf with UDP and payload size 1200 bytes for 60 seconds.
Server command: iperf -V -u -s -i 1 -B 2020:abcd::212:4b00:xxxx:xxxx
Client command: iperf -c 2020:abcd::212:4b00:xxxx:xxxx -u -V -i 1 -t 60 -l 1200 -b 150k -B 2020:abcd::212:4b00:xxxx:xxxx

Issue

For the PHY mode 50 kbps, the measure throughputs are arount 25 ~ 30.
I looks reasonable.

However, regardless of whether the PHY mode is set to 150kbs, or 300 kbps, the measured throughput always remains around 48~52 kbps.
Even when baudrate is increased to 921600 and buffer size (CONFIG_NCP_TX_BUFFER_SIZE, CONFIG_NCP_UART_TX_CHUNK, CONFIG_NCP_UART_RX_BUFFER) are enlarged to 2048,
the throughput result does not change.

Is there a known throughput limitation in Linux wpantund?

  • Hi Geunyop,

    I will reproduce the plots, but first, why are you the argument that limits the bandwidth on the client (-b 150k)? We do not use it in the following link: Linux host wfantund

    Regards,

    Arthur

  • Yes I know.
    However, I used the -b option because in UDP mode, iperf defaults to 1 Mbps sending rate, which is much higher than the Wi-SUN PHY capacity(50/150/300 kbps).
    Without -b, the client would overwhelm the link, leading to almost packet loss.

  • Hi again,

    I have tried with the 300 kbps PHY, with the following tool versions:

    • TI_WiSUN_STACK_01_00_08
    • LOWPOWER F2 SDK 8.31.00.11

    And the "default" 460800 baudrate config, and I obtain similar throughputs as the ones in the application note:

    Do you mean that 25 - 30 is the average throughput?

    My server command is the following: iperf -V -u -s -i 1 -B 2020:abcd:0000:0000:1111:1111:1111:1111%wfan0

    and the client one: iperf -V -u -i 1 -t 30 -c 2020:abcd:0000:0000:1111:1111:1111:1111%wfan0 -B 2020:abcd:0000:0000:2222:2222:2222:2222%wfan0 -l 1200 -b 175k

    Did you also apply that modification? from the wfantund readme:

    Regards,

    Arthur