Lecture 14: Performance Architecture

Similar documents
Basics (cont.) Characteristics of data communication technologies OSI-Model

Advanced Computer Networks

Real-Time Protocol (RTP)

Internet Services & Protocols. Quality of Service Architecture

Quality of Service (QoS) Computer network and QoS ATM. QoS parameters. QoS ATM QoS implementations Integrated Services Differentiated Services

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Mohammad Hossein Manshaei 1393

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Quality of Service II

Differentiated Services

Improving QOS in IP Networks. Principles for QOS Guarantees

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

Lecture 24: Scheduling and QoS

Lecture 13. Quality of Service II CM0256

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

CSE 123b Communications Software

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Differentiated Services

Part1: Lecture 4 QoS

ITBF WAN Quality of Service (QoS)

Lecture Outline. Bag of Tricks

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

Telecommunication Services Engineering Lab. Roch H. Glitho

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Quality of Service (QoS)

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Network Support for Multimedia

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

Quality of Service in the Internet

Quality of Service in the Internet

QoS in IPv6. Madrid Global IPv6 Summit 2002 March Alberto López Toledo.

Multicast and Quality of Service. Internet Technologies and Applications

Quality of Service (QoS)

Real-Time Control Protocol (RTCP)

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

Towards Service Differentiation on the Internet

ETSF10 Internet Protocols Transport Layer Protocols

Multimedia Networking

Real-Time Applications. Delay-adaptive: applications that can adjust their playback point (delay or advance over time).

QoS for Real Time Applications over Next Generation Data Networks

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

Page 1. Quality of Service. CS 268: Lecture 13. QoS: DiffServ and IntServ. Three Relevant Factors. Providing Better Service.

Integrated and Differentiated Services. Christos Papadopoulos. CSU CS557, Fall 2017

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Congestion Control in Communication Networks

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Multimedia Networking. Network Support for Multimedia Applications

Common network/protocol functions

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Leaky Bucket Algorithm

Multimedia networking: outline

Telematics 2 & Performance Evaluation

Congestion Control and Resource Allocation

Quality of Service Basics

EE 122: Differentiated Services

Master Course Computer Networks IN2097

H3C S9500 QoS Technology White Paper

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Master Course Computer Networks IN2097

CCVP QOS Quick Reference Sheets

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Analysis of the interoperation of the Integrated Services and Differentiated Services Architectures

Week 7: Traffic Models and QoS

A DiffServ transport network to bring 3G access to villages in the Amazon forest: a case study

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK UTILISATION BY SIMULATION WITH DROP-TAIL

CSE 461 Quality of Service. David Wetherall

Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

QoS Technology White Paper

Networking Quality of service

CS 356: Computer Network Architectures. Lecture 24: IP Multicast and QoS [PD] Chapter 4.2, 6.5. Xiaowei Yang

Implementing QoS in IP networks

"Charting the Course... Implementing Cisco Quality of Service (QOS) Course Summary

Table of Contents 1 QoS Overview QoS Policy Configuration Priority Mapping Configuration 3-1

Unit 2 Packet Switching Networks - II

Multi-class Applications for Parallel Usage of a Guaranteed Rate and a Scavenger Service

VoIP Protocols and QoS

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

Peer to Peer Infrastructure : QoS enabled traffic prioritization. Mary Barnes Bill McCormick

Lecture 13: Transportation layer

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

RETELE DE CALCULATOARE

Congestion Management Overview

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

Affects of Queuing Mechanisms on RTP Traffic Comparative Analysis of Jitter, End-to- End Delay and Packet Loss

Quality of Service (QoS)

Quality of Service (QoS)

QoS Technology White Paper

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

Service-to-Service Mapping of Differentiated Services to the ABR Service of ATM in Edge/Core Networks

Converged Networks. Objectives. References

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK

EPL606. Quality of Service and Traffic Classification

IP Differentiated Services

Transcription:

Lecture 14: Performance Architecture Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 14-1 Background Performance: levels for capacity, delay, and RMA. Performance architecture is the set of mechanisms to configure, operate, manage, provision, and account for resources to support the required performance. Leads to Service Level Agreements (SLA), resource control, and Quality of Service (QoS) parameters. Typically higher performance means: higher network cost. more complicated routers more complicated applications more complicated protocols more suitable-trained human operators Example: For telelearning to remote areas, uottawa asks its ISP for guaranteed 300 Kbps video conferencing channel with maximum values of 150 msec and 5% for end to end delay and loss rate, respectively. Does this exist on the Internet? Prof. Shervin Shirmohammadi CEG 4185 14-2 1

SLA Example Service Levels: Capacity Performance Delay Performance Reliability Performance Basic Service As Available (Best Effort) As Available (Best Effort) As Available (Best Effort) Silver Service 1.5 Mb/s (Bidirectional) As Available (Best Effort) As Available (Best Effort) Gold Service 10 Mb/s (Bidirectional) (Burst to 100 Mb/s) Max 100-ms Roundtrip (Between Points) As Available (Best Effort) Platinum Service 100/10 Mb/s Up/down (Burst to 1 Gb/s) Max 40-ms Roundtrip (Between Points) 99.999% Uptime (User-Server) Prof. Shervin Shirmohammadi CEG 4185 14-3 Quality of Service: QoS Application s Quality of Service, as perceived by the user. Good quality: Smooth video, intelligible audio, natural conversation, easy interaction, Bad quality: Frozen video, unintelligible audio, difficult to interact and converse, For a specific applications, the above subjective perceptions are translated into objective parameters such as: network loss ratio Bandwidth variations delay jitter video size colour resolution Audio sampling rate Prof. Shervin Shirmohammadi CEG 4185 14-4 2

QoS Parameters Many studies have been performed to determine the thresholds for these parameters. E.g.: small video at 5 frames per second is sufficient for a talking head (video conference, news announcer, ) Frame rate of >25 fps is needed for movie-quality video End-to-end delay in a full-duplex audio conversation should be less than 150 msec In a synchronized audio/video presentation, the skew should be less than 15 msec For remote collaborative object manipulation, the delay should be less than 200 msec How to ensure such thresholds are met? Specially on the Internet! Network-level QoS (not implemented in the general Internet) Application-level QoS Prof. Shervin Shirmohammadi CEG 4185 14-5 Elastic Traffic Can adjust to changes in delay and throughput e.g. common TCP and UDP applications: email insensitive to delay changes FTP User expect delay proportional to file size Sensitive to changes in throughput SNMP delay not a problem, except when caused by congestion Web (HTTP) TELNET sensitive to delay, still considered elastic Total elapsed time: E.g. web page loading time For small items, delay across internet dominates For large items it is throughput over connection Prof. Shervin Shirmohammadi CEG 4185 14-6 3

Inelastic Traffic Does not easily adapt to changes in delay and throughput Real time traffic Throughput Minimum bandwidth may be required Delay E.g. stock trading, voice over IP Jitter: Delay variation More jitter requires a bigger buffer E.g. teleconferencing requires reasonable delay upper bound Packet loss Prof. Shervin Shirmohammadi CEG 4185 14-7 Issues with Inelastic Traffic Difficult to meet requirements on a network with variable queuing delays and congestion Need preferential treatment given by the network Can t do this in the transport layer Applications need to state requirements Preferably ahead of time, or on-the-fly Need some sort of resource reservation protocol Must still support elastic traffic Don t choke too much elastic traffic in favour of inelastic traffic People still have to check their email and surf the web Deny service requests that leave too few resources to handle elastic traffic demands Prof. Shervin Shirmohammadi CEG 4185 14-8 4

Integrated Services Architecture (ISA) IETF standard QoS support at the networking layer. Provision of QoS over IP Philosophy: Limit demand & reserve resources Sharing available capacity when congested non-isa Router mechanisms Routing Algorithms Select to minimize delay Packet discard Causes TCP sender to back off and reduce load This is enhanced by ISA Prof. Shervin Shirmohammadi CEG 4185 14-9 ISA Functions Admission control For QoS, reservation required for new flow uses RSVP Routing algorithm Routing decision based on QoS parameters Queuing discipline Take account of different flow requirements Fair queuing, processor sharing, weighted queuing, Discard policy Manage congestion Meet QoS Keep in mind, all of this is being done in the router! Prof. Shervin Shirmohammadi CEG 4185 14-10 5

ISA Implementation in Router Background Functions Forwarding functions Prof. Shervin Shirmohammadi CEG 4185 14-11 ISA Components Reservation Protocol RSVP Admission Control Enough resources to handle desired QoS? Management Agent As seen in NM lecture Routing Protocol Classifier and Route Selection Incoming packets mapped to classes Based on IP header fields Determines next hop Packet Scheduler Manages one or more queues for each output Order queued packets sent Policing Used for resource allocation Used for routing IP ToS field (1 byte) Prof. Shervin Shirmohammadi CEG 4185 14-12 6

ISA Services Traffic Specification (TSpec) defined as service for flow Becomes a sort of SLA On two levels General categories of service Guaranteed Controlled load Best effort (default) Particular flow within category TSpec is part of the contract between user and service provider. How to police an average data rate? One way: token bucket Prof. Shervin Shirmohammadi CEG 4185 14-13 Token Bucket Allows traffic to be sent in bursts, as long as the average data rate is not violated. Prof. Shervin Shirmohammadi CEG 4185 14-14 7

RSVP: Resource ReSerVation Protocol IETF standard Reserves resources on the routers (so, again, at the networking layer) of a given path, such that QoS requirements can be met. Enable receivers to make reservations on network routers Multicasting supported Simplex Unidirectional data flow Receivers can select one of multiple sources (channel) Deal gracefully with changes in routes Re-establish reservations Independent of routing protocol Uses the Type of Service field in the IPv4 header. Prof. Shervin Shirmohammadi CEG 4185 14-15 RSVP Operation Diagram Prof. Shervin Shirmohammadi CEG 4185 14-16 8

Differentiated Services (DS) Another IETF standard ISA and RSVP complex to deploy, and may not scale well for large volumes of traffic Amount of control signals Maintenance of state information at routers DS architecture designed to provide simple, easy to implement, low overhead tool Classify traffic in groups, and each group is handled differently Support a range of network services Differentiated on basis of performance Use IPv4 header Type of Service or IPv6 Traffic Class field No change to IP Service level agreement (SLA) established between provider (internet domain) and customer prior to use of DS DS mechanisms not needed in applications! (already negotiated) Build in aggregation: all traffic with same DS field treated same e.g. multiple voice connections DS implemented in individual routers by queuing and forwarding based on DS field State information on flows not saved by routers Prof. Shervin Shirmohammadi CEG 4185 14-17 DiffServ Traffic Classes Best Effort Typical to the best effort QoS we discussed before. Assured Forwarding (AF, RFC 2597) Used for traffic where both delay and capacity requirements need to be considered (tele-services). Four AF classes are defined, each with its own resources. Within each class, packets are marked with one of three drop precedence values. Those with lower drop precedence have higher priority. Expedited Forwarding (EF, RFC 2598) Targeted towards traffic that has strict delay requirements (real-time or interactive). Low loss, low-delay, and low-jitter end to end services through DS domains. Prof. Shervin Shirmohammadi CEG 4185 14-18 9

DS Field Uses the first 6 bits of IP ToS (the remaining 2 bits are unused). For AF Only PHB: Per hop behaviour Prof. Shervin Shirmohammadi CEG 4185 14-19 DiffServ vs. IntServ Function/Feature DiffServ IntServ Scalability Scalable to Large Enterprise of Service- Provider Networks Limited to Small or Medium Size Enterprise Networks Granularity of Control Traffic Aggregated into Classes Per-Flow or Groups of Flows Scope of Control Per Network Device (Per- Hop) All Network devices in End-to-End Path of Flow Prof. Shervin Shirmohammadi CEG 4185 14-20 10

Proactive Packet Discard A technique used in routers to avoid congestion before it happens. Discard packets before buffer is full Why would that reduce traffic? Used on single FIFO queue or multiple queues for elastic traffic e.g. Random Early Detection (RED) Prof. Shervin Shirmohammadi CEG 4185 14-21 Random Early Detection Traffic surges fill buffers and cause discards On TCP this is a signal to enter slow start phase, reducing load Lost packets need to be resent Adds to load and delay Global synchronization Traffic burst fills queues so packets are lost Many TCP connections enter slow start Traffic drops so network underutilized Connections leave slow start at same time causing burst Bigger buffers do not help (longer delays) Try to anticipate onset of congestion and tell one connection to slow down Prof. Shervin Shirmohammadi CEG 4185 14-22 11

RED Algorithm Calculate average queue size avg if avg < TH min queue packet else if TH min avg < Th max calculate probability P a with probability P a discard packet else with probability 1-P a queue packet else if avg TH max discard packet RED Buffer Prof. Shervin Shirmohammadi CEG 4185 14-23 12