From: "Nicolson Ken (ニコルソン ケン)" <ken.nicolson@jp.panasonic.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Guest OS drapping packets with RedHat loopback example and 65535 byte packets
Date: Fri, 19 Jan 2024 03:42:34 +0000 [thread overview]
Message-ID: <OSZPR01MB77480B3A5200E4592A4DAE36BC702@OSZPR01MB7748.jpnprd01.prod.outlook.com> (raw)
Hi all,
Using DPDK 22.11.2 on CentOS
I've configured my Guest OS according to the RedHat tutorial here:
https://www.redhat.com/en/blog/hands-vhost-user-warm-welcome-dpdk
Using the commandline:
root@guest $ testpmd -l 0,1,2 --socket-mem 1024 -n 4 \
--proc-type auto --file-prefix pg -- \
--portmask=3 --forward-mode=macswap --port-topology=chained \
--disable-rss -i --rxq=1 --txq=1 \
--rxd=256 --txd=256 --nb-cores=2 --auto-start
In my host, I have my own code that sends fixed-size mbufs; if I use 9000 byte packets (ie 5 mbufs in a chain) with a speed of 15Gbps (ie about 200,000 packets per second), everything runs smoothly, but if I go up to 65535 byte packets (32 mbufs in a chain) at 15Gbps (almost 29,000 packets per second) I start losing packets. A burst of 100 packets, for instance, will see all 100 received, but only 7 forwarded.
If I use the following with the same 100 packet burst:
testpmd> set verbose 3
I see 14 pairs of Rx and Tx packets.
testpmd> set verbose 2
Gives 18 Rx packets and 14 Tx. "show port stats all" shows no Rx or Tx errors, either in Guest or Host.
There's something very weird going on, but I haven't a clue where to start looking!
Has anyone got any hints for me for where to look or to get more debug info? Common sense would suggest that larger
Thanks,
Ken
reply other threads:[~2024-01-19 3:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=OSZPR01MB77480B3A5200E4592A4DAE36BC702@OSZPR01MB7748.jpnprd01.prod.outlook.com \
--to=ken.nicolson@jp.panasonic.com \
--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).