LS Example 5 3 C 5 A 1 D

Similar documents
Routing, Routers, Switching Fabrics

The Network Layer and Routers

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

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

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

Chapter 4 Network Layer

CSE 3214: Computer Network Protocols and Applications Network Layer

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

CSC 4900 Computer Networks: Network Layer

Router Architecture Overview

Computer Networks. Instructor: Niklas Carlsson

CMSC 332 Computer Networks Network Layer

Key Network-Layer Functions

Chapter 4 Network Layer: The Data Plane

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Lecture 16: Network Layer Overview, Internet Protocol

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Routers: Forwarding EECS 122: Lecture 13

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

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

CSC 401 Data and Computer Communications Networks

Routers: Forwarding EECS 122: Lecture 13

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

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

Lecture 16: Router Design

Address Translation. Map IP addresses into physical addresses destination host next hop router

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Router Architecture Overview

Chapter 4: network layer

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

ETSF05/ETSF10 Internet Protocols Routing on the Internet

Network Layer: Router Architecture, IP Addressing

Chapter 4 Network Layer: The Data Plane

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

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

internet technologies and standards

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

Chapter 4: Network Layer

TDTS06: computer Networks

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

Lecture 17: Router Design

Network Layer: outline

Overview 4.2: Routing

COMP211 Chapter 4 Network Layer: The Data Plane

Part1: Lecture 4 QoS

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

C13b: Routing Problem and Algorithms

TOC: Switching & Forwarding

TOC: Switching & Forwarding

Network Layer: Data Plane 4-2

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

Chapter 4 Network Layer

CSE 123A Computer Networks

NETWORK LAYER DATA PLANE

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 17: Router Design

Chapter 4 Network Layer: The Data Plane

NET ID. CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

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

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Router Architectures

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

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

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

Lecture 14: Congestion Control"

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Link-State Routing OSPF

Lecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1

Routing. Advanced Computer Networks: Routing 1

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

Chapter 4 Network Layer

TOC: Switching & Forwarding

internet technologies and standards

Randomization. Randomization used in many protocols We ll study examples:

Randomization used in many protocols We ll study examples: Ethernet multiple access protocol Router (de)synchronization Switch scheduling

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

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CSCD 330 Network Programming

The Network Layer. Antonio Carzaniga. November 24, Faculty of Informatics Università della Svizzera italiana

Network Layer: Control/data plane, addressing, routers

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

The Network Layer Forwarding Tables and Switching Fabric

Quality of Service. Traffic Descriptor Traffic Profiles. Figure 24.1 Traffic descriptors. Figure Three traffic profiles

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

The Network Layer Forwarding Tables and Switching Fabric

Internetworking Part 1

QoS on Low Bandwidth High Delay Links. Prakash Shende Planning & Engg. Team Data Network Reliance Infocomm

Routing. Outline. Algorithms Scalability

From Routing to Traffic Engineering

Network Layer Enhancements

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

Switching Hardware. Spring 2015 CS 438 Staff, University of Illinois 1

Chapter 4 Network Layer

Answer 6 Questions Only

IV. PACKET SWITCH ARCHITECTURES

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

Transcription:

Lecture 10

LS Example 5 2 B 3 C 5 1 A 1 D 2 3 1 1 E 2 F G Itrn M B Path C Path D Path E Path F Path G Path 1 {A} 2 A-B 5 A-C 1 A-D Inf. Inf. 1 A-G 2 {A,D} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 3 {A,D,G} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 4 {A,B,D,G} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 5 {A,B,D,E,G} 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G 6 {A,B,C,D,E 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G G} 7 {A,B,C,D,E 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G F,G} CS 640 2

Link State Routing Summary One of the oldest algorithm for routing Finds SP by developing paths in order of increasing length Requires each node to have complete information about the network Nodes exchange information with all other nodes in the network Known to converge quickly under static conditions Does not generate much network traffic Other possible routing algorithms? CS 640 3

Metrics for link cost Simplest method is to simply assign 1 to each link Original ARPANET metric link cost = number of packets enqueued on each link This moves packets toward shortest queue not the destination!! took neither latency or bandwidth into consideration New ARPANET metric link cost = average delay over some time period stamp each incoming packet with its arrival time (AT) record departure time (DT) when link-level ACK arrives, compute Delay = (DT - AT) + Transmit + Latency Transmit and latency are static for the link if timeout, reset DT to departure time for retransmission Fine Tuning compress range over which costs can span using static function smooth variation of cost over time using averaging CS 640 4

Introduction to switching fabrics Switches must not only determine routing but also do forwarding quickly and efficiently If this is done on a general purpose computer, the I/O bus limits performance This means that a system with 1Gbps I/O could not handle OC12 Special purpose hardware is required Switch capabilities drive protocol decisions Context a router is defined as a datagram switch Switching fabrics are internal to routers and facilitate forwarding CS 640 5

Goals in switch design Throughput Ability to forward as many pkts per second as possible Size Number of input/output ports Cost Minimum cost per port Functionality QoS CS 640 6

Throughput Consider a switch with n inputs and m outputs and link speed of s n Typical notion of throughput: Ss n This is an upper bound Assumes all inputs get mapped to a unique output Another notion of throughput is packets per second (pps) Indicates how well switch handles fixed overhead operations Throughput depends on traffic model Goal is to be representative This is VERY tricky! CS 640 7

Size/Scalability/Cost Maximum size is typically limited by HW constraints Eg. fanout Cost is related to number of inputs/outputs How does cost scale with inputs/outputs? CS 640 8

Ports and Fabrics Ports on switches handle the difficult functions of signaling, buffering, circuits, RED, etc. Most buffering is via FIFO on output ports This prevents head-of-the-line blocking on input ports which is possible if only one input port can forward to one output port at a time Switching fabrics in switches handle the simple function of forwarding data from input ports to output ports Typically fabric does not buffer (but it can) Contention is an issue Many different designs More details coming up CS 640 9

Line Card Router Architecture Overview Two key router functions: Run routing algorithms/protocol (RIP, OSPF, BGP) Switching datagrams from incoming to outgoing link 2. output port 1. input port 3. Line Card Line Card 4. 10

Line Card: Input Port Physical layer: bit-level reception Data link layer: e.g., Ethernet Decentralized switching: Process common case ( fast-path ) packets Decrement TTL, update checksum, forward packet Given datagram dest., lookup output port using routing table in input port memory Queue needed if datagrams arrive faster than forwarding rate into switch fabric 11

Line Card: Output Port Queuing required when datagrams arrive from fabric faster than the line transmission rate 12

Buffering 3 types of buffering Input buffering Fabric slower than input ports combined queuing may occur at input queues Output buffering Buffering when arrival rate via switch exceeds output line speed Internal buffering Can have buffering inside switch fabric to deal with limitations of fabric What happens when these buffers fill up? Packets are THROWN AWAY!! This is where (most) packet loss comes from 13

Input Port Queuing Which inputs are processed each slot schedule? Head-of-the-Line (HOL) blocking: datagram at front of queue prevents others in queue from moving forward 14

Output Port Queuing Scheduling discipline chooses among queued datagrams for transmission Can be simple (e.g., first-come first-serve) or more clever (e.g., weighted round robin) 15

Network Processor Runs routing protocol and downloads forwarding table to forwarding engines Performs slow path processing ICMP error messages IP option processing Fragmentation Packets destined to router 16

Switching Via an Interconnection Network Overcome bus and memory bandwidth limitations when using commodity machines Crossbar provides full NxN interconnect Expensive Uses 2N buses Cisco 12000: switches Gbps through the interconnection network 17