23
1 © 2005 Cisco Sy stems, Inc. All rights reserv ed. Hot Chips 2005 Barcelona: a Fibre Channel Switch SoC for Enterprise SANs Nital P. Patwa Hardware Engineering Manager/Technical Leader

HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

1© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Barcelona: a Fibre Channel Switch SoCfor Enterprise SANs

Nital P. Patwa

Hardware Engineering Manager/TechnicalLeader

Page 2: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

222© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Agenda

• Introduction to Fibre Channel Switching inEnterprise SANs

• Barcelona Switch-On-a-Chip Architecture

• Advanced Features

• Implementation and Lab Testing

• Summary

• Q&A

Page 3: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

333© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Fibre Channel Switch

• Storage Area Networks (SAN)based on Fibre Channel protocolrevolutionized the way storagewas connected to the servers

• FC defined both Arbitrated Loop &Switch topologies

• Modern day SANs are switchbased, with arbitrated loop beingused in storage arrays

• SAN Address Space: 3-byteaddress dynamically assigned atlogin time

Switch-based SAN

Server

Switch

HBA

DSS/JBOD

Volume/LUN

Page 4: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

444© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Fibre Channel Switch

• Port Types: F(switch), FL(arbitrated loop) or E (ISL)

• 1G/2G/4G (similar to 10/100/1000), Also 10G and 8G

• All links have flow control based on buffer to buffer creditscheme

• Each credit allows transmission of a frame up to its max size(~2200 bytes)

• No WRED drop. Only timeouts or errors cause drop

• Amount of buffering required is much smaller than inethernet switches

• Requires elaborate Congestion Control scheme

Page 5: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

555© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Barcelona-based 32-port Switch

CPU Module

PCI

Barcelona

P0

TCAM

P15

SRAM

ADJSRAM

FIB, ACL

P16

P31

DDR

ARB

Barcelona

TCAMSRAM

ADJSRAM

FIB, ACL

Page 6: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

666© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Barcelona Switch-On-A-Chip

• 16 FC Ports and 16 proxy ports to form a 32-portnon-blocking switch with 2 Barcelonas

• 320 Buffers – allowing 16 credits for F and 60 for E

• 64 Gb Shared-Memory Switching Fabric

• Cut-through and Store-Forward modes

• Virtual SAN Support

• Zoning ACL Support

• FC-AL intelligent frame ordering

Page 7: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

777© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Major Blocks

Shared

Memory

Fabric

320 buffers

srds

Fwd Engine

MC/Span Repl

Arbiter

FL Reorder

CPU

Port

DDR0

DDR15

Fabric Ctl

portmac

srds portmac

FCC

FC Ports 0..15

tcam sram sram

PCI

DDR

Inter-chip Arbitration

SFP

SFP

Page 8: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

888© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Switching across Barcelona

• Requests from Barcelona B0 go to Arbiter in Barcelona B1

• Grants are sent to the fabric in B0 and B1

• Fabric in B0 will schedule the packet to arrive on DDR port

• Fabric in B1 will see the remote descriptor

• Fabric in B1 will schedule a bypass from the DDR port to theFC port

Fabric FabricF Port

Arb Arb

REQ

bypass

DDR

FL Port

B0 B1GNT

Page 9: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

999© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Switching Fabric

• Shared Memory Fabric with TDM access for 33 ports

• Dual-ported header ram doubles the bandwidth for shortpackets

• Line buffers and Pods simplify physical design

Header RAM

Dual Port

250MHz

Packet RAM

Single Port

250Mhz

512 bits

8 Line Buffers64 bits

9 Pods

4-ports sharing

a pod

Page 10: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

101010© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Fabric BW Analysis

Per-Port Bandwidth for a 2.125G link

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5

36

40

52

56

11

6

12

0

24

4

24

8

50

4

50

8

10

00

22

92

Packet Size

Gbp

s

bw needed bw available

Page 11: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

111111© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Advanced Features

Director-class features in 1 RU form-factor

• 4K Virtual SANs with inter-VSAN routing support

• Multipath Forwarding and Port Channels

• Spanning with fine-grain filter

• Fibre Channel to MPLS tunneling for remote span

• Fibre Channel congestion detection and avoidance

• Fibre Channel Trace Route

Page 12: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

121212© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Virtual SANs (VSANs)

• Overlay isolated virtual fabricson same physical infrastructure

Each VSAN contains zones andseparate (replicated) fabric services

VSAN membership determined byport

• Eliminates costs associatedwith separate physical fabrics

• VSANs for availability

Isolate virtual fabrics fromfabric-wide faults/reconfigurations

• Security

Complete hardware isolation

• Scalability

Replicated fabric services

Thousands of VSANs perstorage network

Department/

Customer ‘A’

Shared Storage

Department/

Customer ‘B’

VSAN-Enabled

Fabric

Mgmt

VSAN

VSAN

Trunks

Page 13: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

131313© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Intelligent Network Services—Multipath Forwarding and PortChannel

• Optimize use of fabric

• Port Channel: Bundleup to 8 links foraggregate of 16Gbps

• Multipath: Utilize up to16 equal-cost paths

• Hardware-basedintelligent loaddistribution

PortChannel

Multipath Forwarding

Page 14: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

141414© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Spanning – A Diagnostic Tool

• Spanning givescapability tointelligently observetraffic

Page 15: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

151515© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Span Implementation in Barcelona

• Only Descriptors need to be replicated – packets arealready in the shared-memory fabric

• Span filter rules define what to observe

• Span Replication Engine sends replicas to fabric

• Fabric forwards packet to span observation port

• MPLS tunneling allows Remote Span

Parser

Lkup

Keys

Tcam/Sram Access

FIB

I-ACL

SQ SRE

E-ACLParser Span

Filters

DescriptorsPacket

Packet

P0

P16

tcam sram sram

Rewrites

Page 16: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

161616© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Congestion Control In Fibre Channel Networks

• An inter-switch link (ISL)carrying multiple flowscould be under B2B flowcontrol when any one ofthe flows is congested

• Once ISL is under B2Bflow control, all flowsoperate at the ratedetermined by theslowest of the flows

• Cisco invented FCC –Fibre ChannelCongestion Control

Department/

Customer ‘A’

Shared Storage

Department/

Customer ‘B’

Potential

Bottlenecks

Page 17: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

171717© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Congestion Detection and Avoidance inBarcelona

• Congestion monitoring on-chip

• Quench Packet Generation

–Triggered by receipt of packet on congestedOutput Queue

–Triggering packet supplies SA/DA

• Quench Packet sent towards the source

• Source-facing F port on last hop executes Quenchand limits packet arrival rate via credit pacing

Page 18: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

181818© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Implementation

• 13M Gates, 10.5 Mb Memory

• 16 SRDS on-chip

• 16.5x15.7 mm die in 0.13µµ Technology

• 250 MHz clock rate

• 1517 pin package - 900 signal pins with interfaces to TCAM, DDR

SRAM, PCI Bus, Debug Bus

• Extensive debug features

• Implemented using ASIC flow – no custom circuit in thisimplementation

• Hierarchical Placement, Flat Routing

Page 19: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

191919© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Die Photo

SRDS x8

FC Port

Forwarding

EngineArbiter

Shared Memory

Fabric

SRDS x8

Page 20: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

202020© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Lab Results

• Chip demonstrated switching packets with internalpacket generators within first 4 hours!

• Scripts allowed port-login with Agilent SAN Testerwithout need for driver

• Full 32-port SNAKE demonstrated at line ratewithin first week

Page 21: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

212121© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Performance Testing With Snake Configuration

0 1 2 3 4 5 6 7

RX

TX

Fiber Connection

Forwarded by switch

SAN

Tester

Page 22: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

222222© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005

Summary

• Barcelona Switch-On-a-Chip for Enterprise SANApplications has been described

• Barcelona-based fabric-class FC Switch offersindustry’s most advanced features

• It’s unique architecture has permittedimplementation using ASIC flow

• Modular implementation allows easy upgrade path

Page 23: HC17.S2T2 Barcelona - a Fibre Channel Switch SoC for ... · Fibre Channel Switch • Port Types: F(switch), FL(arbitrated loop) or E (ISL) • 1G/2G/4G (similar to 10/100/1000), Also

232323© 2005 Cisco Sy stems, Inc. All rights reserv ed.Hot Chips 2005 232323