SPC and Crossbow. John DeHart Acknowledgements

Similar documents
The Washington University Smart Port Card

A Smart Port Card Tutorial --- Hardware

How many of you have never built a NetBSD kernel?

First Gigabit Kits Workshop

Network Monitoring, Visualization. Topics

NetBSD Kernel Topics:

ANN. A Scalable, High Performance Active Network Node. Dan Decasper.

Demonstration of a High Performance Active Router DARPA Demo - 9/24/99

Smart Port Card (SPC) William Eatherton Toshiya Aramaki Edward Spitznagel Guru Parulkar Applied Research Lab Washington University in St.

Design of a High Performance Dynamically Extensible Router

Design and Evaluation of a High-Performance Dynamically Extensible Router

Exercises. January 9, 2001 Router Plugins (Crossbow) Washington 1 WASHINGTON UNIVERSITY IN ST LOUIS

NetFPGA Hardware Architecture

Professor Yashar Ganjali Department of Computer Science University of Toronto.

1 PC Hardware Basics Microprocessors (A) PC Hardware Basics Fal 2004 Hadassah College Dr. Martin Land

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Introduction CHAPTER 1

Implementation of an Open Multi-Service Router

Course Description PC Architecture for Technicians: Level-1 Systems Manufacturing Training and Employee Development Copyright 1996 Intel Corp.

A Convergence Architecture for GRID Computing and Programmable Networks

Hardware Laboratory Configuration

A Scalable High-Performance Active Network Node

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EX 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BA

Computer Hardware Trouble Shooting or The computer won t work!!! Now what am I going to do?

IP : Internet Protocol

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EM 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

v02.54 (C) Copyright , American Megatrends, Inc.

The Internet. Overview. Network building blocks

TABLE OF CONTENTS 1. INTRODUCTION 1.1. PREFACE KEY FEATURES PERFORMANCE LIST BLOCK DIAGRAM...

Chapter 6: Network Layer. Introduction to Networks v5.1

1. Jumpers Location Diagram for "A47 ver 3.X" Main Board

Chapter 6: Network Layer

XE 900: Fastest EPIC board now available with Windows XPe

Learning with Purpose

CSCI-GA Operating Systems. Networking. Hubertus Franke

Introduction CHAPTER 1

EPIC board ensures reliability in the toughest environment

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BXDS 1.1. PREFACE KEY FEATURES...1-1

NetFPGA Update at GEC4

Internetworking I: Basics. November 11, 1999

Position of IP and other network-layer protocols in TCP/IP protocol suite

Cisco UCS Diagnostics User Guide for B-Series Servers, Release 2.0

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

NPE-300 and NPE-400 Overview

CSE 120 Principles of Operating Systems

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

CS519: Computer Networks. Lecture 2: Feb 2, 2004 IP (Internet Protocol)

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Multimedia Communication. Project 6: Intelligent DiffServ

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6VX PREFACE KEY FEATHERS

The PowerEdge 6450 systems offer the following major features:

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION. Table of Contents 1.1. PREFACE KEY FEATHERS...

CS 410/510. Mark P Jones Portland State University

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Boot Sequence OBJECTIVES RESOURCES DISCUSSION PROCEDURE LAB PROCEDURE 2

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management

Experience with the NetFPGA Program

Systems Programming and Computer Architecture ( ) Timothy Roscoe

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

v02.54 (C) Copyright , American Megatrends, Inc.

v02.54 (C) Copyright , American Megatrends, Inc.

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

Cyclone V SoC PCI-Express Root Port Example Design. Application Note

So computers can't think in the same way that people do. But what they do, they do excellently well and very, very fast.

BIOS UPDATES Click to scan for Bios Updates

The ROBO-8710VLA package should cover the following basic items

Systems in Silicon. Converting Élan SC400/410 Design to Élan SC520

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Manual: Errata 1 P R E L I M I N A R Y. Manual Index: 07. CP605 Manual: 25095

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

Gigabit Ethernet Packet Capture. User s Guide

Computer Networks Security: intro. CS Computer Systems Security

A Platform for High Performance Overlay Hosting Services

CSE 473 Introduction to Computer Networks. Exam 1. Your name here: 10/3/2012

service handbook chapter

v02.54 (C) Copyright , American Megatrends, Inc.

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

IBM Shared Disk Clustering. Hardware Reference

Lecture 9: Internetworking

Computer Fundamentals and Operating System Theory. By Neil Bloomberg Spring 2017

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

An Introduction to BORPH. Hayden Kwok-Hay So University of Hong Kong Aug 2, 2008 CASPER Workshop II

Introduction Framing Payloads APIs NMSG. Robert Edmonds Internet Systems Consortium, Inc. December 3, 2009

PISCES: A Programmable, Protocol-Independent Software Switch

CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] Frequently asked questions from the previous class surveys

Introduction CHAPTER 1

GA - 686LX USER'S MANUAL. Pentium II Processor MAINBOARD. REV. 1 First Edition

BIOS SETUP UTILITY Main Advanced H/W Monitor Boot Security Exit. v02.54 (C) Copyright , American Megatrends, Inc. BIOS SETUP UTILITY

C14a: Internetworks and The Internet

EE 122: IP Forwarding and Transport Protocols

Open Network Laboratory

... Application Note AN-531. PCI Express System Interconnect Software Architecture. Notes Introduction. System Architecture.

Development of I/O Pass-through: Current Status & the Future. Nov 21, 2008 Yuji Shimada NEC System Technologies, Ltd.

Xilinx Answer QDMA DPDK User Guide

v02.54 (C) Copyright , American Megatrends, Inc.

ML410 VxWorks Workbench BSP and System Image Creation for the BSB Design Using EDK 8.2i SP2. April

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

Transcription:

SPC and Crossbow John DeHart jdd@arl.wustl.edu January 10, 2001 WUGS Kits Workshop Washington 1 Acknowledgements Special Thanks to: Sumi Choi Anshul Kantawala Fred Kuhns Samphel Norden Jyoti Parwatikar Ed Spitznagel Tilman Wolf Ken Wong Also: Tom Chaney Dave Richard Berkley Shands January 10, 2001 WUGS Kits Workshop Washington 2 page 1

Crossbow Tutorial (Tuesday) January 10, 2001 WUGS Kits Workshop Washington 3 Status 18 Participants in the Crossbow Tutorial Morning talks to introduce NetBSD kernel topics Kernel programming guidelines Crossbow system architecture Anatomy of a plugin Utitilies Afternoon of Exercises Start with a pre-built plugin that printed the received packet Step-by-step build up to an Monitoring Protocol (MonP) plugin» Using some WU-provided utility functions for manipulating packets Used MonP plugin to create 2 instances to monitor in two directions Multiple people/groups got through all the exercises January 10, 2001 WUGS Kits Workshop Washington 4 page 2

Example: Processing with a Plugin Does this packet Match the Filter? Vers HLen TOS Total length ID Socket Flags Fragment Offset TTL Protocol Header Checksum Layer Source Address Destination Address Source Port Destination Port... Packet Payload TCP Processing User Kernel Input Filter (Intf,P,SA,DA,SP,DP) Forward NO Output Gate YES Queue Interface Plugin Code January 10, 2001 WUGS Kits Workshop Washington 5 Review: Router Plugins Vocabulary 6-tuple: src_addr, dest_addr, protocol, interface, src_port, dst_port flow: packet stream that is identified by a specific 6-tuple flow table: cache of existing flow information loadable kernel module: executable code which can be dynamically loaded into the NetBSD kernel and subsequently executed. gate: spot in the NetBSD processing code where Router Plugin modules can be executed. plugin: A loadable kernel module (lkm) that can be associated with a Router Plugin gate. instance: An instantiation of a plugin. filter: A 6-tuple, possibly containing wildcards. filter table: For each dynamic gate, there may be a number of filters. The collection of these filters is referred to as a filter table. dag: Filter tables are implemented as a directed acyclic graph (dag). January 10, 2001 WUGS Kits Workshop Washington 6 page 3

Router Plugins Router Plugins = = Crossbow This is NOT Commercial Software Router Plugins is Kernel level programming Currently works with NetBSD 1.4.1 Moving to a new version of NetBSD takes about 2 weeks for us Linux Port Distribution Plans? Initial distribution» NetBSD install CD» non-install CD» tar files via web pages Updates» tar files» cvs January 10, 2001 WUGS Kits Workshop Washington 7 Router Plugins Issues, Questions, Problems Ports? Port to NetBSD 1.5.x Port to Linux Distribution plans? Options processing options processing is done BEFORE our first gate» and then calls ip_forward() without getting to our first gate new gate before options new gate specifically when there are options» U. Kentucky cm print_filter it has problems, we ll look into it freeing instances before deregistering filters crashed for one group, we ll try to reproduce it and fix it. January 10, 2001 WUGS Kits Workshop Washington 8 page 4

Router Plugins Issues, Questions, Problems cm utility has a painful interface we are already working on a perl-based interface Misconception about forwarding being dependent on your plugin and filter General filters pick up packets accordingly Our gate and hence our plugin was in ip_forward We did not process packets destined for the router host When you rebuild your plugin, you still have to reload it changing it on disk, doesn t change it in the kernel!! Crossbow does work with the APIC and the SPC. January 10, 2001 WUGS Kits Workshop Washington 9 SPC Tutorial (Monday) January 10, 2001 WUGS Kits Workshop Washington 10 page 5

SPC Hardware: SPC as a PC» How do they each boot? SPC Hardware Components The Smart Port Card» What roles do they play? SPC Software SPC Specific Kernel Modifications Building a Kernel Loading Kernel onto SPC to execute it Initiating Kernel execution Configuring Devices January 10, 2001 WUGS Kits Workshop Washington 11 Tutorial Recap 16 Participants in the SPC Tutorial Morning talks to introduce SPC Hardware SPC Software SPC Utilities Afternoon of Exercises Download and boot a pre-built kernel Build your own kernel Build your own file system and kernel Configure your PC and SPC for Route between your SPC and a neighboring group s SPC Multiple groups got through all the exercises January 10, 2001 WUGS Kits Workshop Washington 12 page 6

SPC Architecture Addr/Data Ctrl Cache CPU Ctrl North- Bridge Addr/Data/Ctrl DRAM Intel Embedded Module PCI Bus INIT NMI Intr RTC PIC PIT APIC UART1 UART2 UART1 Interface UART2 Interface BIOS ROM System FPGA Link Interface Switch Interface January 10, 2001 WUGS Kits Workshop Washington 13 SPC Components APIC» PCI Bus Master Pentium Embedded Module 166 MHz MMX Pentium Processor» L1 Cache: 16KB Data, 16KB Code L2 cache: 512 KB NorthBridge - 33 MHz, 32 bit PCI Bus» PCI Bus Master System FPGA» PCI Bus Slave Xilinx XC4020XLA-1 FPGA 20K Equivalent Gates ~ 75% used January 10, 2001 WUGS Kits Workshop Washington 14 page 7

SPC Components (continued) Memory EDO DRAM 64MB (Max for current design) SO DIMM Switch Interface - 1 Gb Utopia Link Interface - 1 Gb Utopia UART Two Serial Ports» NetBSD system console» TTY port January 10, 2001 WUGS Kits Workshop Washington 15 SPC Tutorial Issues, Questions, Problems Working with SPC includes working with WUGS previous experience with GBNSC/Jammer was limited for some Serial cables and what would happen with 8 SPCs? Utilities for debugging netstat tcpdump APIC readcounts Jammer: read vcxtcc Can we run Linux on the SPC? discussion? January 10, 2001 WUGS Kits Workshop Washington 16 page 8