All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hanoch Haim (hhaim)" <hhaim@cisco.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Wu, Jingjing (jingjing.wu@intel.com)" <jingjing.wu@intel.com>,
	"Hanoch Haim (hhaim)" <hhaim@cisco.com>
Subject: net/i40e: latency issue due fix interrupt throttling setting in PF
Date: Mon, 20 Nov 2017 15:18:50 +0000	[thread overview]
Message-ID: <3f57eb6982af4bb9aae69bce67233d89@XCH-RTP-017.cisco.com> (raw)

Hi All,
While integrating dpdk17.11 into TRex latest code a new latency issue is observed  (i40e is very sensitive because it has very good resolution due to Qos configuration).
git bitsec found the following commit.
With this commit we observe high spikes of Rx latency (~40usec) vs (~8usec).
Any idea why?
I can send how to reproduce this, it is very simple.

cfd662d22e7bddb4ba41dbd1384f8497f38c2b4e is the first bad commit
commit cfd662d22e7bddb4ba41dbd1384f8497f38c2b4e
Author: Jingjing Wu <jingjing.wu@intel.com<mailto:jingjing.wu@intel.com>>
Date:   Thu Aug 24 09:57:51 2017 +0800

    net/i40e: fix interrupt throttling setting in PF

    As no matter the PF host driver is DPDK or other kernel drivers,
    they are sharing the same virtchnnl interfaces to communicate to VFs.
    To follow the generic interface, DPDK PF need to set Interrupt
    Throttling (ITR) index according to the rxitr_idx from virtchnnl
    instead of ITR_NONE.

    Fixes: 6d59e4ea74a6 ("net/i40e: change version number to support Linux VF")
    Cc: stable@dpdk.org<mailto:stable@dpdk.org>

    Signed-off-by: Jingjing Wu <jingjing.wu@intel.com<mailto:jingjing.wu@intel.com>>



Thanks,
Hanoh

             reply	other threads:[~2017-11-20 15:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20 15:18 Hanoch Haim (hhaim) [this message]
2017-11-24 11:24 ` net/i40e: latency issue due fix interrupt throttling setting in PF Hanoch Haim (hhaim)
2017-11-28 12:50   ` Wu, Jingjing
2017-11-28 13:14     ` Hanoch Haim (hhaim)
2017-11-28 15:01       ` Wu, Jingjing
2017-11-28 15:07         ` Hanoch Haim (hhaim)
2017-11-30  1:24           ` Wu, Jingjing
2017-11-30 16:47         ` Hanoch Haim (hhaim)
2017-11-30 17:46           ` Wu, Jingjing
2017-11-30 18:02             ` Hanoch Haim (hhaim)
2017-12-06 11:00             ` Xing, Beilei
2017-12-06 11:21               ` Hanoch Haim (hhaim)

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=3f57eb6982af4bb9aae69bce67233d89@XCH-RTP-017.cisco.com \
    --to=hhaim@cisco.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.