iPerf host configuration and impact on throughput {#iperf_host_configuration_and_impact_on_throughput}
To get the highest throughput, the throughput values shown in STA throughput and Mobile AP throughput are measured with the maximum values of the default host configuration macros. STA and AP throughput captured with the minimum values of the host configuration macros shows the throughput numbers obtained when using the minimum values of the host configuration macros. The macro values are defined in lwipopts.h file.
The table below lists the minimum and maximum values of the host configuration macros.
Values of the host configuration macros
Parameter |
Maximum value |
Minimum value |
---|---|---|
TCPIP_MBOX_SIZE |
96 |
32 |
DEFAULT_RAW_RECVMBOX_SIZE |
32 |
12 |
DEFAULT_UDP_RECVMBOX_SIZE |
64 |
12 |
DEFAULT_TCP_RECVMBOX_SIZE |
64 |
12 |
TCP_MSS |
1460 |
536 |
TCP_SND_BUF |
24 * TCP_MSS |
2 * TCP_MSS |
MEM_SIZE |
319160 |
41,080 |
TCP_WND |
15 * TCP_MSS |
10 * TCP_MSS |
MEMP_NUM_PBUF |
20 |
10 |
MEMP_NUM_TCP_SEG |
96 |
12 |
MEMP_NUM_TCPIP_MSG_INPKT |
80 |
16 |
MEMP_NUM_TCPIP_MSG_API |
80 |
8 |
MEMP_NUM_NETBUF |
32 |
16 |
STA and AP throughput captured with the minimum values of the host configuration macros {#sta_and_ap_throughput_captured_with_the_minimum_values_of_the_host_configuration_macros}
STA mode throughput - HE Mode | 5 GHz Band | 80 MHz
Protocol |
TCP (Mbit/s) |
TCP (Mbit/s) |
UDP (Mbit/s) |
UDP (Mbit/s) |
---|---|---|---|---|
Direction |
TX |
RX |
TX |
RX |
Open Security |
7 |
18 |
111 |
124 |
WPA2-AES |
7 |
18 |
110 |
124 |
WPA3-SAE |
6 |
18 |
110 |
124 |
Mobile AP mode throughput - HE Mode | 5 GHz Band | 80 MHz
Protocol |
TCP (Mbit/s) |
TCP (Mbit/s) |
UDP (Mbit/s) |
UDP (Mbit/s) |
---|---|---|---|---|
Direction |
TX |
RX |
TX |
RX |
Open Security |
2 |
19 |
93 |
127 |
WPA2-AES |
2 |
19 |
105 |
126 |
WPA3-SAE |
2 |
19 |
104 |
132 |
Parent topic:iPerf host configuration and impact on throughput
Parent topic:Wi-Fi throughput