public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: "Moore, Eric" <Eric.Moore@lsi.com>
Cc: Grant Grundler <grundler@google.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/11] mpt2sas: mpt2sas_base sources
Date: Tue, 3 Mar 2009 11:33:00 -0700	[thread overview]
Message-ID: <20090303183300.GC20511@parisc-linux.org> (raw)
In-Reply-To: <660360F4F2570145BD872F298951B17A7673CBAA@cosmail03.lsi.com>

On Wed, Feb 25, 2009 at 03:12:33PM -0700, Moore, Eric wrote:
> On Wednesday, February 25, 2009 2:12 PM, Matthew Wilcox wrote:
> > It's also worth considering a mode where each CPU gets its own
> > interrupt.  That lets us complete IOs on the CPU which submitted them
> > and can be a real performance win.
> 
> right, I was wondering if we could do that.   Perhaps we could discuss that further in how do to that.

It's something that's being worked on.  I'm not quite sure where we are
on it with the SCSI side.  From the PCI side, we're at a point where you
can request however many vectors you want and then assign them however
you want.  I think we need a higher-level API than that, but we're not
quite sure what it should look like yet (and I want to redesign the
lower-level API anyway, because it's horrible for drivers to use).

> > I'm somewhat puzzled that you request four MSI-X interrupts, then only
> > use one of them.  Why not just request one?
> 
> I wasn't sure if we pci_enable_msix would work when passed 1 in the 2nd parameter when we have 15 vectors available.

Yes, that works fine.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  reply	other threads:[~2009-03-03 18:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  9:32 [PATCH 1/11] mpt2sas: mpt2sas_base sources Eric Moore
2009-02-25  0:00 ` Grant Grundler
2009-02-25 20:27   ` Moore, Eric
2009-02-25 21:12     ` Matthew Wilcox
2009-02-25 22:12       ` Moore, Eric
2009-03-03 18:33         ` Matthew Wilcox [this message]
2009-03-03 21:29       ` James Bottomley
2009-03-03 21:49         ` Matthew Wilcox
2009-03-04  0:29         ` Moore, Eric
2009-03-04  3:22           ` Rob Evers
2009-03-04  3:54             ` Matthew Wilcox
2009-03-03 22:37     ` Grant Grundler

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=20090303183300.GC20511@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=Eric.Moore@lsi.com \
    --cc=grundler@google.com \
    --cc=linux-scsi@vger.kernel.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