From: Shirley Avishour <shirley@imvisiontech.com>
To: users@dpdk.org
Subject: [dpdk-users] drops while transmitting to the kni using rte_kni_tx_burst()
Date: Mon, 16 Jan 2017 14:52:42 +0200 [thread overview]
Message-ID: <CACn717ip7Cv26MSTy4JeE9iX=HvFU-5CtR3fvubakd5ER4FLGg@mail.gmail.com> (raw)
Hi,
I have an application over dpdk which is consisted of the following threads
each running on a separate core:
1) rx thread which listens on in a poll mode for traffic (listening on an
ixgbe interface).
2) 2 packet processing threads (for load balancing) each listening on a
ring for traffic from rx thread.
3) kni thread (which also runs on a separate core) - used to record the
received traffic using tcpdump on the kernel interface.
the rx thread receives packets, clones them (using indirect buffer) and
transmit a copy to the kni and the other copy is sent to the packet
processing unit (hashing over 2 packet processing threads).
the receive traffic rate is 100Mbps.
When working with single packet processing thread I am able to get all the
100Mbps towards the kni with no drops.
but when I activate my application with 2 packet processing threads I start
facing drops towards the kni.
the way I see it the only difference now is that I have another threads
which handles an mbuf and frees it once processing is completed.
Can anyone assist with this case please?
Thanks!
reply other threads:[~2017-01-16 12:52 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='CACn717ip7Cv26MSTy4JeE9iX=HvFU-5CtR3fvubakd5ER4FLGg@mail.gmail.com' \
--to=shirley@imvisiontech.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).