From: Fuji Nafiul <nafiul.fuji@gmail.com>
To: users@dpdk.org, dev@dpdk.org
Subject: pdump framework highest throughput hit bottleneck at 2.8Million pps
Date: Thu, 16 May 2024 15:17:49 +0600 [thread overview]
Message-ID: <CA+3hWexuWOj5gLnM1SYijoppc5Cf+Z4fiuEhdBsc3VNyNQLmKw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
I modified the dpdkdump project's code (which uses the pdump framework) to
scale and support the highest throughput possible. I enabled the pdump
framework (which creates a hook in rx/tx in the background) with big
rte_ring and then tried to fan out packets to several rte_rings (I tried
with max 10) which was continuously polled by 10 separate processes solely
running on separate cores and write the packets. when my primary
application had in/out around 1 million pps I saw that, then I could get
around 2 million pps (in+out) in the main rte_ring. but when I increased
the load to 2 million pps (in/out), I was only getting around 2.6-2.8
million pps from the hook though I should get around 4 million pps
(in+out). I am seeing a big "ring full" count, but is it because my fan out
is slow or pdump itself have a bottleneck limit? please let me know...
I took a look at dumpcap which aims at capturing 10gbit/s but it needs to
be run as a primary process as far as I understand... but I need a
secondary dpdk application to capture around 5-10 million pps
[-- Attachment #2: Type: text/html, Size: 1106 bytes --]
reply other threads:[~2024-05-16 9:18 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=CA+3hWexuWOj5gLnM1SYijoppc5Cf+Z4fiuEhdBsc3VNyNQLmKw@mail.gmail.com \
--to=nafiul.fuji@gmail.com \
--cc=dev@dpdk.org \
--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 read-only IMAP folder(s) and NNTP newsgroup(s).