All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: Manivannan Sadhasivam <manisadhasivam.linux@gmail.com>,
	"virtio-comment@lists.linux.dev" <virtio-comment@lists.linux.dev>,
	"mie@igel.co.jp" <mie@igel.co.jp>
Subject: Re: MSI for Virtio PCI transport
Date: Tue, 25 Jun 2024 03:55:13 -0400	[thread overview]
Message-ID: <20240625035343-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <PH0PR12MB54817F3736022FFE3B9C570FDCD52@PH0PR12MB5481.namprd12.prod.outlook.com>

On Tue, Jun 25, 2024 at 06:18:46AM +0000, Parav Pandit wrote:
> > So MSI-X is clearly an optional feature which simple devices tend to ignore.
> > But if both are supported, then obviously Virtio will make use of MSI-X, but
> > that's not the case here.
> > 
> If both are supported, and required scale by the driver is <=32, driver can choose MSI due to its lightweight nature.

Unlikely, MSI vectors are tricky to mask and this is a problem for
interrupt balancing. So MSIX is better for performance even if the # of
vectors is low.

-- 
MST


  reply	other threads:[~2024-06-25  7:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 16:19 MSI for Virtio PCI transport Manivannan Sadhasivam
2024-06-25  4:09 ` Parav Pandit
2024-06-25  5:43   ` Manivannan Sadhasivam
2024-06-25  6:18     ` Parav Pandit
2024-06-25  7:55       ` Michael S. Tsirkin [this message]
2024-06-25  8:00         ` Parav Pandit
2024-06-25  8:09           ` Michael S. Tsirkin
2024-06-25  8:18             ` Parav Pandit
2024-06-25  8:29               ` Michael S. Tsirkin
2024-06-25  9:11       ` Manivannan Sadhasivam
2024-06-25  9:59         ` Parav Pandit
2024-06-25  7:52 ` Michael S. Tsirkin
2024-06-25  9:19   ` Manivannan Sadhasivam

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=20240625035343-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=manisadhasivam.linux@gmail.com \
    --cc=mie@igel.co.jp \
    --cc=parav@nvidia.com \
    --cc=virtio-comment@lists.linux.dev \
    /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.