From: Bart Van Assche <bart.vanassche@sandisk.com>
To: Hannes Reinecke <hare@suse.de>, Mike Snitzer <snitzer@redhat.com>,
Junichi Nomura <j-nomura@ce.jp.nec.com>
Cc: device-mapper development <dm-devel@redhat.com>,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [dm-devel] dm-multipath test scripts
Date: Sat, 20 Feb 2016 07:13:07 -0800 [thread overview]
Message-ID: <56C88283.3050704@sandisk.com> (raw)
In-Reply-To: <56C834F8.8050604@suse.de>
On 02/20/16 01:42, Hannes Reinecke wrote:
> ATM the only SCSI driver to support SCSI-mq properly are lpfc, virtio,
> and fnic. None of the other driver have been modified, and I suspect the
> performance might be less than stellar.
Hello Hannes,
Before scsi-mq support was added to the above drivers it was added
to the ib_srp driver. Apparently today there are multiple drivers
that support multiple hardware queues:
$ git grep -nH 'nr_hw_queues = [^1]' | grep -vE 'block/blk-mq|scsi/scsi_lib'
drivers/block/null_blk.c:667: nullb->tag_set.nr_hw_queues = submit_queues;
drivers/block/virtio_blk.c:638: vblk->tag_set.nr_hw_queues = vblk->num_vqs;
drivers/block/xen-blkfront.c:927: info->tag_set.nr_hw_queues = info->nr_rings;
drivers/infiniband/ulp/srp/ib_srp.c:3337: target->scsi_host->nr_hw_queues = target->ch_count;
drivers/nvme/host/pci.c:1680: dev->tagset.nr_hw_queues = dev->online_queues - 1;
drivers/scsi/lpfc/lpfc_init.c:3318: shost->nr_hw_queues = phba->cfg_fcp_io_channel;
drivers/scsi/virtio_scsi.c:1008: shost->nr_hw_queues = num_queues;
Performance data is available in http://events.linuxfoundation.org/sites/events/files/slides/Vault%20-%20scsi-mq%20v2.pdf.
Bart.
next prev parent reply other threads:[~2016-02-20 15:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 5:39 dm-multipath test scripts Junichi Nomura
2015-10-07 7:31 ` Johannes Thumshirn
2015-10-08 23:10 ` Junichi Nomura
2015-11-13 10:55 ` Johannes Thumshirn
2015-11-14 16:26 ` Mike Snitzer
2016-02-18 17:17 ` Mike Snitzer
2016-02-19 0:33 ` Junichi Nomura
2016-02-19 8:37 ` Junichi Nomura
2016-02-19 19:42 ` Mike Snitzer
2016-02-20 6:12 ` Mike Snitzer
2016-02-20 9:42 ` Hannes Reinecke
2016-02-20 15:13 ` Bart Van Assche [this message]
2016-02-20 16:34 ` Mike Snitzer
2016-02-22 9:51 ` Junichi Nomura
2016-02-22 15:09 ` why is blk-mq requeue foricbly kicking stopped queues? [was: Re: dm-multipath test scripts] Mike Snitzer
2016-02-23 1:34 ` Junichi Nomura
2016-02-23 3:43 ` Mike Snitzer
2016-02-24 19:37 ` dm-multipath test scripts Mike Snitzer
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=56C88283.3050704@sandisk.com \
--to=bart.vanassche@sandisk.com \
--cc=dm-devel@redhat.com \
--cc=hare@suse.de \
--cc=j-nomura@ce.jp.nec.com \
--cc=linux-scsi@vger.kernel.org \
--cc=snitzer@redhat.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.