combining high-speed interconnect with ethernet...
TRANSCRIPT
©2010 Integrated Device Technology, Inc.
Combining High-Speed Interconnect with Ethernet Systems
Devashish Paul Sr. Product Manager IDT Communications Division
CONFIDENTIAL PAGE 2 CONFIDENTIAL www.IDT.com
Agenda
● Serial RapidIO: Brief Intro ●When to use RapidIO/What tool for
what job? ● Protocol background and comparison ● Architecture options for bridging
Ethernet to RapidIO ● Translating between Ethernet and
RapidIO ● Architecture examples
● Mobile Broadband Wireless Basestation ● Servers: Blade & Micro
2
This presentation shows how to architect hardware and software to leverage 20G Serial RapidIO's lowest power & latency, and hardware-controlled fault management when bridging to an Ethernet backhaul. This is a common need for the similar architectures of basestations and servers.
CONFIDENTIAL PAGE 3 CONFIDENTIAL www.IDT.com
User/Analog/
Data Acquisition
Domain
Right Tool for the Right Job
Processing
Domain
Network Domain
In most systems, data comes from somewhere Camera RF Domain for radar
or wireless Data from Users (ex
Internet) Typical Interfaces for this:
Streaming (ex: CPRI/OBSAI)
Ethernet PCIe (ex: graphics) Proprietary
Once Data is Received, Processors must perform heavy lifting “inside the box” Could be single processor Multi Processor A variety of processing
elements Typical Interfaces for this:
RapidIO PCIe Hypertransport Infiniband Interlaken
Almost all systems are networked Need to get to
other users Need to get to
storage Need to access
applications or processing in another location
Interfaces for this: Ethernet
CONFIDENTIAL PAGE 4 CONFIDENTIAL www.IDT.com
By Application: Interfaces Working Together
Military Aerospace
Analog Sensor (ex: Antenna
Or FLIR)
Payload Processing
Display
Or Network
Steaming Ethernet
Image Processing
& video
Analog Sensor (ex: Camera,
MRI)
FPGA or DSP cluster
Display
Or Network
PCIe or Ethernet Ethernet
Server And HPC
Users on Internet
Server Blades
Network
And Storage
Ethernet Ethernet
Remote Radio
Head
Baseband Processing
Network
Base
Station
CPRI Ethernet Application
Data Acquisition Processing Network Domain
CONFIDENTIAL PAGE 5 CONFIDENTIAL www.IDT.com
What is RapidIO? RapidIO 1.2,
1.3, 2.3
Serial – XAUI, CES 1.25, 2.5,
3.125GBaud 5, 6.25GBaud
1X, 2X, 4X, 8X, 16X
-10-20GBaud 4X
backplanes -1.25GxN to
6.25GxN
RapidIO 25xN
IEEE –25G 25GBaud
-25GxN -25GBaud
to 400GBaud Backplanes
RapidIO 10xN
Serial –10G KR
10GBaud
-10GxN -40GBaud to
160GBaud Backplanes
Key Applications RapidIO 1.2 and beyond -DSP and Processor Farms
-Wireless 3G, WiMax, 4G and future 5G -Video servers, IPTV, HDTV, Media Gateways
-microTCA, AMC, PMC -VME, VSX, VPX systems -Storage/ Server Systems
- High Performance Computing
A high speed serial switched interconnect for embedded
Open specification developed by the RapidIO Trade Association
Existing ecosystem of NPUs, CPUs, DSPs, FPGAs, Switches, Bridges
Carrier-grade reliability for intra-board, inter-board, backplane, and chassis-to-chassis
Today: Ecosystem-wide support for 20 Gbps port speed
• Over 2.5 Million switches shipped Tomorrow: 10xN Future: 25xN
CONFIDENTIAL PAGE 6 CONFIDENTIAL www.IDT.com
When To Use RapidIO
RapidIO On the backplane
- Future proof - High throughput
- Low deterministic latency - Guaranteed packet delivery
- Prioritized traffic
RapidIO for fault tolerant Systems
- Flexible sparing strategies - Continued system operation in the
event of single faults - Rapid detection of faults
- Flexible response to faults
RapidIO on board as the single, simple
interconnect among all board components
Protect your SW investment - S-RIO logical layer remains the same across different
physical layer - RapidIO scales per port
- Saves system total power
CONFIDENTIAL PAGE 7 CONFIDENTIAL www.IDT.com
Why RapidIO in the Embedded Systems ● Disruptive Architecture, that changes the overall
economics of deployment in all multi-processor application
● Scalable solutions for board, backplane and inter chassis communication ● Extend overall system solution by aggregating chassis
● Lowest overall system power with S-RIO
● Superior end to end packet latency, throughput and fault tolerance
● Flexibility and scalability to evolve system configuration in field
● Large Ecosystem with native endpoint support
● Incumbent interconnect in all top 10 wireless OEM 3G and 4G base station designs
IDT RapidIO over 2.5 million switches shipped 400% year over year revenue growth
Silicon Partners with RapidIO
CONFIDENTIAL PAGE 8 CONFIDENTIAL www.IDT.com
3 Layer Protocol All Terminated in Hardware
Off loads processor from protocol termination stack Saves Power and CPU cycles
Ultra low end to end system latency
CONFIDENTIAL PAGE 9 CONFIDENTIAL www.IDT.com
Why RapidIO Inside the Box?
● RapidIO Gen2 ● RapidIO ideal for peer
multi processor performance
● Best cut through latency 100 ns, 10 GigE cut through latency of multiple hundreds of ns
● Guaranteed delivery mechanisms
● Payload rate 19 Gbps for S-RIO2, 8 Gbps for 10 GigE (256 byte packets)
● Better per-port economics than 10 GigE switches
RapidIO 2 19.6 Gbps actual data
rate, 256 byte packet
10 GbE ~8 Gbps, 256 byte packet
Bandwidth and Per Port Economics in Embedded
System Requirement 10G Ethernet RapidIO2
Switch per-port performance raw data rate 10 G 20 G
End to end packet termination >10 ms ~1-2 us
Messaging performance Poor Excellent
Volume pricing $ per 10G > $10 < $4.00
Overall system power High Lowest
”
CONFIDENTIAL PAGE 10 CONFIDENTIAL www.IDT.com
RapidIO and Ethernet Routing Overview
Source ID Dest ID
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 or 2 bytes
Routing Table
• RapidIO maps Dest ID to Output Port using an indexing operation.
• Routing can begin after the first 4 bytes of the packet have been received, minimizing latency
Physical Header
2 bytes
L2 Header
14 bytes
IPv4 Header
20 bytes
IPv6 Header
40 bytes VLAN MPLS
4 bytes
Output Port Number
VLAN Table
Longest Prefix Match Search
Output Port Number
1 or 2 bytes
• Ethernet routing requires packet parsing after L2 Header
• IP routing uses expensive Longest Prefix Match search for 4 (IPv4) or 8 (IPv6) byte addresses, which increases latency and requires additional power i.e external TCAM
• VLAN/MPLS routing uses indexing operation, but also requires pushing/popping VLAN/MPLS tags from the packet, which requires more latency.
Superior, Low Cost, Low latency routing in Embedded
CONFIDENTIAL PAGE 11 CONFIDENTIAL www.IDT.com
Low, Deterministic Latency
RapidIO 1 1 1 0 0 0
1 2 2 3 3 3
3 3 3 2 2 1
• High priority packets sent first under network congestion • Lossless delivery guaranteed
Ethernet • Packets discarded due to congestion • Transmission errors cause packet discard
• Recovery from packet discard requires timeout in TX SW Stack/TOE • Timeout must be set high to account for congestion in the switch/network (milliseconds to seconds)
A B
Packet SOP EOP
PNA
LRq
PNA
SW Stack SW Stack
NIC Switch NIC
• Error recovery in < 300 nsec
CONFIDENTIAL PAGE 12 CONFIDENTIAL www.IDT.com
RapidIO for Processor Aggregation inside box ● Ethernet has no small switch offering for 4 ports or 8 ports.
● All Ethernet switches are massive, consumer 30-40W, and large real estate
● This means it is hard to aggregate a moderate number of endpoints on one PCB like a line card
● Possible with RapidIO ● Each line card can then be
aggregated up to a backplane also with RapidIO switching
CONFIDENTIAL PAGE 13 CONFIDENTIAL www.IDT.com
RapidIO and Ethernet Bridging Options
Ethernet typically bridged to RapidIO by NPU, microprocessor, FPGA or other component with bulk DRAM for frame buffering
• NPUs support highest capacities
System designer’s option of where to bridge: Ethernet or S-RIO on backplane
RapidIO on backplane • Reduces cost (fewer bridges) • Leverages RapidIO Flow
Control • Reduces power (fewer
components / packet termination)
CONFIDENTIAL PAGE 14 CONFIDENTIAL www.IDT.com
Seamless RapidIO/Ethernet Networking
RapidIO Ethernet Encapsulation
Ethernet Native RapidIO Messaging
• Map IP addresses to/from RapidIO Device IDs • Map VLAN/MPLS priority to/from RapidIO priority • Could implement TCP/IP stack for small systems • Straight forward implementation using Type 9 packets
©2010 Integrated Device Technology, Inc.
Applications with RapidIO and Ethernet
CONFIDENTIAL PAGE 16 CONFIDENTIAL www.IDT.com
Wireless Basestation Architecture
16
• Ethernet and RapidIO connect all WCDMA and 4G / LTE base stations on the planet
• Every call, app download, email, & web page
• Ethernet + 20G RapidIO is the requisite architecture to meet the exponential increase in wireless traffic
• Backhaul: 1GbE or 10GbE • Backplane: RapidIO • Baseband Subsystem: RapidIO • NPU performs Ethernet to Serial
RapidIO bridging / translation • Freescale, Cavium, LSI, AMCC
RapidIO Gen2 switch
FPGA enabled with S-RIO
Freescale MSC 8156
DSP
Processor with S-RIO
20 Gbps Per port S-RIO
Freescale MSC 8156
DSP
Freescale MSC 8156
DSP DSP with S-RIO
20 Gbps Per port S-RIO
20 Gbps Per port S-RIO
20 Gbps S-RIO
Per port to backplane
Ethernet to backhaul
CPRI
CONFIDENTIAL PAGE 17 CONFIDENTIAL www.IDT.com
Server Architectures: Blade & Micro
17
PCIe to S-RIO bridge and Gen2 S-RIO Switch brings x86 CPU into RapidIO based Servers
Multiple links each 20G Multiple storage, networking, computing and chassis links
Network Interface Via Ethernet using NPU
CONFIDENTIAL PAGE 18 CONFIDENTIAL www.IDT.com
Server Architectures: Micro
18
Micro-server requires low-cost, low power, low-price (aka integrated IO) solution
Network I/O Module to LAN supported by existing NPUs
CONFIDENTIAL PAGE 19 CONFIDENTIAL www.IDT.com
Summary
●Use Right Tool for Right Job ● RapidIO ideal for embedded systems
with multi processor ● Low latency ●Highly scalable ● Bridge easily to Ethernet for network
and Data Acquisition ● Translating between Ethernet and
RapidIO is easy ● RapidIO is the standard in 3G and 4G
wireless base stations
19
User/Analog/
Data Acquisition
Processing
Domain
Network Domain
Highly scalable, low latency in embedded
For multi processor
©2010 Integrated Device Technology, Inc.
Backup
CONFIDENTIAL PAGE 21 CONFIDENTIAL www.IDT.com
Translating between Ethernet and RapidIO
21
Mapping Ethernet flow to RapidIO flows is a simple lookup operation • Each uses an address and protocol-specific value
– Ethernet: IP or MAC address, port number – RapidIO: device ID, stream ID, and / or Mailbox number
Strategy for transporting Ethernet over RapidIO • For TCP: NPU terminates Ethernet packet & forwards message on RapidIO
– Today’s processors terminate 10Ks of TCP sessions at 20Gbps line rate – “Zero CPU cycles”
• For UDP (or TCP that cannot be efficiently terminated): Encapsulate in RapidIO – At 20 Gbps line rate – Ethernet encapsulation is native part of RapidIO specification – Using Messaging or Data Streaming packets – Processing for encapsulation requires only address translation and assignment of
priority / Virtual Channel
• Essentially the converse story in reverse direction
RapidIO’s comprehensive flow control ensures QoS for Ethernet flows [1]
CONFIDENTIAL PAGE 22 CONFIDENTIAL www.IDT.com
RapidIO and Ethernet Quality of Service 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Packet Size
Throughput Guarantees
Latency Guarantees
Under Congestion
Head of Line Blocking Impact
RapidIO Ethernet
8 Byte Minimum • 64 byte Minimum
• Small HOL impact per packet • Flow control control symbols
embedded within packets
• Large HOL impact per packet • Flow control packets delayed by larger packets
276 Byte Max • 9216 byte Max
1 1 1 0 0 0
1 2 2 3 3 3
3 3 3 2 2 1
• High priority packets sent first • Guaranteed Delivery
1 1 1 0 0 0
1 2 2 3 3 3 3 3 3 2 2 1
0 0 /dev/null
• High “priority” packets sent first • Packets discarded to clear congestion
•RapidIO Virtual Channels (VC) •VC0 – Latency Guarantee
•VC1-8 – Throughput Guarantee
•TCP protocol slow to adapt, ineffective in DCE •VPN complex scheduling
•Deep packet inspection & separate hardware may be required!
CONFIDENTIAL PAGE 23 CONFIDENTIAL www.IDT.com
RapidIO and Ethernet Protocols Overview 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
L2 Header
14 bytes
IPv6 Header VLAN MPLS
4 bytes 40 bytes
TCP
20+ bytes
RDMA
13-17 bytes
Data
~1480 bytes
FCS
4 bytes Pre-
amble
8 bytes
IPG
12 bytes
Physical Layer
2 bytes
Src & Dest ID
2 or 4 bytes
SOP
4 or 8 bytes
Read/Write Header
Data Stream Header
Data CRC Data CRC
4 to 10 bytes
2 or 4 bytes
2 bytes
2 bytes
256 Data bytes/Packet
RapidIO
Ethernet
Transfer 256 B Message (Bytes)
4K RDMA
RapidIO 276 4372 (16 packets)
Ethernet 378 4501 (3 packets)
CONFIDENTIAL PAGE 24 CONFIDENTIAL www.IDT.com
Comparison of Ethernet & RapidIO
San Jose, CA USA February 2012
24
Attribute Ethernet RapidIO
Layer 2 Layer 3+ Logical Layer
Payload size (Bytes) 46-1500 (802.3) 46-9192(Jumbo)
26-1460 (802.3) 26-9172 (Jumbo)
1-256
Memory Mapped (Read/Write)
No RDMA Read/Write Atomics Configuration
Write with Response No No Yes
Address Size N/A 64-bits (RDMA) 34, 50, 66-bits
Messaging Support No TCP (among others) 64 KB User Payloads (Data Streaming)
Shared Memory No No Yes
Deadlock Avoidance N/A L3+ Must address Pervasive HW Support
Topologies Any Any Any
Delivery Service Best Effort (std) 'Lossless' (DCB)
Guaranteed (TCP, SCTP, others)
Guaranteed, with option of Best Effort per VC
Routing MAC Address IP Address Device ID
Maximum Endpoints 2exp48 2exp32 (IPv4) 2exp128 (IPv6)
2exp8 (small) 2exp16 (large)
Header fields which change link-to-link None TTL, MAC Addr, FCS, MPLS TTL
AckID (all) Hop Count, CRC (Maint Only)
Redundant Link Support Yes Yes Yes
CONFIDENTIAL PAGE 25 CONFIDENTIAL www.IDT.com
Contact Info & References ● Contact:
● [email protected] ● Senior Product Manager ● Communications Division
● Integrated Device Technology (www.IDT.com) ● Integrated Device Technology, Inc., the Analog and Digital Company™, develops system-level solutions that optimize its customers’ applications. IDT uses its market
leadership in timing, serial switching and interfaces, and adds analog and system expertise to provide complete application-optimized, mixed-signal solutions for the communications, computing and consumer segments. Headquartered in San Jose, Calif., IDT has design, manufacturing and sales facilities throughout the world. IDT stock is traded on the NASDAQ Global Select Stock Market® under the symbol “IDTI.” Additional information about IDT is accessible at www.IDT.com . Follow IDT on Facebook, LinkedIn, Twitter, and YouTube.
● References: ● Comparing Ethernet & RapidIO: http://advancedtca-systems.com/comparing-ethernet-rapidio/ ● RapidIO Trade Association: http://www.rapidio.org/ ● RapidIO Trade Association Education http://www.rapidio.org/education/technology_overview/ ● RapidIO Trade Association Fabric Comparisons:
http://www.rapidio.org/education/technology_comparisons/ ● “Why Redesign for 40GbE?” in ATCA / utCA Magazine: http://advancedtca-systems.com/why-redesign-40-gbe-ethernet/
San Jose, CA USA February 2012
25