iSCSI a SCSI over TCP mapping a SCSI over TCP mapping iSCSI - - PowerPoint PPT Presentation

iscsi a scsi over tcp mapping a scsi over tcp mapping
SMART_READER_LITE
LIVE PREVIEW

iSCSI a SCSI over TCP mapping a SCSI over TCP mapping iSCSI - - PowerPoint PPT Presentation

iSCSI a SCSI over TCP mapping a SCSI over TCP mapping iSCSI IETF - - 50 50 IETF Julian Satran IBM Research Lab in Haifa IBM Research Lab in Haifa 03/19/2001 Items to discuss Items to discuss ! CRC32, 64 and other checksums !


slide-1
SLIDE 1

03/19/2001

IBM Research Lab in Haifa IBM Research Lab in Haifa

iSCSI iSCSI – – a SCSI over TCP mapping a SCSI over TCP mapping IETF IETF -

  • 50

50

Julian Satran

slide-2
SLIDE 2

03/19/2001 iSCSI-IETF50 2

Items to discuss Items to discuss

! CRC32, 64 and other checksums

! What should be our requirements ! Summary of findings

! Security

! Separate presentation

! Formats

! Several alternatives

! Recovery

! What we will attempt to do

slide-3
SLIDE 3

03/19/2001 iSCSI-IETF50 3

Checksum/CRC requirements Checksum/CRC requirements

! Protect against:

! Protect against sporadic errors (low noise

channels – independent single bit errors)

! Protect against burst errors (as software and

unprotected components can introduce this type

  • f error too)

! Protect when data is not uniformly distributed

(biased as most real data is)

! Probability of undetected errors in excess of

10^-25 (ideally in excess of 10^-50) for a decent block length

slide-4
SLIDE 4

03/19/2001 iSCSI-IETF50 4

CRC vs. Checksum CRC vs. Checksum -

  • performance

performance

low high Data Bias sensitivity 10^-40 10^-35 Puds/8kblock 10^-41 10^-36 Pudb/8kblock 2^31-1 2^19 block (bits) 4 3 distance CRC32C Checksum

slide-5
SLIDE 5

03/19/2001 iSCSI-IETF50 5

CRC vs. Checksum CRC vs. Checksum -

  • complexity

complexity

CRC32C Checksum 2^18 bytes

  • Table-size

0.5 byte

  • Table lookups

2.75 2/3 Instructions/byte LFSR Adder or Adder+Modulo Hardware

slide-6
SLIDE 6

03/19/2001 iSCSI-IETF50 6

Checksum/CRC survey Checksum/CRC survey

! Results will be presented in a forthcoming

memo (ID)

! Recommend – CRC32C as mandatory to

  • implement. Good for all block lengths up to

2^31-1 bits

! CRC32C is:11EDC6F41 ! CRC32Q is:1814141AB

slide-7
SLIDE 7

03/19/2001 iSCSI-IETF50 7

Formats Formats

! Format alternatives

! Single Header Digest Formats ! Multiple Header Digest Formats

! Format illustration/documentation

! Eliminate common parts ! Always complete

slide-8
SLIDE 8

03/19/2001 iSCSI-IETF50 8

Single digest Single digest

Digest (if any) AHS fields-optional Type AHS fields-optional Type Data Length-optional Type BHS Length of AHSs or Data Length QL

slide-9
SLIDE 9

03/19/2001 iSCSI-IETF50 9

Single digest Single digest

! QL (Qualified Length) coding:

! B7- 0 No AHS, 1 – AHS ! B6-4 Reserved ! B3-0 Parity for first 4 bytes (or ECC)

! Type coding

! Bit 7-4 AHS Type

! 0-data ! 1-Bidi ! 2-Extended CDB

! Bit 3-0 Parity for first 4 bytes (or ECC) ! Length not needed always (fixed length AHS)

slide-10
SLIDE 10

03/19/2001 iSCSI-IETF50 10

Multiple digests Multiple digests

Data Length Type=DL Digest2 AHS fields Type AHS fields Type Digest1 BHS Length QL

slide-11
SLIDE 11

03/19/2001 iSCSI-IETF50 11

Multiple digests Multiple digests – – Barry Reinhold and Barry Reinhold and Robert Russell Robert Russell

Digest2 Length+Fields Type Length+Fields Type Digest1 BHS Dlength Alength

slide-12
SLIDE 12

03/19/2001 iSCSI-IETF50 12

Format illustration choices Format illustration choices

! Complete headers (as in pre 04 – including

all BHS fields and length)

! Headers without length (as in in 05) ! Headers with length but in another position? ! Other formats

slide-13
SLIDE 13

03/19/2001 iSCSI-IETF50 13

Recovery Recovery

! A pseudo-language description of recovery

will be added

! A team is working now on it:

! Mallikarjun C., Somesh Gupta, Steph Bailey,

John Hufferd, Luciano Dalle Ore, Venkat Rangan, Julian Satran

! No recovery is mandatory ! No need to use length that is in doubt ! DataSN is there to ensure sequence.

Recovery is optional

slide-14
SLIDE 14

03/19/2001 iSCSI-IETF50 14