Computer Networks: Switching and Queuing

Slides:



Advertisements
Similar presentations
Ch. 10 Circuit Switching and Packet Switching
Advertisements

Delivery and Forwarding of
1 ELEN 602 Lecture 18 Packet switches Traffic Management.
What's inside a router? We have yet to consider the switching function of a router - the actual transfer of datagrams from a router's incoming links to.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Simple queuing models (Sec )
8.1 Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Router Architectures An overview of router architectures.
Router Architectures An overview of router architectures.
4: Network Layer4b-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from.
Chapter 4 Queuing, Datagrams, and Addressing
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
1 Packet Switching Outline  Space switch - crossbar  Add multiplexers and demultiplexers  Packet multiplexing  Practice: Ethernet switch Malathi Veeraraghavan.
ATM SWITCHING. SWITCHING A Switch is a network element that transfer packet from Input port to output port. A Switch is a network element that transfer.
1 Copyright © Monash University ATM Switch Design Philip Branch Centre for Telecommunications and Information Engineering (CTIE) Monash University
Router Architecture Overview
Chapter 6 – Connectivity Devices
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Delivery, Forwarding, and Routing of IP Packets
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #14 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
Computer Networks: Switching and Queuing Ivan Marsic Rutgers University Chapter 4 – Switching and Queuing Delay Models.
Packet Forwarding. A router has several input/output lines. From an input line, it receives a packet. It will check the header of the packet to determine.
Hierarchies Ethernet Switches Must be Arranged in a Hierarchy –Root is the top-level Ethernet Switch Root.
CS 4396 Computer Networks Lab Router Architectures.
Forwarding.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Ch 8. Switching. Switch  Devices that interconnected with each other  Connecting all nodes (like mesh network) is not cost-effective  Some topology.
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Structure of a switch We use switches in circuit-switched and packet- switched networks. In this section, we discuss the structures of the switches used.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
1 Building big router from lots of little routers Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University.
Computer Networks: Performance and Quality of Service Ivan Marsic Rutgers University Slides, Part 2.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 3 Part 3 Switching and Bridging
Chapter 4 Network Layer All material copyright
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 23: Interconnection Networks
URL: Chapter 8 Switching Tel: (03) Ext: URL:
School of Computer Science and Engineering Pusan National University
Packet Forwarding.
Chapter 6 Delivery & Forwarding of IP Packets
Addressing: Router Design
EEC-484/584 Computer Networks
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
CS 1652 The slides are adapted from the publisher’s material
Chapter 4-1 Network layer
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
What’s “Inside” a Router?
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
EEC-484/584 Computer Networks
Bridges and Extended LANs
Packet Switch Architectures
EEC-484/584 Computer Networks
Router Construction Outline Switched Fabrics IP Routers
EEC-484/584 Computer Networks
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Chapter 3 Part 3 Switching and Bridging
Delivery, Forwarding, and Routing of IP Packets
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
See Next Slide Example 13 (continued)
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Chapter 4: Network Layer
Switch Performance Analysis and Design Improvements
Presentation transcript:

Computer Networks: Switching and Queuing Ivan Marsic Rutgers University Chapter 4 – Switching and Queuing Delay Models

Switching and Queuing Delay Models Chapter 4

Topic: Packet Switching in Routers  Router Architecture  Forwarding Table Lookup  Switching Fabric Design  How Queuing Happens

Why Routers? (Recall Chapter 1) Avoid needing direct link between all hosts (totally connected graph) Redundancy: If one path fails, find an alternative path

Routing Delays

Router Components

How Router Forwards Packets

Services to Incoming Packets Receiving and storing packets Forwarding decision for packets Moving packets from input to output port Transmission of packets

Distribution of Protocol Layers Note that router has a single (common) Network Layer protocol, but each connection has a dedicate Link Layer protocol

Forwarding Algorithms

Router Architectures First generation router Second generation router Third generation router

Switching via Memory / via Bus First generation router Second generation router

Crossbar Switch Fabric Input N x N switching elements allows N simultaneous packets switched (in the best case when all packets going to different outputs) Output

Goal: Reduce # Switching Elements System bus (in 1st and 2nd generation arch’s) allows only one packet switched at a time Crossbar allows up to N packets switched at a time Something in the middle? (+cheaper!)

Banyan Switch Fabric (b) (a) (c) 8x8 Banyan has only 12 switching elements (while 8x8 crossbar requires 64) But, much greater likelihood of collisions… (c)

Reducing Collisions (Show slide with a collision example) Collisions can be reduced if packets are ordered on input ports by their output port number The router cannot choose the ordering of arriving packets, but we can insert a sorting hardware between the input network ports and the switching fabric …

Batcher Network (b) (a) (c)

Batcher-Banyan Network

Why Batcher-Banyan Network This figure is meant to illustrate why a concentrator is needed, because otherwise the gap in the input sequence will cause collision in the Banyan, but the example does not work for a 4x4 network -- need an 8x8 network example!!!!

Topic: Router Delays & Queuing Models Where & Why Queuing Happens Little’s Law Queuing Models M / M / 1, M / M / 1/ m, M / G / 1 Networks of Queues

Delay Components in Forwarding

Road Intersection Analogy Head of Line Blocking

Where & Why Queuing Happens At input ports, Head Of Line queuing At output ports, if output link is “too narrow” (low data rate) for incoming traffic Inside switch fabric, if collision occurred

An Input-queued Switch

General Service Model

Simple Queuing Model

Delay Time

Why Queuing Happens?

Arrival Sequences

Birth and Death Processes 30

Little’s Law Average number of packets in the system = arrival rate  average time that packet spends in the system N =   T Problem We would like to know more, such as what are the probabilities of finding different number of customers on arrival, etc.

Intuition for the Balance Principle See: Global Balance Equations

Transition Probability Diagram

M/G/1 Example

Expected Residual Time