Skip to content

Commit

Permalink
net/ice: enlarge Rx queue rearm threshold to 64
Browse files Browse the repository at this point in the history
[ upstream commit 295906f ]

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 accesses and
fix the performance drop issue.

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
  • Loading branch information
Ninja-Mobius authored and bluca committed Feb 2, 2021
1 parent bf4a202 commit d2475d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_rxtx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2475d6

Please sign in to comment.