Transcript slides

NetFPGA
Greg Watson
Prof. Nick McKeown, Martin Casado
High Performance Networking Group
Stanford
and many Stanford students…
1
WARFP 2006
NetFPGA
•
•
•
•
Board
Software
Vendor Tools
Class material
Teach Network System design at undergraduate and graduate level classes
2
WARFP 2006
Overview
•
•
•
•
•
•
3
Motivation
Version 1
CS344 – Build an IP Router
Version 2
Research
Where now?
WARFP 2006
Motivation
• Provide practical experience in designing
computer network systems (routers, switches,
etc.)
4
WARFP 2006
Version 1
• Custom board
• 3 FPGAs
• SRAM, 8 10Mb/s
Ethernets
• Racked – remote
development and
debugging!
5
WARFP 2006
CS344 – Build an IP Router
• 10 week class. Masters/PhD level.
• Build a router with:
– Hardware path for valid IP.
– Software path for ARP, OSPF, invalid.
– Provide CLI to manage the router.
6
WARFP 2006
CS344 setup
Web
Browser
171.64.5.26
171.64.5.3
VNS
NetFPGA
Router
software
Campus Internet
7
WARFP 2006
Web
Server
Version 2
• Issues with Version 1
– Custom Rack (expensive, complicated)
– Slow (10Mb/s)
– Software/hardware interface not ideal
– Old technology
8
WARFP 2006
Version 2
• PCI, Four 1Gbps interfaces.
9
WARFP 2006
Version 2
512Kx36
SRAM
Quad
Eth
PHY
4 x 1G
FLASH
512Kx36
SRAM
RocketIO
on SATA
V2P30
RocketIO
on SATA
Spartan
PCI 32@33MHz
10
WARFP 2006
Typical Student design
Eth
MAC
Eth
MAC
Eth
MAC
To SRAM
Student Verilog
(e.g. router)
To SRAM
Eth
MAC
registers
Virtex2Pro30
PCI 32@33MHz
11
WARFP 2006
DMA
Research
• Why?
– “Fast and easy to use”
– “Enough gates, RAM, and bandwidth to do
real network systems”
• RCP @ Stanford (congestion protocol)
• IDS @ ICSI
• Can touch every packet
12
WARFP 2006
Where now
• Classroom
– Cheap, and easy to use
– Develop interesting classes
– Funding for support, testing, and development
– Exploit on-chip CPUs (embedded systems)
• Research
– EmuLAB/PlanetLab type configurations?
– Easy to use
13
WARFP 2006
More information
• http://klamath.stanford.edu/nf2/
14
WARFP 2006