© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.3: Introducing Queuing Implementations.

Slides:



Advertisements
Similar presentations
Quality of Service CCDA Quick Reference.
Advertisements

Computer Networking Lecture 20 – Queue Management and QoS.
© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management.
1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.7: Introducing Traffic Policing and Shaping.
Frame Relay CCNA4 Chapter 6.
© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring FIFO and WFQ.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.10: Deploying End-to-End QoS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.8: Understanding WAN Link Efficiency Mechanisms.
Comparison and Analysis of FIFO, PQ, and WFQ Disciplines on multimedia
Networking Issues in LAN Telephony Brian Yang
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
Bandwidth Throttling. Reason for Implementing Bandwidth Throttling Limited Available Bandwidth If left unattended, patron internet traffic can place a.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.5: Configuring CBWFQ and LLQ.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 4 - Introducing QOS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Cabrillo College CCNP Semester 5 Building Scalable Cisco Networks
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
I/O Resource Management The operating system is responsible for: Issuing commands to I/O devices Handling all interrupts and errors generated by the.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Link Scheduling & Queuing COS 461: Computer Networks
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
S6C10 - Queuing Which Packet Gets Processed First.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Services in a Converged WAN Accessing the WAN – Chapter 1.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
© 2006 Cisco Systems, Inc. All rights reserved. 3.5: Implementing QoS with Cisco AutoQoS.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNP 1 v3.0 Module 1 Overview of Scalable Internetworks.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 7 - Queuing Implementations.
Queuing Delay 1. Access Delay Some protocols require a sender to “gain access” to the channel –The channel is shared and some time is used trying to determine.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
Chapter 6. Configuring Queuing to Manage Traffic.
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.6: Congestion Avoidance.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
Providing QoS in IP Networks
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Cisco Routers.
Scheduling Mechanisms Applied to Packets in a Network Flow CSC /15/03 By Chris Hare, Ricky Johnson, and Fulviu Borcan.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Instructor Materials Chapter 6: Quality of Service
Topics discussed in this section:
Instructor Materials Chapter 6: VLANs
Congestion Control, Quality of Service, and Internetworking
Implementing Quality of Service (QoS)
Chapter 6 Queuing Disciplines
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Routing and Switching Essentials v6.0
Network Simulation NET441
Congestion Control Reasons:
Module 4: Implement the DiffServ QoS Model
Introduction to Packet Scheduling
Cisco Routers Presented By Dr. Waleed Alseat Mutah University.
Introduction to Packet Scheduling
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.3: Introducing Queuing Implementations

© 2006 Cisco Systems, Inc. All rights reserved. Objectives  Describe the common causes of congestion on a link.  Compare and contrast various queuing methods used to relieve congestion.  Describe the purpose and functionality of software queues.  Describe the function and purpose of the hardware queue.

© 2006 Cisco Systems, Inc. All rights reserved.  Congestion can occur at any point in the network where there are points of speed mismatches or aggregation.  Queuing manages congestion to provide bandwidth and delay guarantees. Congestion and Queuing

© 2006 Cisco Systems, Inc. All rights reserved. Speed mismatches are the most typical cause of congestion. Possibly persistent when going from LAN to WAN. Usually transient when going from LAN to LAN. Speed Mismatch

© 2006 Cisco Systems, Inc. All rights reserved. Aggregation

© 2006 Cisco Systems, Inc. All rights reserved. What is Queuing?  Queuing is a congestion-management mechanism that allows you to control congestion on interfaces.  Queuing is designed to accommodate temporary congestion on an interface of a network device by storing excess packets in buffers until bandwidth becomes available.

© 2006 Cisco Systems, Inc. All rights reserved. Congestion and Queuing.

© 2006 Cisco Systems, Inc. All rights reserved. Queuing Algorithms  First-in, first-out (FIFO)  Priority queuing (PQ)  Round robin  Weighted round robin (WRR)

© 2006 Cisco Systems, Inc. All rights reserved. FIFO  First packet in is first packet out  Simplest of all  One queue  All individual queues are FIFO

© 2006 Cisco Systems, Inc. All rights reserved. Priority Queuing  Uses multiple queues  Allows prioritization  Always empties first queue before going to the next queue:  Empty queue number 1.  If queue number 1 is empty, then dispatch one packet from queue number 2.  If both queue number 1 and queue number 2 are empty, then dispatch one packet from queue number 3.  Queues number 2 and number 3 may “starve”

© 2006 Cisco Systems, Inc. All rights reserved. Round Robin Queuing  Uses multiple queues  No prioritization  Dispatches one packet from each queue in each round: One packet from queue number 1 One packet from queue number 2 One packet from queue number 3 Then repeat

© 2006 Cisco Systems, Inc. All rights reserved. Weighted Round Robin Queuing  Allows prioritization  Assign a weight to each queue  Dispatches packets from each queue proportionately to an assigned weight:  Dispatch up to four from queue number 1.  Dispatch up to two from queue number 2.  Dispatch 1 from queue number 3.  Go back to queue number 1.

© 2006 Cisco Systems, Inc. All rights reserved. Problems with Weighted Round Robin Queuing  Problem with WRR: Some implementations of WRR dispatch a configurable number of bytes (threshold) from each queue for each round—several packets can be sent in each turn. The router is allowed to send the entire packet even if the sum of all bytes is more than the threshold.

© 2006 Cisco Systems, Inc. All rights reserved. Router Queuing Components  Each physical interface has a hardware and a software queuing system.

© 2006 Cisco Systems, Inc. All rights reserved. Hardware and Software Router Queuing Components  The hardware queuing system always uses FIFO queuing.  The software queuing system can be selected and configured depending on the platform and Cisco IOS version.

© 2006 Cisco Systems, Inc. All rights reserved. The Software Queue  Generally, a full hardware queue indicates interface congestion, and software queuing is used to manage it.  When a packet is being forwarded, the router will bypass the software queue if the hardware queue has space in it (no congestion).

© 2006 Cisco Systems, Inc. All rights reserved. The Hardware Queue  Routers determine the length of the hardware queue based on the configured bandwidth of the interface.  The length of the hardware queue can be adjusted with the tx- ring-limit command.  Reducing the size of the hardware queue has two benefits: It reduces the maximum amount of time that packets wait in the FIFO queue before being transmitted. It accelerates the use of QoS in Cisco IOS software.  Improper tuning of the hardware queue may produce undesirable results: A long transmit queue may result in poor performance of the software queuing system. A short transmit queue may result in a large number of interrupts, which causes high CPU utilization and low link utilization.

© 2006 Cisco Systems, Inc. All rights reserved. Monitoring Hardware Queue Transmit Queue Length  The show controllers serial 0/1/0 command shows the length of the hardware queue. R1#show controllers serial 0/1/0 Interface Serial0/1/0 Hardware is GT96K DCE V.11 (X.21), clock rate sdma_rx_reserr, 0 sdma_tx_reserr 0 rx_bogus_pkts, rx_bogus_flag FALSE 0 sdma_tx_ur_processed tx_limited = 1(2), errata19 count1 - 0, count2 - 0 Receive Ring rxr head (27)(0x075BD090), rxr tail (0)(0x075BCEE0) rmd(75BCEE0): nbd 75BCEF0 cmd_sts buf_sz buf_ptr 75CB8E0 rmd(75BCEF0): nbd 75BCF00 cmd_sts buf_sz buf_ptr 75CCC00

© 2006 Cisco Systems, Inc. All rights reserved. Congestion on Software Interfaces  Subinterfaces and software interfaces (dialers, tunnels, Frame Relay subinterfaces) do not have their own separate transmit queue.  Subinterfaces and software interfaces congest when the transmit queue of their main hardware interface congests.  The tx-ring state (full, not-full) is an indication of hardware interface congestion.  The terms “TxQ” and “tx-ring” both describe the hardware queue and are interchangeable.

© 2006 Cisco Systems, Inc. All rights reserved. Self Check 1.When does the router use a software queue? 2.What are the typical causes of congestion? 3.When would FIFO queuing be appropriate in a network? 4.What is the “worst case scenario” for Priority Queuing (PQ)? 5.How does Weighted Round Robin (WRR) improve on Round Robin queuing?

© 2006 Cisco Systems, Inc. All rights reserved. Summary  Speed mismatch and aggregation are the most common causes of congestion on a network link.  When network links experience congestion, queuing methods can be used to sort the traffic and then determine some method of prioritizing it onto an output link. Each queuing algorithm was designed to solve a specific network traffic problem and has a particular effect on network performance.  Software queuing is activated when the hardware queue fills. If the hardware queue is not full, software queuing is bypassed and packets are sent directly to the hardware output queue.