DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rajasekhar Pulluru <pullururajasekhar@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: Multiple Tx-Queues not working as expected
Date: Fri, 17 Feb 2023 23:03:12 +0530	[thread overview]
Message-ID: <CAGA5_H6VSg=AwFmpoMTZcHW2LubuXMpXZ0UZJLAB_pk4iQonow@mail.gmail.com> (raw)
In-Reply-To: <20230217082650.1968dcd8@hermes.local>

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

Hi Stephen,
Have tx queue len was 1024, increasing it to 2048 hasn't changed the
behaviour. IXIA is the receiver in this case, which is definitely(and
tested) capable of receiving more rate than this.

IXIA-TX --->RX(ixgbe-port0)HOST(ixgbe-port1)TX ---> IXIA-RX
Captured the rx packets count at ixgbe-port0 and tx packets count at
ixgbe-port1. These 2 counters are equal and are also equal to the frames
transmitted by IXIA.
But the IXIA-RX packets count reports a few hundreds-to-few thousands of
packets lost on every run.

Thanks & Regards,
Rajasekhar



On Fri, Feb 17, 2023 at 9:56 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> On Fri, 17 Feb 2023 11:30:14 +0530
> Rajasekhar Pulluru <pullururajasekhar@gmail.com> wrote:
>
> > Ok Stephen, thanks for the information, I can try that.
> >
> > One of the problems I see with single Tx Queue mode is that Ixia reports
> > packet drops, though I confirmed with the help of counters (before
> invoking
> > tx burst) that all packets are being sent-out. Dumping HW counters don't
> > report any drops in TX.
> > Is there a mechanism in DPDK to debug this?
> >
> > Thanks & Regards,
> > Rajasekhar
>
> The common usage in DPDK is to have one transmit queue per DPDK thread
> doing
> transmits.  If the transmit queue is not configured with enough depth.
>
> The most common packet flow in DPDK is packets getting received, modified
> then transmitted. With that pattern, packet loss is at the receiver when
> the CPU can't keep up with the packet rate arriving.
>

[-- Attachment #2: Type: text/html, Size: 2116 bytes --]

  reply	other threads:[~2023-02-17 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 18:10 Rajasekhar Pulluru
2023-02-16 19:51 ` Stephen Hemminger
2023-02-17  6:00   ` Rajasekhar Pulluru
2023-02-17 16:26     ` Stephen Hemminger
2023-02-17 17:33       ` Rajasekhar Pulluru [this message]
2023-02-17 16:38     ` Bruce Richardson
2023-02-17 17:38       ` Rajasekhar Pulluru

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='CAGA5_H6VSg=AwFmpoMTZcHW2LubuXMpXZ0UZJLAB_pk4iQonow@mail.gmail.com' \
    --to=pullururajasekhar@gmail.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.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).