From: axboe@fb.com (Jens Axboe)
Subject: [PATCH/RFC] NVMe: add support for doing offline/online of attached namespaces
Date: Fri, 23 Jan 2015 10:39:38 -0700 [thread overview]
Message-ID: <54C2875A.3040502@fb.com> (raw)
In-Reply-To: <20150123173140.GB28005@infradead.org>
On 01/23/2015 10:31 AM, Christoph Hellwig wrote:
> On Fri, Jan 23, 2015@10:24:45AM -0700, Jens Axboe wrote:
>> It'd be an interesting experiment in seeing how close scsi-mq is to raw
>> performance, I'd be worried there's still quite a gap though. Maybe when
>> we're further along it starts to become a more viable option, at least I
>> would not rule it out.
>
> I'd love to try it. On the submission side SCSI for some drivers
> actually is more efficient than nvme in terms of memory allocations
> as we don't require any allocation for common I/O. (Your patch closes
> that gap for the smallest possible IO), altough the per-host and
> per-device shost_busy/sdev_busy counters will show some issues with
> enough sockets. On the completion side SCSI might still be a bit
> worse as we haven't really haven't started any optimizations yet.
For the per dev host/sdev busy counters, those could be further improved
if they turn out to be a problem. I've got various "things" here that'll
do 1-2M IOPS per dev, so some test/profiling would not be a problem to do.
First issue is support for > 1 hw queue in SCSI, though.
>> At the same time, this is a feature we use/need now. So I don't think a
>> potential switch in future direction should preclude that from being done
>> now.
>
> Sure, I was just answering your question for potential alternatives.
Great, thanks.
--
Jens Axboe
next prev parent reply other threads:[~2015-01-23 17:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 15:24 [PATCH/RFC] NVMe: add support for doing offline/online of attached namespaces Jens Axboe
2015-01-23 17:11 ` Christoph Hellwig
2015-01-23 17:24 ` Jens Axboe
2015-01-23 17:31 ` Christoph Hellwig
2015-01-23 17:39 ` Jens Axboe [this message]
2015-01-23 17:44 ` Christoph Hellwig
2015-01-23 17:46 ` Jens Axboe
2015-01-23 17:51 ` Christoph Hellwig
2015-01-23 17:52 ` Jens Axboe
2015-01-27 20:59 ` Keith Busch
2015-01-28 16:13 ` Jens Axboe
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=54C2875A.3040502@fb.com \
--to=axboe@fb.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox