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

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.
Router Architecture : Building high-performance routers Ian Pratt
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.
Spring 2002CS 4611 Router Construction Outline Switched Fabrics IP Routers Tag Switching.
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.
1 Performance Results The following are some graphical performance results out of the literature for different ATM switch designs and configurations For.
High-Speed Router Design. Content Classes of Routers Components of a Router High-Speed Router Lookup Advances in Switching Fabrics Speeding Up Output.
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.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
Router Architectures An overview of router architectures.
Router Architectures An overview of router architectures.
Connecting LANs, Backbone Networks, and Virtual LANs
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
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright
Lecture 10 Overview. Border Gateway Protocol(BGP) De facto standard for Internet inter-AS routing allows subnet to advertise its existence to rest of.
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.
TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 9 Routers, switches.
1 Copyright © Monash University ATM Switch Design Philip Branch Centre for Telecommunications and Information Engineering (CTIE) Monash University
1 John Magee 24 February 2014 CS 280: Network Layer: Virtual Circuits / Datagram Networks and What’s inside a Router? Most slides adapted from Kurose and.
Router Architecture Overview
Chapter 6 – Connectivity Devices
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
8.1 Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Chapter 6 Delivery and Forwarding of IP Packets
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).
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Forwarding.
21-Dec-154/598N: Computer Networks Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection.
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.
Data Communications, Kwangwoon University
Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
1 Kyung Hee University Chapter 8 Switching. 2 Kyung Hee University Switching  Switching  Switches are devices capable of creating temporary connections.
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.
1 Kyung Hee University Chapter 8 Switching. 2 Kyung Hee University Switching  Switching  Switches are devices capable of creating temporary connections.
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.
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
School of Computer Science and Engineering Pusan National University
Packet Forwarding.
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 4: Network Layer
Chapter 3 Part 3 Switching and Bridging
What’s “Inside” a Router?
Bridges and Extended LANs
Router Construction Outline Switched Fabrics IP Routers
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
Computer Networks: Switching and Queuing
See Next Slide Example 13 (continued)
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 routerSecond generation router Third generation router

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

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

Goal: Reduce # Switching Elements System bus (in 1 st and 2 nd 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 (a) (b) (c) 8x8 Banyan has only 12 switching elements (while 8x8 crossbar requires 64) But, much greater likelihood of collisions…

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 (a) (b) (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

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