[dpdk-dev] [PATCH] net/ice: enlarge ice RXQ rearm thresh to 64

Subsystems: networking drivers, the rest

2 messages, 2 authors, 2021-01-12 · open the first message on its own page

[dpdk-dev] [PATCH] net/ice: enlarge ice RXQ rearm thresh to 64

From: Leyi Rong <hidden>
Date: 2021-01-06 05:56:31

We observe performance drop on ice AVX512 data path after stop and
start by using testpmd.

As CPU polling is faster in AVX512 path, L3 contested accesses is
intensified when rxrearm_start is a random value after testpmd
stop/start.

Enlarge ICE_RXQ_REARM_THRESH to 64 to ease the contested asscesses and
fix the performance drop issue.

Signed-off-by: Leyi Rong <redacted>
---
 drivers/net/ice/ice_rxtx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_rxtx.h b/drivers/net/ice/ice_rxtx.h
index 6b16716063..adfae016a9 100644
--- a/drivers/net/ice/ice_rxtx.h
+++ b/drivers/net/ice/ice_rxtx.h
@@ -31,7 +31,7 @@
 
 #define ICE_VPMD_RX_BURST           32
 #define ICE_VPMD_TX_BURST           32
-#define ICE_RXQ_REARM_THRESH        32
+#define ICE_RXQ_REARM_THRESH        64
 #define ICE_MAX_RX_BURST            ICE_RXQ_REARM_THRESH
 #define ICE_TX_MAX_FREE_BUF_SZ      64
 #define ICE_DESCS_PER_LOOP          4
-- 
2.17.1

Re: [dpdk-dev] [PATCH] net/ice: enlarge ice RXQ rearm thresh to 64

From: Zhang, Qi Z <hidden>
Date: 2021-01-12 05:12:06

-----Original Message-----
From: Rong, Leyi <redacted>
Sent: Wednesday, January 6, 2021 1:36 PM
To: Zhang, Qi Z <redacted>; Lu, Wenzhuo <redacted>
Cc: dev@dpdk.org; Rong, Leyi <redacted>
Subject: [PATCH] net/ice: enlarge ice RXQ rearm thresh to 64

We observe performance drop on ice AVX512 data path after stop and start by
using testpmd.

As CPU polling is faster in AVX512 path, L3 contested accesses is intensified
when rxrearm_start is a random value after testpmd stop/start.

Enlarge ICE_RXQ_REARM_THRESH to 64 to ease the contested asscesses and fix
the performance drop issue.

Signed-off-by: Leyi Rong <redacted>

Acked-by: Qi Zhang <redacted>

Applied to dpdk-next-net-intel after add cc:stable tag.

Thanks
Qi

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help