NetFPGA

SIGCOMM 2008 Tutorial



Building Gigabit-rate Routers with the NetFPGA at the SIGCOMM 2008 Conference


Presented by: John W. Lockwood, Glen Gibb, and Adam Covington of the High Performance Network Group at Stanford University

Date: Sunday, August 17, 2008

Time: 9am - 5pm

Location: Laboratory/Classroom, Seattle, Washington, United States



Abstract

An open platform called the NetFPGA has been developed at Stanford University. The NetFPGA platform enables researchers and instructors to build high-speed, hardware-accelerated networking systems. The platform can be used in the classroom to teach students how to build Ethernet switches and Internet Prototcol (IP) routers using hardware rather than software. The platform can be used by researchers to prototype advanced services for next-generation networks.

By using Field Programmable Gate Arrays (FPGAs), the NetFPGA enables new types of packet routing circuits to be implemented and detailed measurements of network traffic to be obtained. During the tutorial, we will use the NetFPGA to determine the amount of memory needed to buffer TCP/IP data streaming through the Gigabit/second router. Hardware circuits within the NetFPGA will be implemented to measure and plot the occupancy of buffers. Circuits will be downloaded into reconfigurable hardware and tested with live, streaming Internet video traffic.

This full-day hands-on tutorial will be held in a classroom or laboratory equipped with ten PCs with NetFPGA hardware on Sunday or Monday, August 17 or 18, 2008.



Background

Attendees will utilize a Linux-based PC equipped with NetFPGA hardware. A basic understanding of Ethernet switching and network routing is expected. Past experience with Verilog is useful but not required. This full-day tutorial extends the material presented at the Hot Interconnects tutorial and the SIGMETRICS tutorials in 2007.



Outline


  • Introduction to the operation of an Internet Router
    • Control Plane
      • Routing protocols
      • Routing table
      • Management interfaces
    • Datapath
      • Longest Prefix Match (LPM)
      • Classless Interdomain Routing (CIDR)
      • Header processing
      • Packet buffering
  • The NetFPGA Router
    • Hardware
      • Gigabit Ethernet interfaces
      • Field Programmable Gate Array (FPGA) Logic
      • Random Access Memory (RAM)
    • Software
      • Kernel-space driver
      • User-space applications
      • PCI interface
  • Demonstration Topology
      • Hardware
        • Network of ten routers
        • Ethernet switch
        • Video server
        • High Definition (HD) video client
      • Software
        • PW-OSPF
        • Routing tables
        • Dynamic re-routing
  • Integrated Circuit Design
    • Technologies
      • Look-Up Tables (LUTs)
      • Configurable Logic Blocks (CLBs)
      • Field Programmable Gate Arrays (FPGAs)
    • Verilog Hardware Description Language (HDL)
      • Registers, integers, arrays
      • Multiplexers
      • Synchronous storage elements
      • Finite State Machines (FSMs)
    • Hardware Debug
      • Waveform monitor
      • In-circuit logic emulation
  • NetFPGA System Components
    • Synthesis of tutorial router
    • Java-based Graphical User Interface (GUI)
      • Configuration
      • Statistics
    • Router Architecture
      • Pipeline
      • Queues
  • Buffer Size Experiment
    • Experiment with TCP/IP flows
      • Rule-of-thumb for the buffer size
      • Round-trip propation delay
      • Capacity of bottlneck link
      • Number of active flows
    • Lower delay with smaller queues
  • Enhanced Router
    • Additional hardware
      • Event capture module
      • Rate limiter
      • Delay module
    • Experiments
      • Netperf
      • HD video transport
    • Life of packet through the system
      • Description of blocks
      • Waveforms


About the presentors


  • John W. Lockwood
    John W. Lockwood is a Consulting Associate Professor at Stanford University. At Stanford, he leads the NetFPGA Alpha and Beta release programs and organizes the worldwide tutorial program. Lockwood was granted tenure in the Department of Computer Science and Engineering at Washington University in Saint Louis in 2006. At Washington University in St. Louis, Lockwood led the Reconfigurable Network Group (RNG) to develop the Field programmable Port Extender (FPX) to enable rapid prototype of extensible network modules in Field Programmable Gate Array (FPGA) technology. Lockwood's research interests include reconfigurable hardware, Internet security, and content processing technologies. Dr. Lockwood earned his Ph.D from the Department of Electrical and Computer Engineering at the University of Illinois.

    John Lockwood has served as the principal investigator on grants from the National Science Foundation, Xilinx, Altera, Nortel Networks, Rockwell Collins, and Boeing. He has worked in industry for AT&T Bell Laboratories, IBM, Science Applications International Corporation (SAIC), and the National Center for Supercomputing Applications (NCSA). He served as a co-founder of Global Velocity, a networking startup company focused on high-speed data security. He is a member of IEEE, ACM, Tau Beta Pi, and Eta Kappa Nu.

  • Glen Gibb
    Glen is a PhD candidate in Electrical Engineering at Stanford University. He received his Master of Science in Electrical Engineering from Stanford University and a Bachelor of Science and a Bachelor of Engineering from The University of Melbourne in Australia. He has been working on the NetFPGA platform since 2004 and was the lead designer for the current hardware version.

  • Adam Covington
    Adam is a Research Associate of the High-Performance Network Group (HPN) at Stanford University. He is currently working on the NetFPGA project, which enables researchers and instructors to build hardware-accelerated networking systems. Previously, he was a Research Associate with the Reconfigurable Network Group (RNG) at Washington University in St. Louis. While at Washington University he designed, and implemented clustering algorithms on FPGAs and supported a hardware accelerated classification system on the FPX platform. Adam’s current research interests include reconfigurable systems, artificial intelligence (clustering and classification), and applications of artificial intelligence algorithms. Adam completed a Bachelor of Science degree in Computer Engineering from Western Michigan University in April 2003 and accepted a Distinguished Masters of Science Fellowship from Washington University. He completed his Masters of Science degree in Computer Science and Engineering from Washington University in December 2006. Adam continues to provide support for the NetFPGA project which includes helping users worldwide as well as arranging and presenting tutorials.


      Schedule
9:00-10:30 tutorial session
10:30-11:00 coffee break
11:00-12:30 tutorial session
12:30-1:30 lunch
1:30-3:00 tutorial session
3:00-3:30 coffee break
3:30-5:30 tutorial session



To Register


Register directly with SIGCOMM to attend the conference and/or the NetFPGA workshop.