A Study of iSCSI Extensions for RDMA (iSER)

Reviews
Shared by: akimbo
Stats
views:
21
rating:
not rated
reviews:
0
posted:
11/4/2008
language:
pages:
0
A Study of iSCSI Extensions for RDMA (iSER) Slide 1 August 27, 2003 Outline • Background – The Who, Where • Motivation and case for iSER – The Why • Layering of iSCSI, iSER & iWARP – Stack and functionality distribution • iSER design features – Connection setup, Transformation, Data integriy management • Changes/extensions to iSCSI – What is changed and why • Enhancements in iWARP protocols – Automatic invalidation • Enhancements to iWARP Verbs – Efficient registration of STags • Next steps – Standardization • Questions Slide 2 August 27, 2003 Background • The authors of this paper are: Mallikarjun Chadalapaka (HP), Uri Elzur (Broadcom), Michael Ko (IBM), Hemal Shah (Intel), and Patricia Thaler (Agilent). The iSER paper is based on a (just concluded) top-to-bottom protocol design work done by contributors from several companies in the RDMA Consortium. In other words, this paper generally belongs to the “Experience” category – the “E” in NICELI. This paper explores the design process of iSCSI Extensions for RDMA (iSER), a protocol that maps the iSCSI protocol over the iWARP protocol suite (RDMA over TCP/IP). The focus of this paper is two-fold in this design exploration : • how iSER enables efficient data movement for iSCSI using generic RDMA hardware • how/why certain iWARP architectural features were conceived during the iSER design. Slide 3 August 27, 2003 • • iSCSI, TCP and the challenges therein • iSCSI is an “application protocol” designed to run on TCP/IP. The iSCSI protocol encapsulates the SCSI protocol exchanges in order to perform SCSI I/Os over TCP/IP. The designers of the iSCSI protocol realized early on that the TCP copy overhead and TCP reassembly buffer requirements with high-speed TCP will become a critical factor in wide acceptance and deployment of iSCSI. The iSCSI protocol for this reason, includes an optional protocol mechanism called “markers”. Markers are a way to delineate iSCSI PDU boundaries via recurring pointers showing up at fixed intervals within the TCP data stream. • In other words, the iSCSI markers aid an iSCSI-specific direct data placement mechanism to directly place each iSCSI PDU into its final memory location. • iSCSI-specific direct data placement can also be done without employing markers, albeit needing more reassembly memory • The immediate consequence of either approach was that one needed an iSCSIspecific NIC to efficiently run iSCSI protocol avoiding TCP data copies. Slide 4 August 27, 2003 • • The case for iSER • Considerations the designers of iSCSI and iSER pondered over are • Shouldn’t generic RDMA over TCP/IP technology be sufficient for the data movement needs of iSCSI? When the RDMA technology advances, so does iSCSI. • Why tackle fundamental issues such as copy elimination via iSCSIspecific protocol?. • Did iWARP say it offers CRC-level reliability on TCP/IP? Let iSCSI take the opportunity to stop playing transport! • If nothing else, iSCSI needs iSER to run most efficiently on those (presumed to become) pervasive RNICs (RDMA-enabled NICs) in future. • The iSCSI designers were ultimately convinced of the need for iSER, an “extension” to iSCSI to enable it to run on RDMA over TCP/IP (aka iWARP). The iSER protocol thus is designed with the explicit design goal to let iSCSI run on RNICs requiring no greater number of interrupts than an iSCSI NIC does – i.e. run most efficiently on generic RNICs. Slide 5 August 27, 2003 • iSCSI, iSER and iWARP SCSI • The iSER protocol is designed to run on RDMAP protocol of the iWARP suite. • The paper contains a discussion of why RDMAP was preferred over DDP. iSCSI Datamover Interface • iSER iWARP Verbs The iSER wire protocol is dependent only on RDMAP. However, the “iWARP Verbs” are a crucial part of the solution puzzle. • During the iSER design, certain Innovations in iWARP Verbs were also made to best meet the needs of iSER. RDMAP DDP MPA TCP Generic RDMA over TCP/IP iWARP protocol suite • The first step in the iSER design work was to define an architecture model, called “Datamover Architecture”, that distilled the needs of iSCSI to generic data movement primitives. • iSER was then designed as an instantiation of this Datamover Architecture that simply maps the primitives to RDMAP interactions. RNIC Slide 6 August 27, 2003 iSER design • iSER protocol uses the well-known TCP port used for iSCSI connection establishment, rather than using a new iSER well-known port. • The iSCSI/iSER connection thus always starts in iSCSI “streaming” mode. • A new iSCSI login key used for turning the RDMA (iSER) mode on after login. • The existing discovery and boot mechanisms work with no changes. • Transformation or Encapsulation? • A question not traditionally encountered in layered protocols. • The iSER protocol simply encapsulates certain iSCSI PDUs (called “control-type” PDUs) in iSER RDMA Send Messages, while it transforms certain other iSCSI PDUs (called “data-type” PDUs) into RDMA Writes or RDMA Reads. • The iSER protocol relieves iSCSI of having to play transport role • iSER mandates that iSCSI-level PDU digests must not be used because iWARP guarantees CRC-level data integrity. • iSCSI CRC generation, checking, retransmission requests, retransmissions, timeout-based retransmissions - a lot of complexity in iSCSI is thus gone! Slide 7 August 27, 2003 Changes to iSCSI • The biggest set of changes to iSCSI in order to support iSER will be in the area of how iSCSI interfaces to its LLP (lower level protocol). • Traditional iSCSI interfaces directly with TCP. • Traditional iSCSI is involved in a lot of data movement activity. • In the new model, iSCSI simply yields the administration of data movement to iSER, and iSER and iWARP will work together to move the data. • Wire protocol • iSCSI-level PDU digests (header & data) must not be used ( so, don’t bother to use the PDU level recovery features of iSCSI ). • No piggybacking of status on the last read data PDU (the receiving RNIC doesn’t demux during placement! ) • Other areas • Obviously, iSCSI should know to negotiate the new login key – to turn the RDMA (iSER) mode on after login. • iSCSI must “chunk” long unsolicited data sequences into PDUs so that each “midPDU” is exactly of negotiated max size. Slide 8 August 27, 2003 Enhancement to RDMAP (automatic invalidation) • SCSI has a clearly defined transactional model • Command (Initiator -> Target) • data (either way) • status (Target -> Initiator) • The initiator iSER layer (client) exposes its STags to the target (server). • After receiving the status, initiator iSER layer will invalidate the STag mapping before using those buffers. • How about doing this invalidation automatically on receiving the status? That takes one hardware access out from the performance path. iSCSI iSER RNIC iSCSI iSER RNIC Status (SendSE Message) Allow buffer usage Invalidate the exposed STag Check the Allow invalidated buffer STag usage Status (SendSE with Invalidate Message) Note - Red line is crossed only once! Slide 9 August 27, 2003 Enhancements to iWARP Verbs (fast register) • The initiator iSER layer (client) exposes its STags to the target (server ). • The initiator iSER layer must register the Command buffer locally with the RNIC. • Registration process yields the STag, so must precede the advertisement. • This is a synchronous wait for a hardware response in the performance path. • In the fast-register model, the STag is allocated to iSER apriori. It is merely associated with the Command buffer during runtime. • The “fast-registration” is now guaranteed to succeed. • The initiator iSER layer can post the fast-register and command requests to the hardware back-to-back, no more waiting. • The paper also discusses automatic deregistration and Shared Receive Queues. iSCSI iSER RNIC iSCSI iSER RNIC SCSI Command Register the buffer to get STag Advertise the STag in the SCSI Command Fast-Register with a known STag Advertise the same STag in the Command Slide 10 August 27, 2003 Next Steps • The Datamover Architecture for iSCSI (DA) and iSCSI Extensions for RDMA (iSER) specifications were publicly released by the RDMA Consortium on July 21, 2003 (all specs available on www.rdmaconsortium.org). Several member companies are working on productization of the iWARP protocol suite and iSER. Both DA and iSER specs are submitted to IETF as Internet Drafts for pursuing standardization. • • Slide 11 August 27, 2003 Thank you!  Questions? Slide 12 August 27, 2003

Related docs
Introduction to RDMA Programming
Views: 148  |  Downloads: 5
Extensions
Views: 3  |  Downloads: 0
Extensions
Views: 5  |  Downloads: 1
iSCSI_SAN_Configuration_Guide
Views: 170  |  Downloads: 9
Analysis of iSCSI Target Software
Views: 62  |  Downloads: 4
ISER OUTLINES ARRC ECONOMIC IMPACTS
Views: 0  |  Downloads: 0
iSCSI-based IP Storage Area Networks
Views: 1  |  Downloads: 0
premium docs
Other docs by akimbo
Users marcsigal Desktop term papers TRMPPRUG-2
Views: 502  |  Downloads: 0
Shareholders Resolution Approving Agreement
Views: 185  |  Downloads: 11
Final Demand For Payment
Views: 520  |  Downloads: 24
Notice of Special Meeting of Directors
Views: 151  |  Downloads: 1
The Hindu-Yogi Science of Breath
Views: 294  |  Downloads: 18
ETrade Inc Ammendments and Bylaws
Views: 221  |  Downloads: 0
Customer Product Thank You Letter
Views: 948  |  Downloads: 21
pro-vehicle-mileage
Views: 252  |  Downloads: 15
Board Resolution Changing Board Size
Views: 233  |  Downloads: 6