Merge branch 'docs/update_esp32c2_iperf_throughput' into 'master'

Docs/update esp32c2 iperf throughput

Closes IDFGH-7707

See merge request espressif/esp-idf!18732
This commit is contained in:
Jiang Jiang Jian 2022-07-05 01:54:07 +08:00
commit 3d3447831a
3 changed files with 144 additions and 11 deletions

View File

@ -2339,6 +2339,66 @@ The parameters not mentioned in the following table should be set to the default
- 44.5 - 44.5
- 44.2 - 44.2
.. only:: esp32c2
.. list-table::
:header-rows: 1
:widths: 10 10 10 15
* - Rank
- Iperf
- Default
- Minimum
* - Available memory (KB)
- 37
- 56
- 84
* - WIFI_STATIC_RX_BUFFER_NUM
- 14
- 7
- 3
* - WIFI_DYNAMIC_RX_BUFFER_NUM
- 18
- 14
- 6
* - WIFI_DYNAMIC_TX_BUFFER_NUM
- 18
- 14
- 6
* - WIFI_RX_BA_WIN
- 16
- 12
- 6
* - TCP_SND_BUF_DEFAULT (KB)
- 18
- 14
- 6
* - TCP_WND_DEFAULT (KB)
- 18
- 14
- 6
* - LWIP_IRAM_OPTIMIZATION
- 13
- 13
- 0
* - TCP TX throughput (Mbit/s)
- 21.6
- 21.4
- 14.3
* - TCP RX throughput (Mbit/s)
- 19.1
- 17.9
- 12.4
* - UDP TX throughput (Mbit/s)
- 26.4
- 26.3
- 25.0
* - UDP RX throughput (Mbit/s)
- 32.3
- 31.5
- 27.7
.. only:: esp32s3 .. only:: esp32s3
.. list-table:: .. list-table::
@ -2436,6 +2496,14 @@ The parameters not mentioned in the following table should be set to the default
The test was performed with a single stream in a shielded box using an ASUS RT-N66U router. The test was performed with a single stream in a shielded box using an ASUS RT-N66U router.
{IDF_TARGET_NAME}'s CPU is single core with 160 MHz. {IDF_TARGET_NAME}'s flash is in QIO mode with 80 MHz. {IDF_TARGET_NAME}'s CPU is single core with 160 MHz. {IDF_TARGET_NAME}'s flash is in QIO mode with 80 MHz.
.. only:: esp32c2
.. note::
The test was performed with a single stream in a shielded box using an Redmi RM2100 router.
{IDF_TARGET_NAME}'s CPU is single core with 120 MHz. {IDF_TARGET_NAME}'s flash is in QIO mode with 60 MHz.
.. only:: esp32 .. only:: esp32
**Ranks:** **Ranks:**

View File

@ -2339,6 +2339,65 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大
- 44.5 - 44.5
- 44.2 - 44.2
.. only:: esp32c2
.. list-table::
:header-rows: 1
:widths: 10 10 10 15
* - 等级
- Iperf
- 默认
- 最小
* - 可用内存 (KB)
- 37
- 56
- 84
* - WIFI_STATIC_RX_BUFFER_NUM
- 14
- 7
- 3
* - WIFI_DYNAMIC_RX_BUFFER_NUM
- 18
- 14
- 6
* - WIFI_DYNAMIC_TX_BUFFER_NUM
- 18
- 14
- 6
* - WIFI_RX_BA_WIN
- 16
- 12
- 6
* - TCP_SND_BUF_DEFAULT (KB)
- 18
- 14
- 6
* - TCP_WND_DEFAULT (KB)
- 18
- 14
- 6
* - LWIP_IRAM_OPTIMIZATION
- 13
- 13
- 0
* - TCP 发送数据吞吐量 (Mbit/s)
- 21.6
- 21.4
- 14.3
* - TCP 接收数据吞吐量 (Mbit/s)
- 19.1
- 17.9
- 12.4
* - UDP 发送数据吞吐量 (Mbit/s)
- 26.4
- 26.3
- 25.0
* - UDP 接收数据吞吐量 (Mbit/s)
- 32.3
- 31.5
- 27.7
.. only:: esp32s3 .. only:: esp32s3
.. list-table:: .. list-table::
@ -2436,6 +2495,12 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大
以上结果使用华硕 RT-N66U 路由器,在屏蔽箱中进行单流测试得出。 以上结果使用华硕 RT-N66U 路由器,在屏蔽箱中进行单流测试得出。
{IDF_TARGET_NAME} 的 CPU 为单核,频率为 160 MHzflash 为 QIO 模式,频率为 80 MHz。 {IDF_TARGET_NAME} 的 CPU 为单核,频率为 160 MHzflash 为 QIO 模式,频率为 80 MHz。
.. only:: esp32c2
.. note::
以上结果使用红米 RM2100 路由器,在屏蔽箱中进行单流测试得出。
{IDF_TARGET_NAME} 的 CPU 为单核,频率为 120 MHzflash 为 QIO 模式,频率为 60 MHz。
.. only:: esp32 .. only:: esp32
**等级:** **等级:**

View File

@ -1,22 +1,22 @@
# #
# ESP32-C2 # ESP32-C2
# #
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=20 CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=14
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=40 CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=18
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=40 CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=18
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP32_WIFI_TX_BA_WIN=32 CONFIG_ESP32_WIFI_TX_BA_WIN=16
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP32_WIFI_RX_BA_WIN=32 CONFIG_ESP32_WIFI_RX_BA_WIN=16
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=40960 CONFIG_LWIP_TCP_SND_BUF_DEFAULT=18432
CONFIG_LWIP_TCP_WND_DEFAULT=40960 CONFIG_LWIP_TCP_WND_DEFAULT=18432
CONFIG_LWIP_TCP_RECVMBOX_SIZE=64 CONFIG_LWIP_TCP_RECVMBOX_SIZE=32
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64 CONFIG_LWIP_UDP_RECVMBOX_SIZE=32
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=64 CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_120=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_120=y
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=120 CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=120
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y CONFIG_ESPTOOLPY_FLASHFREQ_60M=y