DPDK usage discussions
 help / color / mirror / Atom feed
From: madhukar mythri <madhukar.mythri@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Does vmxnet3 PMD supports LSC=1 ?
Date: Thu, 14 Jan 2021 23:00:57 +0530
Message-ID: <CAAUNki0AJ2zzsmjCDoc7WH-6O+71JTKaR5-uJrzHUHX-tHE11w@mail.gmail.com> (raw)

Hi,

Does vmxnet3 PMD support LSC=1(i.e with interrupt mode) for link changes ?

When i enable LSC=1 the functionality works fine, but, when pumping traffic
i'm seeing increasing in CPU load on some cores which is running
"eal-intr-thread" epoll_wait() function for more CPU-time.

Actually, interrupt should come only when Link changes, but, we are seeing
interrupt for each incoming Rx-packet and also a lot of spurious interrupts.
=============
~ # cat /proc/interrupts |grep igb
 58:    1254293          0          0          0   PCI-MSI 1572864-edge
 igb_uio
 59:    1278105          0          0          0   PCI-MSI 5767168-edge
 igb_uio
~ # cat /proc/irq/58/spurious
count 98035
unhandled 0
last_unhandled 0 ms
~ #
==============

Does anyone tried LSC=1 in vmxnet3 PMD based apps and faced similar issues
? If so, please let me know.

Tried with DPDK-18.11, DPDK-19.11 and DPDK-20.05.

Thanks,
Madhukar.

             reply	other threads:[~2021-01-14 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 17:30 madhukar mythri [this message]
2021-01-14 18:50 ` Thomas Monjalon
2021-01-14 18:58   ` Yong Wang
2021-01-15  6:09     ` madhukar mythri

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=CAAUNki0AJ2zzsmjCDoc7WH-6O+71JTKaR5-uJrzHUHX-tHE11w@mail.gmail.com \
    --to=madhukar.mythri@gmail.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

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