From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Isolation for applications
Date: Fri, 10 Feb 2017 15:11:17 +0000 [thread overview]
Message-ID: <B5C2AB40-E77F-43FD-9FF0-7DFAC069174F@intel.com> (raw)
In-Reply-To: CAFUBSnFSQnueH3=s8YceOfvKRWLmgh=OoNr+gOUsxUCRdJJ8Pg@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]
Hi Pramod,
There are a few projects in progress within our team here at Intel to work towards this kind of isolation.
First – we are developing a userspace SPDK vhost-scsi target, which can serve SPDK block storage into virtual machines. This depends on some changes needed in QEMU to support userspace vhost-scsi targets. VMs use the standard virtio-scsi driver to communicate with the SPDK vhost-scsi target. The SPDK vhost-scsi target ensures each VM can only access the block storage it has been allocated. Host processes could theoretically use a similar mechanism, but would need a userspace SPDK virtio-scsi driver (similar to the DPDK rte_virtio userspace driver for networking). Our team is not currently focusing on an SPDK virtio-scsi driver, but would be happy to accept patches which would add one.
Second – we are developing a lightweight filesystem/block allocator called Blobstore. This can be used to dynamically partition block devices. In this model, you could create large “blobs” on an NVMe devices, and assign different blobs to different VMs or host processes.
Long-term, as NVMe devices start to support SR-IOV, you will be able to isolate by allocate capacity to a namespace, assign that namespace to a VF, and then run your SPDK application against that VF.
Hope this answers your questions…
-Jim
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Pramod Bhatotia <pramod.bhatotia(a)gmail.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Friday, February 10, 2017 at 6:53 AM
To: "SPDK(a)lists.01.org" <SPDK(a)lists.01.org>
Subject: [SPDK] Isolation for applications
Hi everyone,
How could we support an isolation mechanism for competing applications for the userspace NVMe over Intel SPDK?
Also, is there a file-system/OS support to enforce such isolation?
Thanks,
-Pramod
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5938 bytes --]
next reply other threads:[~2017-02-10 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-10 15:11 Harris, James R [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-10 13:53 [SPDK] Isolation for applications Pramod Bhatotia
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=B5C2AB40-E77F-43FD-9FF0-7DFAC069174F@intel.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