Hi, I am currently preparing to perform an iPerf test and implement UDP transmission using 1Gbps Ethernet.
Using the lwip_iper_bm_cm7 provided in SDK version 2.16 for my own testing, the maximum speed displayed is only around 430 Mbps. (6: UDP client mode (TX only test))
In this case, I modified IPERF_UDP_CLIENT_RATE to (900 * 1024 * 1024), but the speed still does not exceed 430 Mbps.
I tested by modifying the ENET_TXBD_NUM value, but there was no significant change.
I want to maximize UDP performance.
Could you help me identify the necessary symbol values?
Additionally, the receiver often experiences "Lost" packets. Is it possible to fully utilize 1 Gbit performance?
Best regards,
Solved! Go to Solution.
I found the issue.
It was a problem with jperf.
The issue occurs in jperf 2.0.0, but it works fine in jperf 2.0.2.
Thank you for your help.
I found the issue.
It was a problem with jperf.
The issue occurs in jperf 2.0.0, but it works fine in jperf 2.0.2.
Thank you for your help.
As per your observation, the bandwidth value shown on the board appears high at 937552 Kbps, but when checked on Windows, it shows approximately 530 Mbps.
When I sequentially increase the IPERF_UDP_CLIENT_RATE from 100 by increments of 100, it displays correctly up to 500, but from 600 to 900, it doesn't go above 530 Mbps.
Am I conducting the test incorrectly? I connected the board and the notebook directly.
I am attaching the log.
Best regards,
Hi @seobi
Thansk for your question, would you please clairfy debug trace log to me?
My trace log as below seems workable.
Default setting(IPERF_UDP_CLIENT_RATE (100 * 1024 * 1024) )
************************************************
IPERF example
************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
************************************************
Please select one of the following modes to run IPERF with:
0: TCP server mode (RX test)
1: TCP client mode (TX only test)
2: TCP client reverse mode (RX only test)
3: TCP client dual mode (TX and RX in parallel)
4: TCP client tradeoff mode (TX and RX sequentially)
5: UDP server mode (RX test)
6: UDP client mode (TX only test)
7: UDP client reverse mode (RX only test)
8: UDP client dual mode (TX and RX in parallel)
9: UDP client tradeoff mode (TX and RX sequentially)
Enter mode number: 6
Ideal frame delay: 112 us
Send 8 frame(s) once per 1000 us
Press SPACE to abort the test and return to main menu
-------------------------------------------------
UDP_DONE_CLIENT (TX)
Local address : 192.168.0.102 Port 49153
Remote address : 192.168.0.100 Port 5001
Bytes Transferred 121126208
Duration (ms) 10501
Bandwidth (kbitpsec) 92277
Modify #define IPERF_UDP_CLIENT_RATE (1000 * 1024 * 1024) /* 1000 Mbit/s */
Enter mode number: 6
Ideal frame delay: 11 us
Send 90 frame(s) once per 1000 us
Press SPACE to abort the test and return to main menu
-------------------------------------------------
UDP_DONE_CLIENT (TX)
Local address : 192.168.0.102 Port 49153
Remote address : 192.168.0.100 Port 5001
Bytes Transferred 1230056100
Duration (ms) 10501
Bandwidth (kbitpsec) 937096
B.R,
Sam