From: Sun Yalou <sunyalou@bupt.edu.cn>
To: users@dpdk.org
Subject: 82599ES 10-Gigabit NIC cannot at 10G speed for a long time
Date: Thu, 24 Nov 2022 04:42:06 +0000 [thread overview]
Message-ID: <8eaf46e68801e.ec7ca303cc0d3@bupt.edu.cn> (raw)
[-- 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 --]
next reply other threads:[~2022-11-28 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 4:42 Sun Yalou [this message]
2022-11-29 17:05 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8eaf46e68801e.ec7ca303cc0d3@bupt.edu.cn \
--to=sunyalou@bupt.edu.cn \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).