10
PCS Lane Error Check (BIP-8) Proposal Gary Nicholl, Mark Gustlin, Cisco Pete Anslow, Nortel IEEE P802.3ba Task Force New Orleans, January 12-16, 2008

PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

  • Upload
    lyque

  • View
    247

  • Download
    5

Embed Size (px)

Citation preview

Page 1: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

PCS Lane Error Check (BIP-8) Proposal

Gary Nicholl, Mark Gustlin, CiscoPete Anslow, Nortel

IEEE P802.3ba Task ForceNew Orleans, January 12-16, 2008

Page 2: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

2

Supporters

Ralf-Peter Braun, DTTed Seely, SprintRyan Latchman, GennumEddie Tsumura, ExcelightDrew Perkins, Andy Moorwood, InfineraSam Sambasivan, AT&TNorbert Folkens, JDSUSubi Krishnamurthy, Force10Brad Booth, AMCCShimon Muller, SunPete Anslow, NortelGary Nicholl, Mark Gustlin, Cisco SystemsDavid Ofelt, Jeff Maki, Juniper NetworksChris Cole, FinisarFarhad Shafai, SaranceAndre Szczepanek, TI

Page 3: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

3

Introduction

• Several customers have commented that while counting sync header errors (nicholl_02_0508 and implemented in D1.1) is very useful for monitoring (estimating) the long term bit error rate on a link, it does not provide a direct method to detect isolated and/or infrequent error events.

• This presentation proposes to address this requirement by adding a simple BIP-8 error check per PCS lane.

Page 4: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

4

PCS Lane BIP-8 Proposal

• Add a simple BIP-8 (bit interleaved parity) check per PCS lane

• The BIP-8 is carried in the alignment marker, and replaces the current M3 byte.

10 ~M2 ~M3

Current Alignment Word

~M0 ~M1M0 M1 M3M2

10 ~M2 ~BIP-8

Alignment Word with a BIP8

~M0 ~M1M0 M1 BIP-8M2

Page 5: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

5

PCS Lane BIP-8 Coverage

BIP-8

1 2 16,384 1

BIP-8 calculated over

1 66 1 66 1 66 1 66

• BIP-8 is calculated over all bits of an alignment marker and subsequent blocks up to (but not including) the next alignment marker and then inserted into the next alignment marker as shownbelow.

• Sync header bits 0/1 are covered by bits 4/3 of the BIP-8

BIP-8 bit7: even parity over bit 7 of all the octets BIP-8 bit6: even parity over bit 6 of all the octets BIP-8 bit5: even parity over bit 5 of all the octetsBIP-8 bit4: even parity over bit 4 of all the octets and all of the sync 0 bitsBIP-8 bit3: even parity over bit 3 of all the octets and all of the sync 1 bitsBIP-8 bit2: even parity over bit 2 of all the octetsBIP-8 bit1: even parity over bit 1 of all the octetsBIP-8 bit0: even parity over bit 0 of all the octets

M ~MB ~B M ~MB ~B

Page 6: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

6

PCS Lane BIP-8 Reporting

• The BIP-8 proposal is not intended to impact any existing state machines

• No consequent actions shall be driven based on detected BIP-8 errors

• BIP-8 errors shall simply be counted and reported to the user over the MDIO interface (in the same way as sync header errors, CRC errors, etc)

• A suitably sized counter shall be allocated in the MDIO memory space for each PCS lane, to ensure that the counter will not saturate (overflow) even if polled at a rate of once per second.

Page 7: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

7

BIP-8 vs Sync violation performance• BIP-8 accurate up to about 1E-6 BER (after which it saturates)• Sync header violations accurate up to about 1 in 10 BER but have to wait

33 times longer at low BER for same uncertainty as BIP-8• BIP-8 also has the advantage that it can detect all isolated error events (up

to a 5 bit error burst), which sync header violations cannot (since they are based on only sampling 2 out of every 66 bits)

1.00E-09

1.00E-08

1.00E-07

1.00E-06

1.00E-05

1.00E-04

1.00E-03

1.00E-02

1.00E-01

1.00E+001.00E-09 1.00E-08 1.00E-07 1.00E-06 1.00E-05 1.00E-04 1.00E-03 1.00E-02 1.00E-01 1.00E+00

Actual BER

Indi

cate

d B

ER

BIP-8

Invalid Sync

Page 8: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

8

Impact on PCS Lane alignment ?

• Stealing M3 (~M3) for a BIP-8 means that the PCS lane alignment has to be performed on a marker composed of 6 rather than 8 bytes, but this makes no difference to the performance:

Alignment and Sync Time

1.E-071.E-041.E-011.E+021.E+051.E+081.E+111.E+141.E+17

1.E-12

1.E-10

1.E-08

1.E-06

1.E-04

1.E-02

1.E-01

Log (BER)

Log

(sec

onds

) MTTLA (no BIP)MTTA (no BIP)Lifetime UniverseOne YearMTTLA (BIP)MTTA (BIP)

Page 9: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

9

Implementation Complexity

• Trivial …

• 16 extra flip-flops (8 for TX, 8 for RX) and a handful of XOR gates per PCS lane (Farhad Shafai)

• ~ 0.25% increase in MAC/PCS gate count

• Already verified in hardware (Farhad had coded, debugged and verified the feature within one hour of receiving the proposal !)

Page 10: PCS Lane Error Check (BIP-8) Proposal · 5 PCS Lane BIP-8 Coverage BIP-8 12 16,384 1 BIP-8 calculated over 1 66 1 66 1 66 1 66 • BIP-8 is calculated over all bits of an alignment

10

Summary

• BIP-8 provides a simple method for quickly detecting (all) isolated and infrequent error events

• BIP-8 is well understood and widely used in the industry

• Complexity is very low (~ 0.25% increase in gate count)

• Implementation is trivial (already verified)

• No impact to the performance of the alignment statistics