Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Similar documents
EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai

EE 122: Router Design

TOC: Switching & Forwarding

TOC: Switching & Forwarding

Routers: Forwarding EECS 122: Lecture 13

Routers: Forwarding EECS 122: Lecture 13

CS 268: Route Lookup and Packet Classification

TOC: Switching & Forwarding

The IP Data Plane: Packets and Routers

Network Performance: Queuing

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

Announcements. Network Performance: Queuing. Goals of Today s Lecture. Window Scaling. Window Scaling, con t. Window Scaling, con t

Chapter 4 Network Layer: The Data Plane

Network Performance: Queuing

CSC 4900 Computer Networks: Network Layer

Computer Networks. Instructor: Niklas Carlsson

Network Layer Enhancements

The Network Layer and Routers

Router Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13

CSC 401 Data and Computer Communications Networks

CSE 3214: Computer Network Protocols and Applications Network Layer

Lecture Outline. Bag of Tricks

CMSC 332 Computer Networks Network Layer

Chapter 4 Network Layer

CSE 123A Computer Networks

Lecture 16: Network Layer Overview, Internet Protocol

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Quality of Service (QoS)

Router Architectures

Sample Routers and Switches. High Capacity Router Cisco CRS-1 up to 46 Tb/s thruput. Routers in a Network. Router Design

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Basics (cont.) Characteristics of data communication technologies OSI-Model

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

CSCE 463/612 Networks and Distributed Processing Spring 2018

Quality of Service in the Internet

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

Quality of Service in the Internet

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

Lecture 24: Scheduling and QoS

Chapter 4 Network Layer: The Data Plane

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

H3C S9500 QoS Technology White Paper

EE 122: Differentiated Services

Key Network-Layer Functions

ECE 697J Advanced Topics in Computer Networks

Packet Switch Architectures Part 2

Congestion Control and Resource Allocation

Network Layer: Control/data plane, addressing, routers

Quality of Service II

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

NETWORK LAYER DATA PLANE

CS 5114 Network Programming Languages Data Plane. Nate Foster Cornell University Spring 2013

Multi-gigabit Switching and Routing

Improving QOS in IP Networks. Principles for QOS Guarantees

QoS for Real Time Applications over Next Generation Data Networks

Computer Networks. ENGG st Semester, 2010 Hayden Kwok-Hay So

Real-Time Protocol (RTP)

Topics for Today. Network Layer. Readings. Introduction Addressing Address Resolution. Sections 5.1,

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

CSC358 Week 6. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

Lecture 3. The Network Layer (cont d) Network Layer 1-1

LS Example 5 3 C 5 A 1 D

Internet Services & Protocols. Quality of Service Architecture

Routers Technologies & Evolution for High-Speed Networks

Multicast and Quality of Service. Internet Technologies and Applications

Cell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets

Lecture 16: Router Design

Lecture 13. Quality of Service II CM0256

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Leaky Bucket Algorithm

Register Bit Name Description Default Global Ctrl Reg 2 SGCR2. Table 1. Registers are used for Common and Egress Port Setting

Router Construction. Workstation-Based. Switching Hardware Design Goals throughput (depends on traffic model) scalability (a function of n) Outline

Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Last Lecture: Network Layer

COMP211 Chapter 4 Network Layer: The Data Plane

Introduction to Routers and LAN Switches

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Lecture 14: Performance Architecture

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Network Layer: outline

Router s Queue Management

Lecture 17: Router Design

Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

QoS Services with Dynamic Packet State

Lecture 7. Network Layer. Network Layer 1-1

Managed IP Services from Dial Access to Gigabit Routers

Lecture 5: Router Architecture. CS 598: Advanced Internetworking Matthew Caesar February 8, 2011

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

Lecture 8. Network Layer (cont d) Network Layer 1-1

Network Layer: Data Plane 4-2

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Transcription:

Generic Architecture EECS : Introduction to Computer Networks Switch and Router Architectures Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 97-776 Input and s are connected through an interconnect can be implemented by - Shared memory Low capacity routers (e.g., PC-based routers) - Shared bus Medium capacity routers - Point-to-point (switched) bus High capacity routers Today s Lecture Shared ( st Generation) Application Shared Route Transport Today! Network (IP) Link Physical Typically <.Gbps aggregate capacity Limited by rate of shared memory (* Slide by Nick McKeown) IP Routers Shared Bus ( nd Generation) Router consists of - Set of s where packets arrive - Set of s from which packets depart - Some form of interconnect connecting inputs to outputs Router implements - () Forward packet to corresponding - () Manage bandwidth and buffer space resources 6 8 7 Router Typically < Gb/s aggregate capacity; Limited by shared bus Route (* Slide by Nick McKeown) 6

Point-to-Point Switch ( rd Generation) Output Queued Routers Switched Local Routing Local Only s store packets - Easy to design algorithms: only one congestion point - Requires an output speedup (Ro/C) of N, where N is the number of interfaces not feasible R O C Typically ~ Gbps aggregate capacity (*Slide by Nick McKeown) 7 6ft What a Router Looks Like 9 Slide by Nick McKeown Capacity: 6Gb/s Power:.kW ft ft.ft 9 Capacity: 8Gb/s Power:.6kW 8 Input Queued Routers Only s store packets - Easy to build Store packets at inputs if contention at outputs - Relatively easy to design algorithms Only one congestion point, but not output Need to implement backpressure - Hard to achieve utilization (due to output contention, head-of-line blocking) However, theoretical and simulation results show that for realistic traffic an input/output speedup (R I /C) of is enough to achieve utilizations close to C R Point-to-point switch allows simultaneous transfer of packet between any two disjoint pairs of inputoutput interfaces Goal: come-up with a schedule that - Provides Quality of Service - Maximizes router throughput Challenges: - Address head-of-line blocking at inputs - Resolve input/output speedups contention - Avoid packet dropping at output if possible Note: packets are fragmented in fix sized cells at inputs and reassembled at outputs Head-of-line Blocking Cell at head of an input queue cannot be transferred, thus blocking the following cells Cannot be transferred because is blocked by red cell Input Input Input Cannot be transferred because output buffer overflow Output Output Output 9

A Router with Input Queues Head of Blocking Input Delay The best that any queueing system can achieve. Packet forwarding: decide to which output interface to forward each packet based on the information in packet header - Examine packet header - Lookup in forwarding table - Update packet header % % % 6% 8% % Load 8% Slide by Nick McKeown 6 Solution to Avoid Head-of-line Blocking Lookup Maintain at each input N virtual queues, i.e., one per output port Input Input Output Output Output Identify the to forward an incoming packet based on packet s destination address Routing tables summarize information by maintaining a mapping between IP address prefixes and s - How are routing tables computed? Route lookup find the longest prefix in the table that matches the packet destination address Input 7 Combined Input-Output Queued (CIOQ) Routers IP Routing Both input and output interfaces store packets - Easy to built Utilization can be achieved with limited input/output speedup (<= ) - Harder to design algorithms Two congestion points Need to design flow control Packet with destination address.8.. is sent to interface, as.8..xxx is the longest prefix matching packet s destination address.8.. 8.6.. 8.6..xxx.8.xxx.xxx.8..xxx 8

Patricia Tries Use binary tree paths to encode prefixes Output Functions management: decide when and which packet to drop : decide when and which packet to transmit xx x xxx Advantage: simple to implement Disadvantage: one lookup may take O(m), where m is number of bits ( in the case of IPv) 9 Another Forwarding Technique: Source Routing Example: FIFO router source Each packet specifies the sequence of routers, or alternatively the sequence of output ports, from source to destination Most of today s routers Drop-tail buffer management: when buffer is full drop the incoming packet First-In-First-Out (FIFO) Scheduling: schedule packets in the same order they arrive Source Routing (cont d) Output Functions (cont d) Gives the source control of the path Not scalable - Packet overhead proportional to the number of routers - Typically, require variable header length which is harder to implement Hard for source to have complete information Loose source routing sender specifies only a subset of routers along the path Packet classification: map each packet to a predefined flow/connection (for datagram forwarding) - Use to implement more sophisticated services (e.g., QoS) Flow: a subset of packets between any two endpoints in the network flow flow management

Packet Classification Example: Priority Classify an IP packet based on a number of fields in the packet header, e.g., - source/destination IP address ( bits) - source/destination port number (6 bits) - Type of service (TOS) byte (8 bits) - Type of protocol (8 bits) In general fields are specified by range flow flow Priority scheduler: packets in the highest priority queue are always served before the packets in lower priority queues High priority Medium priority Low priority Priority management 8 Example of Classification Rules Example: Round Robin Access-control in firewalls - Deny all e-mail traffic from ISP-X to Y Policy-based routing - Route IP telephony traffic from X to Y via ATM Differentiate quality of service - Ensure that no more than Mbps are injected from ISP-X Round robin: packets are served in a round-robin fashion High priority Medium priority Low priority Priority 6 9 Discussion One queue per flow decides when and from which queue to send a packet - Each queue is FIFO Goals of a scheduler: - Quality of service - Protection (stop a flow from hogging the entire output link) - Fast! Priority scheduler vs. Round-robin scheduler - What are advantages and disadvantages of each scheduler? flow flow management 7