DPDK usage discussions
 help / color / mirror / Atom feed
* 82599ES 10-Gigabit NIC cannot at 10G speed for a long time
@ 2022-11-24  4:42 Sun Yalou
  2022-11-29 17:05 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Sun Yalou @ 2022-11-24  4:42 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

Hi there,I'm developing a custom virtual switch using OVS-DPDK(v19.11.10). 
In order to achieve 10Gbit/s, I modified the OVS pmd mode from 
run-to-completion to pipeline. I used 1 thread as rx thread, 4 threads as 
worker thread and 1 thread as tx thread. it's a load balance archiecture.
I found the forwarding rate can reach 10Gbit/s in first 2 minite, and then 
drop to 5Gbit/s . My traffic generator keeps send packets at 10G rate. I 
debugged and found that packet loss occurred in `rte_eth_tx_burst`, then it 
invoke `ixgbe_xmit_pkts_vec` -> `ixgbe_xmit_fixed_burst_vec` , in 
`ixgbe_xmit_fixed_burst_vec`it should be `txq->nb_tx_free` < `nb_pkts`, it 
means there is not enough TX descriptor to be allocated.
I have tried increasing socket-mem when starting program and reducing the 
size of batch sent, neither worked. I wonder if i am missing something 
important? This question has been bugging me for weeks.
Does anyone know this issue? Thanks, BR, Yalou

[-- Attachment #2: Type: text/html, Size: 2006 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-29 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24  4:42 82599ES 10-Gigabit NIC cannot at 10G speed for a long time Sun Yalou
2022-11-29 17:05 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).