Skip to contentSkip to conversation

net/ice: enlarge ice RXQ rearm thresh to 64

PATCH Applied Leyi Rong 2 participants 2 messages Jan 6, 2021 – Jan 12, 2021 Network drivers

lore
Share & tools
lore

Leyi Rong

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/net/ice/ice_rxtx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ice/ice_rxtx.h +1 -1
index 6b16716063..adfae016a9 100644
@@ -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
Signature · 1 line
2.17.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 12 lines

-----Original Message-----
From: Rong, Leyi <[email protected]>
Sent: Wednesday, January 6, 2021 1:36 PM
To: Zhang, Qi Z <[email protected]>; Lu, Wenzhuo <[email protected]>
Cc: [email protected]; Rong, Leyi <[email protected]>
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.

Quoted 7 lines

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.

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

Thanks
Qi