From e33d9ee45c33c01e223ee141b75e650d2dfe1c02 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Tue, 18 Mar 2025 23:54:54 +0530 Subject: [PATCH] samples: net: zperf: Fine tune memory to align zero-copy Now that nRF70 by default uses zero-copy fine-tune the configuration to get optimal memory while getting peak throughputs. Signed-off-by: Chaitanya Tata --- samples/net/zperf/boards/nrf7002dk_nrf5340_cpuapp.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/net/zperf/boards/nrf7002dk_nrf5340_cpuapp.conf b/samples/net/zperf/boards/nrf7002dk_nrf5340_cpuapp.conf index 4373713af69..2b7f5e48de1 100644 --- a/samples/net/zperf/boards/nrf7002dk_nrf5340_cpuapp.conf +++ b/samples/net/zperf/boards/nrf7002dk_nrf5340_cpuapp.conf @@ -1,11 +1,11 @@ # Optimized networking settings for performance CONFIG_NET_PKT_RX_COUNT=28 -CONFIG_NET_PKT_TX_COUNT=27 +CONFIG_NET_PKT_TX_COUNT=28 CONFIG_NET_BUF_RX_COUNT=28 -CONFIG_NET_BUF_TX_COUNT=54 -# reduces driver heap usage +CONFIG_NET_BUF_TX_COUNT=28 CONFIG_NRF70_RX_NUM_BUFS=16 -CONFIG_NRF_WIFI_DATA_HEAP_SIZE=50000 +CONFIG_NRF_WIFI_DATA_HEAP_SIZE=30000 +CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=20000 CONFIG_NRF70_MAX_TX_AGGREGATION=4 CONFIG_NRF70_QSPI_LOW_POWER=n