Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ......
-
Upload
nguyenmien -
Category
Documents
-
view
225 -
download
3
Transcript of Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ......
![Page 1: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/1.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Accelerating Flash Storage with Open Source RDMA
Rob Davis & Idan Burstein
Mellanox Technologies
![Page 2: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/2.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Open Source Flash Storage Solutions
2
Memory
PMf
Block File
Object
RDMA
SMB (CIFS)
NFS iSCSI
Ceph
iSER SMB Direct
NFSoRDMA
Ceph over
RDMA
NVMeoF
Pure Bandwidth – up to 100Gb/s Flash over Block,
File and Object RDMA
RoCE, iWARP, InfiniBand
iSER SMB Direct,
NFSoRDMA Ceph over RDMA
Non-Volatile Memory (NVM) NVMe over
Fabrics (NVMeoF) PMf (3D-XPoint)
![Page 3: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/3.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Why Should We Care About RDMA
3
![Page 4: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/4.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Faster Storage Needs a Faster Network
4
Only 2 SSDs fill 10GbE
24 HDDs to fill 10GbE
One SAS SSD fills 10GbE
![Page 5: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/5.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Faster Wires are Here Today
5
NICs Cables Cables
NICs
End-to-End 25, 40, 50, 100Gb Ethernet
Switches
100Gb InfiniBand Gen4 PCIe and 32GbFC
![Page 6: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/6.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Faster Wires Only Solve ½ the Problem
6
50%
100%
Networked Storage
Storage Protocol (SW) Network
Storage Media
Network
HDD SSD
Storage Media
0.01
1
100
HD SSD NVM
FC, TCP RDMA RDMA+
Acce
ss Ti
me
(mic
ro-S
ec)
Protocol and Network
PM
HDD PM
5
?
HDD
![Page 7: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/7.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Faster Protocol: NVMe
7
NVMe: Optimized for flash and next-gen NV-memory Traditional SCSI interfaces designed for spinning disk NVMe bypasses unneeded layers
NVMe Flash Outperforms SAS/SATA Flash 2x-2.5x more bandwidth, 40-50% lower latency, Up to 3x more
IOPS
![Page 8: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/8.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Faster Protocol: NVMf
8
The idea is to extend the efficiency of the local NVMe interface over a fabric Ethernet or IB NVMe commands and data
structures are transferred end to end
Relies on RDMA for performance Bypassing TCP/IP
![Page 9: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/9.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
What is RDMA?
9
adapter based transport
![Page 10: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/10.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
RDMA barrowed from HPC
10
2015 Data
More Performance
![Page 11: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/11.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Open Source RoCE RDMA Storage Solutions Performance
11
RoCE Storage Protocols iSER SMB Direct Ceph over
RDMA Non-Volatile
Memory (NVM) NVMe over
Fabrics (NVMeoF)
PMf (3D-XPoint)
![Page 12: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/12.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
iSER Ethernet RoCE RDMA Efficiency
12
Higher Bandwidth and IOPS with Less CPU Utilization than iSCSI
![Page 13: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/13.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
iSER RoCE Performance Demo at FMS
13
Target node Dual-socket x86 server 4x40GbE NICs iSER LIO target 20xPM953 NVMe drives
Initiators Dual-socket x86 server 1x40GbE NIC
Performance 2.1M – 4K Random Read 17.2GB/s – 128K Seq
Read
![Page 14: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/14.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
SMB Ethernet RoCE File Performance
14
SMB3 using 100Gbps RDMA
Storage Spaces using NVMe SSDs
Over 11GB/sec over one NIC port
1ms latency with SMB3 storage
Less than 15% CPU utilization
![Page 15: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/15.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
SMB RoCE File Demo at Microsoft Ignite
15
2X Better Bandwidth
Half the Latency
33% Lower CPU
See the demo: https://www.youtube.com/watch?v=u8ZYhUjSUoI
![Page 16: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/16.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Object Storage with RoCE on Ceph
16
RDMA is implemented in Ceph Hammer Release as Beta Tests show performance 30-40% better with RDMA
![Page 17: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/17.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Open Source RoCE RDMA Storage Solutions Performance
17
RoCE Storage Protocols iSER SMB Direct Ceph over
RDMA Non-Volatile
Memory (NVM) NVMe over
Fabrics (NVMeoF)
PMf (3D-XPoint)
![Page 18: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/18.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVMEoF Version 1.0 Open Source Drivers
18
![Page 19: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/19.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Persistent Memory in Storage
19
Storage with memory performance Large Write Latency Improvements over
Flash Byte Addressability
E.g. 3dxpoint, NVDIMM, NVRAM, RERAM
Emerging Eco-system for Direct Attach Storage SNIA NVM Programming Model TWIG Memory mapping of the storage media
PMEM.IO, DAX changes in file system stack
Next step is Remote Access SNIA NVM PM Remote Access for
High Availability
![Page 20: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/20.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
RDMA and Persistent Memory
20
![Page 21: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/21.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Protocol Deep Dive
NVMe over Fabrics On going work for remote persistent memory
access
21
![Page 22: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/22.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVMe and NVMeoF Fit Together Well
22
1) NVMe command encapsulated into RDMA by host RNIC, then crosses the network
2) Target moves command to NVMe SSD 3) Target SSD response encapsulated into RDMA
by Target RNIC and crosses the network 4) Host de-encapsulates response back to NVMe
Netw
ork
Network
![Page 23: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/23.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVMe-OF IO WRITE
Host • Post SEND carrying Command Capsule (CC)
Subsystem • Upon RCV Completion
- Allocate Memory for Data
- Post RDMA READ to fetch data
• Upon READ Completion - Post command to backing store
• Upon SSD completion - Send NVMe-OF RC - Free memory
• Upon SEND Completion - Free CC and completion resources
RNICNVMe Initiator
RNIC NVMe Target
Post Send (CC)
Send – Command Capsule
AckCompletion
CompletionAllocate memory for data
Register to the RNICPost Send
(Read data)RDMA Read
Read response first
Read response last
CompletionPost NVMe commandWait for completion
Free allocated memoryFree Receive buffer
Post Send (RC)Send – Response Capsule
Completion Ack
Completion
Free send buffer
Free send buffer
Free data buffer
![Page 24: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/24.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVMe-OF IO READ
Host Post SEND carrying Command
Capsule (CC) Subsystem
Upon RCV Completion Allocate Memory for Data Post command to backing
store Upon SSD completion
Post RDMA Write to write data back to host
Send NVMe RC Upon SEND Completion
Free memory Free CC and completion
resources
RNICNVMe Initiator
RNIC NVMe Target
Post Send (CC)
Send – Command Capsule
AckCompletion
Completion
Post NVMe commandWait for completionFree receive buffer
Post Send (RC)
Send – Response Capsule
Completion Ack
CompletionFree send buffer
Free send buffer
Post Send (Write data)
Write first
Write last
Ack
CompletionFree allocated buffer
![Page 25: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/25.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVMe-OF IO WRITE IN-Capsule
Host • Post SEND carrying Command Capsule (CC)
Subsystem • Upon RCV Completion
- Allocate Memory for Data
• Upon SSD completion - Send NVMe-OF RC - Free memory
• Upon SEND Completion - Free CC and completion resources
RNICNVMe Initiator
RNIC NVMe Target
Post Send (CC)
Send – Command Capsule
AckCompletion
Completion
Post NVMe commandWait for completionFree receive buffer
Post Send (RC)Send – Response Capsule
Completion Ack
CompletionFree send buffer
Free send buffer
![Page 26: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/26.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Linux 4.8 NVMf Design
NVMf Target Driver
RDMA NIC
NVMe-PCI
Block
submit_bio()
NVMe device
RDMA
NVMe-RDMA
RDMA NIC
NVMe
submit_bio()
![Page 27: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/27.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
SPDK NVMe over Fabrics demo configuration
PCIe 3.0 x8 PCIe 3.0 x8
NVMf Initiator NVMf Target
40GbE with RDMA (RoCE)
Mellanox ConnectX-3 40GbE Single-Port
Mellanox ConnectX-3 40GbE Single-
Port Intel NVMe SSD P3600 2TB x 4
NVMf Target • CPU: Intel Xeon E5-2699 v3 2.3GHz, 18 cores, x2 • Memory: 8 x 8GB DDR4-2133 DIMM • Storage: Intel SSD DC P3600 Series 2.5" 2TB, x4 • Network: Mellanox ConnectX-3 40GbE Single-Port • OS: CentOS 7.2 Kernel 3.10 • SPDK: http://spdk.io
NVMf Initiator • CPU: Intel Xeon E5-2699 v3 2.3GHz, 18 cores, x2 • Memory: 8 x 8GB DDR4-2133 DIMM • Network: Mellanox ConnectX-3 40GbE Single-Port • OS: CentOS 7.2 Kernel 3.10 • Benchmark: FIO 2.2.9 • Intel also tested this with ConnectX-4 Lx using 2x25GbE
![Page 28: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/28.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
SPDK NVMe over Fabrics demo performance
• Throughput of NVMf with SPDK can reach 1.0M IOP • Only 1.3 CPU cores utilized, which is 2% CPU utilization
Mellanox RDMA fabric can greatly improve CPU efficiency and optimize application latency
![Page 29: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/29.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Mellanox NVMe over Fabrics Performances Evaluation Topology
Two compute nodes ConnectX4-LX 25Gbps port
One storage node ConnectX4-LX 50Gbps port 4 X Intel Nvme device (P3700/750 series)
Nodes connected through switch
Added latency ~11us
Bandwidth (Target side)
IOPS (Target side)
Num Online cores
Each core utilization
BS = 4k, 16 jobs, IO depth = 64
5.2GB/sec 1.3M 4 50%
Host Host
25GbE Switch
25GbE25GbE
Target
50GbE
NVMe NVMe NVMe NVMe
G3x4 G3x4 G3x4 G3x4
![Page 30: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/30.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Remote PMEM Access
![Page 31: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/31.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Background – RDMA Based Storage Protocols Exchange model highlights (pull model):
Control commands/completions are transferred with SEND
Data transfer is being initiated by the storage target application due to memory scalability
The reason for the design of the protocols: Latency of storage device is orders of
magnitude higher than network latency Storage is not byte addressable Scalability of intermediate memory
Examples for storage protocols SMB-Direct NFS/RDMA iSER SRP NVMe/Fabrics
HCA ApplicationHCA
Allocate memory
Write to storage
Application
![Page 32: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/32.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Latency Breakdown for Accessing Storage Traditional storage latency are
>10usec Round trip time (RTT) and
interrupt overheads are in the same order of magnitude at the best case
Persistent Memory Non-Volatile memory technologies are reducing these to <1usec
Spending time on RTT and interrupts becomes unacceptable
HCA ApplicationHCA
Allocate memory
Write to storage
Application
![Page 33: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/33.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Attributes of Persistent Memory Byte addressable over the
coherent / non-coherent BUSes Latency of access is compatible
with the BUSes requirements Therefore:
These attributes enables the Persistent Memory to be exposed to RDMA access
Reliability extensions should be provided at the protocol level to verify persistency
![Page 34: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/34.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
RDMA WRITE
RDMA Acknowledge (and Completion) Guarantee that Data
has been successfully received and accepted for execution by the remote HCA
Doesn’t guarantee data has reached remote host memory
Further Guarantees
Implemented by ULP
Host HCA HostHCA Memory
![Page 35: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/35.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Remote PM Extensions Must be Implemented in Many Places
Santa Clara, CA August 2016
35
NVMf iSER NFS o RDMA
SMB Direct
Remote Cache Flush Needed
Data needs to be pushed to Target
![Page 36: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/36.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
SNIA NVM Programming Model
Accelerate the availability of software that enables NVM (Non-Volatile Memory) hardware. Hardware includes SSD’s and PM Software spans applications and OS’s
Create the NVM Programming Model Describes application visible behaviors Allows API’s to align with OS’s Exposes opportunities in networks and processors
36
![Page 37: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/37.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
NVM.PM.FILE Basic Semantics
MAP Associates memory address with a file descriptor Specific address may be requested
SYNC Commit the read/write transactions to persistency Types
Optimize flush Optimize flush and verify
37
![Page 38: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/38.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Use Case: RDMA for PMEM High Availability
Mapping controlled by client peer OS
Mapping controlled by RNICMapping controlled by server peer OS
![Page 39: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/39.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Use Case: RDMA for PMEM High Availability
MAP Memory address for the file Memory address +
Registration of the replication SYNC
Write all the “dirty” pages to remote replication
FLUSH the writes to persistency
UNMAP Invalidate the registered pages
for replication
App: SW PeerA:Host SW
PeerANIC:RNic
PeerBNIC:RNic
PeerB PM: PM
PeerB:Host SW
MapRDMAOpen
RDMAMmapregisterMemory
OptimizedFlush RDMAWrite
RDMAWrite
Write
RDMAWrite
Write
RDMAWrite
Flush
Flush
Flush
UnmapRDMAUnmap
unregisterMemory
1
2
3
RDMAWrite
FlushRDMAWrite
Write
Store
Store
Store
![Page 40: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/40.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Examples for POCs
![Page 41: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/41.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Peer-Direct NVRAM over RDMA Fabrics Proof of Concept
Development platform to enable testing of remote memory transactions over RDMA fabrics to non-volatile storage Mellanox RDMA HCA PMCS NVRAM Card PMCS PCIe Switch
IO transactions bypass host CPU on server using Peer-Direct Reduced server load and DRAM
bandwidth 4us latency for 4KB IO from client to
server non-volatile memory over RDMA connection Network latency no longer a don’t-
care for remote block IO transactions
Flash Memory Summit 2015
![Page 42: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/42.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
HGST FMS Demo
Key-Value Store fetch from Non-Volatile Storage in ~ 2 µs, comparable to cutting-edge DRAM systems
IB Network
PCM SSD
PCIe P2P
100 Gb/s IB Switch
![Page 43: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/43.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Open Source RDMA Software
http://linux-iscsi.org/wiki/ISCSI_Extensions_for_RDMA
http://docs.ceph.com/docs/master/releases/ https://www.samba.org/ (Windows SMB) https://www.kernel.org/doc/Documentation/filesyste
ms/nfs/nfs-rdma.txt git://git.infradead.org/nvme-fabrics.git https://community.mellanox.com/docs/DOC-2283
43
![Page 44: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/44.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Conclusions
By adding RoCE RDMA network technology storage performance, whether Block, File, or Object, can be enhanced dramatically.
By adding RDMA support you can future proof your network for next generation NVM storage technologies
The software that powers RoCE RDMA technology is available through open source
44
![Page 45: Accelerating Flash Storage with Open Source RDMA - SNIA · Accelerating Flash Storage with Open ... Bypassing TCP/IP . ... RDMA is implemented in Ceph Hammer Release as Beta](https://reader031.fdocuments.net/reader031/viewer/2022011801/5ae5559e7f8b9a08778b9a3e/html5/thumbnails/45.jpg)
2016 Storage Developer Conference. © Insert Your Company Name. All Rights Reserved.
Thanks!