DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: PATRICK KEROULAS <patrick.keroulas@radio-canada.ca>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] mlx5 / tcpdump: packet drop
Date: Thu, 23 Jul 2020 16:57:55 -0700
Message-ID: <20200723165755.46cef46c@hermes.lan> (raw)
In-Reply-To: <CALEF-=CQNwtWouZyrk02sgk5VPzL6-Z79Ven34CPJXhA_Ouddw@mail.gmail.com>

On Thu, 23 Jul 2020 17:10:31 -0400
PATRICK KEROULAS <patrick.keroulas@radio-canada.ca> wrote:

> Hello,
> 
> I'm trying to use tcpdump with dpdk support in order to benefit from
> dpdk performance and nice features from tcpdump, like filters etc.
> Traffic is constant but quite significant, 6 Gbps, captured by Mellanox
> ConnectX-5.
> 
> DPDK standalone works like a charm, no packet drop.
> $ testpmd -w 0000:01:00.0 -w 0000:01:00.1 -- --enable-rx-timestamp
> $ dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/test.pcap'
> 
> However,when using libpcap/tcpdump on exact same hardware and
> dpdk version, 15% of the pkts are dropped by interface:

The libpcap version of packet capture has many copies, and lots
of extra system calls. The performance is likely to be less than doing
a native solution with the kernel.

It may get better in the future.

  reply	other threads:[~2020-07-23 23:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-23 21:10 PATRICK KEROULAS
2020-07-23 23:57 ` Stephen Hemminger [this message]
2020-07-24 13:32   ` PATRICK KEROULAS

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=20200723165755.46cef46c@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=patrick.keroulas@radio-canada.ca \
    --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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git