From 4238aaa1436afb1a30bed7667bcef4764b1bcd22 Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Fri, 15 Nov 2024 13:56:51 +0530 Subject: [PATCH] samples: wifi: throughput: Adjust variable pool sizes Modify the pool sizes to different values for more accurate throughput optimization, as with the fixed configuration. Signed-off-by: Triveni Danda --- samples/wifi/throughput/overlay-high-performance.conf | 2 +- samples/wifi/throughput/overlay-iot-devices.conf | 4 ++-- samples/wifi/throughput/overlay-memory-optimized.conf | 3 --- samples/wifi/throughput/overlay-rx-prio.conf | 2 +- samples/wifi/throughput/overlay-tx-prio.conf | 4 ++-- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/samples/wifi/throughput/overlay-high-performance.conf b/samples/wifi/throughput/overlay-high-performance.conf index d2ad4b424ce4..c22b56c58428 100644 --- a/samples/wifi/throughput/overlay-high-performance.conf +++ b/samples/wifi/throughput/overlay-high-performance.conf @@ -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 diff --git a/samples/wifi/throughput/overlay-iot-devices.conf b/samples/wifi/throughput/overlay-iot-devices.conf index 1d880d4d33ba..eb781bcc0e1c 100644 --- a/samples/wifi/throughput/overlay-iot-devices.conf +++ b/samples/wifi/throughput/overlay-iot-devices.conf @@ -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 diff --git a/samples/wifi/throughput/overlay-memory-optimized.conf b/samples/wifi/throughput/overlay-memory-optimized.conf index d5ee45a6d3fd..0a0a64bc59b7 100644 --- a/samples/wifi/throughput/overlay-memory-optimized.conf +++ b/samples/wifi/throughput/overlay-memory-optimized.conf @@ -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 diff --git a/samples/wifi/throughput/overlay-rx-prio.conf b/samples/wifi/throughput/overlay-rx-prio.conf index 5f0bbe95d918..84bed46e8d2c 100644 --- a/samples/wifi/throughput/overlay-rx-prio.conf +++ b/samples/wifi/throughput/overlay-rx-prio.conf @@ -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 diff --git a/samples/wifi/throughput/overlay-tx-prio.conf b/samples/wifi/throughput/overlay-tx-prio.conf index 39697c38d3fa..6b579bba8001 100644 --- a/samples/wifi/throughput/overlay-tx-prio.conf +++ b/samples/wifi/throughput/overlay-tx-prio.conf @@ -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