Storage Performance Development Kit (SPDK)
 help / color / mirror / Atom feed
From: Kirubakaran Kaliannan <kirubak at zadarastorage.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] spdk user mode initiator
Date: Mon, 25 Sep 2017 10:58:45 +0530	[thread overview]
Message-ID: <8071db0297c9ee538075ec0203abc9a5@mail.gmail.com> (raw)
In-Reply-To: F009CE4E1CB4E047B169243B6A31892731495364@SHSMSX101.ccr.corp.intel.com

[-- Attachment #1: Type: text/plain, Size: 3433 bytes --]

Hi Gang,



I am on 3.18 kernel on initiator. I assume, I cannot use the nvme-cli
command on the initiator with 3.18 kernel. Right  (as this needs
nvme_fabrics driver !! )?

or am I missing some option in the command to expose the nvme devices
through spdk user-mode with out any support from the nvme kernel divers ?



Thanks

-kiru



*From:* SPDK [mailto:spdk-bounces(a)lists.01.org] *On Behalf Of *Cao, Gang
*Sent:* Friday, September 22, 2017 9:16 PM
*To:* Storage Performance Development Kit
*Subject:* Re: [SPDK] spdk user mode initiator



One thing is that you can try the nvme cli with SPDK support. Reference
here http://www.spdk.io/doc/nvme-cli.html



You can also use *nvme* *connect* command which through spdk user mode
initiator to connect the spdk nvme-of target and expose the /dev/nvmeX and
/dev/nvmeXn1 devices locally. Once these devices are listed, can run the
application on it.



If you have some issue when using SPDK supported nvme cli, please let us
know.



Thanks,

Gang



*From:* SPDK [mailto:spdk-bounces(a)lists.01.org <spdk-bounces(a)lists.01.org>] *On
Behalf Of *Kirubakaran Kaliannan
*Sent:* Friday, September 22, 2017 2:19 AM
*To:* Storage Performance Development Kit <spdk(a)lists.01.org>
*Subject:* Re: [SPDK] spdk user mode initiator





Just to cross check,  we need to build a plugin (to use the spdk SDK) for
the application we have and to compile it with the spdk to use it as the
initiator. Right ?



As I understand there is no traditional way of exposing the device for the
application to consume. Please confirm.



Thanks,

-kiru



*From:* Kirubakaran Kaliannan [mailto:kirubak(a)zadarastorage.com]
*Sent:* Friday, September 22, 2017 2:43 PM
*To:* 'Storage Performance Development Kit'
*Subject:* RE: [SPDK] spdk user mode initiator





Thanks Liu.



Now i can run perf test using

./perf -q 1 -s 1048576 -w read -M 100 -t 10 -r 'trtype:rdma adrfam:IPv4
traddr:10.3.7.2 trsvcid:4420 subnqn:nqn.2016-06.io.spdk:cnode1'



How can I import this as a block deivce (/dev/sd? Or /dev/nvme0?? Or some
other device format), so I can use this for the application locally ?





Thanks,

-kiru



*From:* SPDK [mailto:spdk-bounces(a)lists.01.org <spdk-bounces(a)lists.01.org>] *On
Behalf Of *Liu, Changpeng
*Sent:* Friday, September 22, 2017 10:42 AM
*To:* Storage Performance Development Kit
*Subject:* Re: [SPDK] spdk user mode initiator



Hi Kiru,



Yes, actually SPDK nvme library already support NVM-oF initiator, please
see examples/nvme/perf as an example.

It can connect local PCI NVMe or remote NVM-oF target.





*From:* SPDK [mailto:spdk-bounces(a)lists.01.org <spdk-bounces(a)lists.01.org>] *On
Behalf Of *Kirubakaran Kaliannan
*Sent:* Friday, September 22, 2017 12:57 PM
*To:* Storage Performance Development Kit <spdk(a)lists.01.org>
*Subject:* [SPDK] spdk user mode initiator





Hi,



We are evaluating the spdk-target with NVMf initiator (installing linux 4.9
only on the initator but 3.18 on the target).

This is good so for, and we do have customers don’t want to upgrade 3.18
kernel even on the initiator side.



So, Similarly do we have SPDK initiator (at user land) so I can have this
configured on 3.18 kernel ?

If we have one, any pointer to the documentation will help ?



Thanks

-kiru

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 10250 bytes --]

             reply	other threads:[~2017-09-25  5:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25  5:28 Kirubakaran Kaliannan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-09-25 16:08 [SPDK] spdk user mode initiator Cao, Gang
2017-09-22 15:45 Cao, Gang
2017-09-22 10:12 Wodkowski, PawelX
2017-09-22  9:18 Kirubakaran Kaliannan
2017-09-22  9:12 Kirubakaran Kaliannan
2017-09-22  5:11 Liu, Changpeng
2017-09-22  4:57 Kirubakaran Kaliannan

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=8071db0297c9ee538075ec0203abc9a5@mail.gmail.com \
    --to=spdk@lists.01.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