From 2e036ea17386aa0ccebebf98d5442a8aee6ee9cc Mon Sep 17 00:00:00 2001 From: wang tao Date: Wed, 29 Jun 2022 14:07:59 +0800 Subject: [PATCH] add esp32c2 iperf throughput --- docs/en/api-guides/wifi.rst | 68 ++++++++++++++++++++++++++++++++++ docs/zh_CN/api-guides/wifi.rst | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/docs/en/api-guides/wifi.rst b/docs/en/api-guides/wifi.rst index db195b6912..282e99f26b 100644 --- a/docs/en/api-guides/wifi.rst +++ b/docs/en/api-guides/wifi.rst @@ -2332,6 +2332,66 @@ The parameters not mentioned in the following table should be set to the default - 44.5 - 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 .. list-table:: @@ -2429,6 +2489,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. {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 **Ranks:** diff --git a/docs/zh_CN/api-guides/wifi.rst b/docs/zh_CN/api-guides/wifi.rst index 8f02010951..2186dae84c 100644 --- a/docs/zh_CN/api-guides/wifi.rst +++ b/docs/zh_CN/api-guides/wifi.rst @@ -2332,6 +2332,65 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 44.5 - 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 .. list-table:: @@ -2429,6 +2488,12 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 以上结果使用华硕 RT-N66U 路由器,在屏蔽箱中进行单流测试得出。 {IDF_TARGET_NAME} 的 CPU 为单核,频率为 160 MHz,flash 为 QIO 模式,频率为 80 MHz。 +.. only:: esp32c2 + + .. note:: + 以上结果使用红米 RM2100 路由器,在屏蔽箱中进行单流测试得出。 + {IDF_TARGET_NAME} 的 CPU 为单核,频率为 120 MHz,flash 为 QIO 模式,频率为 60 MHz。 + .. only:: esp32 **等级:**