Network Processor: Architecture and...

14
10/25/06 16.480/552 1 Network Processor: Architecture and Applications Yan Luo [email protected] http://faculty.uml.edu/yluo/

Transcript of Network Processor: Architecture and...

Page 1: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 1

Network Processor:Architecture and Applications

Yan [email protected]

http://faculty.uml.edu/yluo/

Page 2: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 2

Outline

Overview of Network ProcessorsNetwork Processor ArchitecturesApplicationsCase Studies

Wireless Mesh Networka Content-Aware Switch

Conclusion

Page 3: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 3

Packet Processing in the Future Internet

•High processing power•Support wire speed•Programmable•Scalable•Optimized for networkapplications• …

ASIC

General-Purpose Processors

More packets &

Complex packet processing

Future Internet

Page 4: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 4

What is Network Processor ?

Programmable processors optimized fornetwork applications and protocol processing

High performance

Programmable & Flexible

Optimized for packet processing

Main players: AMCC, Intel, Hifn, Ezchip,Agere

Semico Research Corp. Oct. 14, 2003

Page 5: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 5

Commercial Network Processors

Multi-threaded, on-chip trafficmanagement

OC-192/10 Gbps

PayloadPlusAgere

Multi-threaded multiprocessorcomplex, h/w accelerators

OC-48/2.5 Gbps

5NP4GHifn

Classification engines, trafficmanagers

OC-192/10 Gbps

NP-2EZchip

Intel

AMCC

Vendor

IXP2850

nP7510

Product

Multi-core, h/w multi-threaded,coprocessor, h/w accelerators

OC-192/10 Gbps

Multi-core, customized ISA,multi-tasking

OC-192/10 Gbps

FeaturesLinespeed

Page 6: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 6

Typical Network Processor Architecture

SDRAM(e.g. packet buffer)

SRAM(e.g. routing table)

Co-processor

Network interfaces

Network ProcessorBus

H/w accelerator

PE

Page 7: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 7

Intel IXP2400 Network ProcessorIntel IXP2400 Network Processor

Page 8: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 8

Snapshots of IXP2xxx BasedSystems

Radisys ENP2611 PCI Packet Processing Engine

ADI Roadrunner Platform•multiservice switches, •routers, broadband access devices, •intrusion detection and prevention (IDS/IPS)•Voice over IP (VoIP) gateway•Virtual Private Network gateway•Content-aware switch

•IPv4 Forwarding/NAT•Forwarding w/ QoS / DiffServ•ATM RAN•IP RAN•IPv6/v4 dual stack forwarding

Page 9: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 9

Intel IXP425 Network Processor

Page 10: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 10

StarEast: IXP425 Based Multi-radioPlatform

Page 11: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 11

Applications of Network Processors

DSL modem

Wireless router

VoIP terminal

Printer server

Edge router

VPN gateway

Core router

Page 12: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 12

Case Study 1:Wireless Mesh Network

Page 13: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 13

Software Stack on StarEast

Page 14: Network Processor: Architecture and Applicationsfaculty.uml.edu/yluo/Teaching/MicroprocessorII/NP_arch_apps.pdf10/25/06 16.480/552 14 Case Study 2: Content-aware Switch Switch Media

10/25/06 16.480/552 14

Case Study 2: Content-aware Switch

Switch

Media Server

Application Server

HTML Server

www.yahoo.comInternet

GET /cgi-bin/form HTTP/1.1 Host: www.yahoo.com…

APP. DATATCPIP

Front-end of a Web cluster, only one Virtual IP Route packets based on Layer 5 information

Examine application data in addition to IP& TCP Advantages over layer 4 switches

Better load balancing: distributed based on content typeFaster response: exploit cache affinityBetter resource utilization: partition database