Traffic Manager Vahid Tabatabaee Fall 2007.

Slides:



Advertisements
Similar presentations
Simulation Study on the Effect of the trTCM Parameters Hakyong KIM R&D Center, Corecess Inc. Tel : PCS : Mail :
Advertisements

William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Network and Communications Hongsik Choi Department of Computer Science Virginia Commonwealth University.
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.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Engineering Internet QoS
EECB 473 Data Network Architecture and Electronics Lecture 3 Packet Processing Functions.
High Speed Networks and Internets : Multimedia Transportation and Quality of Service Meejeong Lee.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #11 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Color Aware Switch algorithm implementation The Computer Communication Lab (236340) Spring 2008.
Networking Issues in LAN Telephony Brian Yang
Service Disciplines for Guaranteed Performance Service Hui Zhang, “Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks,”
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
1 ENTS689L: Packet Processing and Switching Buffer-less Switch Fabric Architectures Buffer-less Switch Fabric Architectures Vahid Tabatabaee Fall 2006.
Chapter 6 Packet Processing Functions
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Design of QoS Router Terrance Lee. Broadband Internet Architecture Intelligent Access Electronic Switch (Intserv or Diffserv) Switching /Routing QoS Security.
CS 268: Lecture 11 (Differentiated Services) Ion Stoica March 6, 2001.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
Lawrence G. Roberts CEO Anagran September 2005 Advances Toward Economic and Efficient Terabit LANs and WANs.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
Building Differentiated Services Using the Assured Forwarding PHB Group Juha Heinänen Telia Finland Inc.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services MPLS.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
ACL & QoS.
March 29 Scheduling ?. What is Packet Scheduling? Decide when and what packet to send on output link 1 2 Scheduler flow 1 flow 2 flow n Buffer management.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 23 Congestion Control and Quality of Service.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Nick McKeown Spring 2012 Lecture 2,3 Output Queueing EE384x Packet Switch Architectures.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 18: Quality of Service Slides used with.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
Scheduling CS 218 Fall 02 - Keshav Chpt 9 Nov 5, 2003 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Multi Protocol Label Switching (MPLS)
D-Link QoS Technology Brief
QoS & Queuing Theory CS352.
Topics discussed in this section:
Buffer Management in a Switch
Queue Management Jennifer Rexford COS 461: Computer Networks
Queuing and Queue Management
EE 122: Lecture 18 (Differentiated Services)
Computer Science Division
EE 122: Differentiated Services
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Traffic Manager Vahid Tabatabaee Fall 2007

References Title: Network Processors Architectures, Protocols, and Platforms Author: Panos C. Lekkas Publisher: McGraw-Hill Tam-Anh Chu, “WAN Multiprotocol Traffic Management Theory & Practice,” Communications Design Conference San Jose, 9/23- 26/2002

Why do we need Traffic Management? Until recently traffic was treated under a best effort paradigm. Internet protocol has ended up to be the common network protocol for multi-service networks and applications. By emergence of new applications, specially those provided by new generation of wireless protocols, the situation is getting more complex in the future. These applications have different performance requirements. We have to use network resources efficiently to have a profitable network.

Traffic Management for Best Effort Traffic Best effort should not be interpreted as no effort !! In reality edge routers are frequently over-subscribed. In the best effort paradigm we want to treat all users equally. Connection to the core network is usually over-subscribed. Users are distributed non-uniformly across the access ports. A simple Round-Robin schedulers treats all PORTS equally. We want to treat all users equally. Situation gets more complex when: Number of active users change dynamically. Each user has different applications, requirements and service level agreements. Core Network DSL Modem DSLAM 1 DSLAM 2 DSLAM K Ethernet Switch 1 Ethernet Switch 30 Edge Router OC-48 access port

Traffic Management Objective To unequally share the network resources (bandwidth and memory) between the users and applications. Traffic flows should be identified and classified in multiple queues to be able to control QoS. Network protocols and architectures such as IntServ, DiffServ and MPLS help us to provide QoS in network. QoS seeks to specify and control five fundamental network variables: Bandwidth or throughput Latency Jitter Packet loss Link availability

Traffic Management vs. Traffic Engineering Traffic management is performed on the data plane over the packets: Resource allocation: Scheduling Shaping Congestion Control Packet discard Traffic Engineering is performed on the control plane to set up the routes and paths: Load balancing Failure recovery Link Utilization Control

Traffic Management Obstacles We have enough knowledge about algorithms and their properties: Bounds on delay and memory requirement Unresolved Challenges Is there a systematic way to set the parameters? To some extent the answer is yes, but the theoretical bounds are very loose. What if we set the parameters wrong? Is there a systematic way to pin point the problem? As far as I know the answer is no.

Major Tasks and Algorithms Statistics gathering Traffic policing Traffic Shaping Scheduling Queueing and Buffer Management Congestion avoidance and packet dropping

Statistics We need to gather statistics Number of packet arrivals for each flow Number of discarded packets for each flow Number of non-conforming packets Usually they use on-chip counters to gather this information Only TM has information related to the network congestion level Packet marking should be done based on the congestion level.

Packet Marking It is important to make sure that the packets are conforming to the SLA. In the DiffServ AF PHB a marking algorithm such as two-rate three-color marker (trTCM) or single-rate three-color marker (srTCM) established the packet-discarding precedence: In trTCM we have two rate and three colors for the packets: Useful when peak rate should be enforced In srTCM we have one rate and three colors for the packets Useful when only burst size matters Green maps to AFx1, Yellow to AFx2 and Red to AFx3 Source: http://www3.ietf.org/proceedings/99mar/slides/diffserv-tcm-99mar/

Two Rate TCM Parameters: Peak Information Rate (PIR) and Peak Burst Size (PBS) Committed Information Rate (CIR) and Committed Burst Size (CBS). PIR > CIR Source: http://www3.ietf.org/proceedings/99mar/slides/diffserv-tcm-99mar/

Single Rate TCM Parameters: Committed Information Rate (CIR) Committed Burst Size (CBS). Excess Burst Size (EBS) Source: http://www3.ietf.org/proceedings/99mar/slides/diffserv-tcm-99mar/

Traffic Shaping Traffic shaping is usually done in the egress line card to shape and smooth the outgoing traffic. Token rate regulates transfer of packets If sufficient tokens available, packets enter network without delay B determines how much burstiness allowed into the network

Congestion Management We discard packets to avoid congestion. Simple tail dropping results in TCP global synchroniztion. RED starts to randomly drop packets when buffers are more than Tmin. In WRED different queues have different buffer occupation thresholds. http://www.cisco.com/warp/public/473/187.html#topic5

Dropping Policy in RED Floyd, S., and Jacobson, V., Random Early Detection gateways for Congestion Avoidance V.1 N.4, August 1993, p. 397-413

Scheduling Scheduler decides which queue to be served next? Round Robin Scheduler: Every queue is served in a round-robin fashion. Weighted Round Robin (WRR): Queue i is served Ni times in a round robin fashion. Priority Queueing: A lower priority queue is only served when there is no higher priority backlogged traffic. Weighted Fair Queuing (WFQ) provides minimum bandwidth guarantees for different queues (their fair shares) Excess bandwidth (if any) distributed equally among flows Proven to provide delay bounds for well-behaved traffic flows Deficit Round Robin: Good approximation of the WFQ.

GPS and WFQ One problem with WRR is penalization of short packets. Genralized Processor Sharing (GPS) to take care of this problem. In GPS each flow i is assigned a weight The service rate for any non-empty queue is Using GPS we can bound delay of packets. If a flow is limited by a token bucket specification, where Bi and Ri are the bucket size and token rate and

GPS and WFQ Implementing GPS explicitly is only possible if we can send and serve flows at the bit granularity. It is said that GPS is a fluid policy, because it needs to serve fraction of packets. WFQ is a packetized policy that tracks output of GPS. The idea is to calculate the finishing time of every packet if we were able to implement GPS. WFQ always serve the packet with smallest finishing time. WFQ has a bounded delay too:

Bounded Delay for WFQ Pay for the burst once

Source: Patrick Maillé, “An introduction to Network Calculus”. Arrival and Service Curves Backlog bound Source: Patrick Maillé, “An introduction to Network Calculus”.

DRR Each queue has a deficit counter. At the beginning of each round deficit counter of each queue is incremented by its quantum value. Quantum value determines how many bytes from that queue we want to schedule in each round. A round is one round-robin iteration over backlogged queues. In a round every queue that its packet length is less than its deficit counter. If a queue is served its deficit counter is reduced by the packet length. In each round each backlogged queues deficit is incremented by its quantum value.

Comparison of Scheduling

RECAP