Skip to content

Commit

Permalink
samples: wifi: throughput: Adjust variable pool sizes
Browse files Browse the repository at this point in the history
Modify the pool sizes to different values for more accurate
throughput optimization, as with the fixed configuration.

Signed-off-by: Triveni Danda <[email protected]>
  • Loading branch information
D-Triveni committed Dec 26, 2024
1 parent 9d6fa97 commit 074ce4a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
10 changes: 5 additions & 5 deletions samples/wifi/throughput/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,15 @@ The following table collects a summary of results obtained when throughput tests
| Profile | UDP TX | UDP RX | TCP TX | TCP RX |
| | | | | |
+========================+===========+===========+===========+===========+
| IoT devices | 5.7 Mbps | 6 Mbps | 7 Mbps | 3.2 Mbps |
| IoT devices | 6.1 Mbps | 10 Mbps | 6.8 Mbps | 5 Mbps |
+------------------------+-----------+-----------+-----------+-----------+
| Memory-optimized | 5.7 Mbps | 4.2 Mbps | 4.8 Mbps | 6.2 Mbps |
| Memory-optimized | 6.1 Mbps | 11 Mbps | 2.2 Mbps | 2.6 Mbps |
+------------------------+-----------+-----------+-----------+-----------+
| High performance | 16.5 Mbps | 16.3 Mbps | 9.5 Mbps | 10.6 Mbps |
| High performance | 24.3 Mbps | 24.8 Mbps | 14.3 Mbps | 11.2 Mbps |
+------------------------+-----------+-----------+-----------+-----------+
| TX prioritized | 16.6 Mbps | 13.4 Mbps | 8.5 Mbps | 6.6 Mbps |
| TX prioritized | 25.2 Mbps | 15.9 Mbps | 14.1 Mbps | 5.1 Mbps |
+------------------------+-----------+-----------+-----------+-----------+
| RX prioritized | 8.6 Mbps | 17.9 Mbps | 6.2 Mbps | 7.7 Mbps |
| RX prioritized | 9 Mbps | 26.1 Mbps | 6 Mbps | 18 Mbps |
+------------------------+-----------+-----------+-----------+-----------+

.. note::
Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/throughput/overlay-high-performance.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ CONFIG_MAIN_STACK_SIZE=5200
CONFIG_SHELL_STACK_SIZE=5200
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=45000
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=55000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=25000
4 changes: 2 additions & 2 deletions samples/wifi/throughput/overlay-iot-devices.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ CONFIG_MAIN_STACK_SIZE=5200
CONFIG_SHELL_STACK_SIZE=5200
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=15000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=60000
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=10000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=6000
3 changes: 0 additions & 3 deletions samples/wifi/throughput/overlay-memory-optimized.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@ CONFIG_NET_SOCKETS_POLL_MAX=20
CONFIG_MAIN_STACK_SIZE=5200
CONFIG_SHELL_STACK_SIZE=5200
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=8192
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=8192
2 changes: 1 addition & 1 deletion samples/wifi/throughput/overlay-rx-prio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ CONFIG_SHELL_STACK_SIZE=5200
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=12000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=18000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=58000
4 changes: 2 additions & 2 deletions samples/wifi/throughput/overlay-tx-prio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ CONFIG_MAIN_STACK_SIZE=5200
CONFIG_SHELL_STACK_SIZE=5200
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=25000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=15000
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=45000
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=6000

0 comments on commit 074ce4a

Please sign in to comment.