Goals of Today s Lecture. EE 122: Quality of Service. How to Specify Bursty Traffic. Reserving Resources End-to-End

Similar documents
CS 268: Lecture 13. QoS: DiffServ and IntServ

18: Enhanced Quality of Service

Internet Quality of Service

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

QoS in IP networks. Computer Science Department University of Crete HY536 - Network Technology Lab II IETF Integrated Services (IntServ)

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Multimedia Requirements. Multimedia and Networks. Quality of Service

How To Provide Qos Based Routing In The Internet

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Quality of Service (QoS)) in IP networks

02-QOS-ADVANCED-DIFFSRV

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

Differentiated Services

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

Analysis of IP Network for different Quality of Service

MULTIMEDIA NETWORKING

QoS : Computer Networking. Motivation. Overview. L-7 QoS. Internet currently provides one single class of best-effort service

VoIP network planning guide

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Quality of Service (QoS) EECS 122: Introduction to Computer Networks Resource Management and QoS. What s the Problem?

Mixer/Translator VOIP/SIP. Translator. Mixer

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

A Review on Quality of Service Architectures for Internet Network Service Provider (INSP)

Distributed Systems 3. Network Quality of Service (QoS)

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Real-time apps and Quality of Service

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

Quality of Service for VoIP

CS268 Exam Solutions. 1) End-to-End (20 pts)

IP Quality of Service: Theory and best practices. Vikrant S. Kaulgud

Differentiated Services:

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

QUALITY OF SERVICE INTRODUCTION TO QUALITY OF SERVICE CONCEPTS AND PROTOCOLS

Overview of QoS in Packet-based IP and MPLS Networks. Paresh Shah Utpal Mukhopadhyaya Arun Sathiamurthi

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

iseries Quality of service

4 Internet QoS Management

This lecture discusses the main principles underlying Internet QoS. We don t focus

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

Fiber Channel Over Ethernet (FCoE)

QoS Strategy in DiffServ aware MPLS environment

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Network management and QoS provisioning - QoS in the Internet

Protocols with QoS Support

Multi-Protocol Label Switching To Support Quality of Service Needs

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

DOCSIS 1.1 Cable Modem Termination Systems

Improving Quality of Service

ERserver. iseries. Quality of service

How To Improve Performance On A Ccdn (Dns)

PART III. OPS-based wide area networks

QoS for Cloud Computing!

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

SPEAKEASY QUALITY OF SERVICE: VQ TECHNOLOGY

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Network Layer: Network Layer and IP Protocol

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

Quality of Service for IP Videoconferencing Engineering White Paper

MENTER Overview. Prepared by Mark Shayman UMIACS Contract Review Laboratory for Telecommunications Science May 31, 2001

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

for guaranteed IP datagram routing

Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS

Description: To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

QoS in VoIP. Rahul Singhai Parijat Garg

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

Per-Flow Queuing Allot's Approach to Bandwidth Management

Does reality matter?: QoS & ISPs

Performance Evaluation of Voice Traffic over MPLS Network with TE and QoS Implementation

Lecture 33. Streaming Media. Streaming Media. Real-Time. Streaming Stored Multimedia. Streaming Stored Multimedia

Voice over IP. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP

IP-Telephony Quality of Service (QoS)

QoSpy an approach for QoS monitoring in DiffServ Networks.

6.6 Scheduling and Policing Mechanisms

Project Report on Traffic Engineering and QoS with MPLS and its applications

A Two-bit Differentiated Services Architecture for the Internet

Research on Video Traffic Control Technology Based on SDN. Ziyan Lin

Introduction to Quality of Service. Andrea Bianco Telecommunication Network Group

MPLS is the enabling technology for the New Broadband (IP) Public Network

Final for ECE374 05/06/13 Solution!!

DiffServ & MLPS. Séminaire à l université Badji Mokhtar Département informatique Annaba, Algérie, mai C. Pham

CS 640: Introduction to Computer Networks. Goals of This Class. Goal of Networking. Page 1. Understand principles and practice of networking

Network Management Quality of Service I

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

6.5 Quality of Service

A Scalable and Robust Solution for Bandwidth Allocation

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

Ensuring End-to-End QoS for IP Applications. Chuck Darst HP OpenView. Solution Planning

Using Fuzzy Logic Control to Provide Intelligent Traffic Management Service for High-Speed Networks ABSTRACT:

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

Class of Service (CoS) in a global NGN

Internet QoS: the Big Picture

VoIP Quality of Service - Basic Theory

Transcription:

Goals of Today s Lecture Traffic characterization Token bucket EE 122: Quality of Service Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee122/fa09 (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues at UC Berkeley) QoS models: Integrated Services: End-to-end network reservations Differentiated Services: First Class vs. Coach 1 Reserving Resources End-to-End Source sends a reservation message E.g., this flow needs 5 Mbps Each router along the path Keeps track of the reserved resources E.g., the link has 6 Mbps left Checks if enough resources remain E.g., 6 Mbps > 5 Mbps, so circuit can be accepted Creates state for flow and reserves resources E.g., now only 1 Mbps is available How to Specify Bursty Traffic Option #1: Specify the maximum bit rate. Problems? Maximum bit rate may be much higher average Reserving for the worst case is wasteful Option #2: Specify the average bit rate. Problems? Average bit rate is not sufficient Network will not be able to carry all of the packets Reserving for average case leads to bad performance Option #3: Specify the burstiness of the traffic Specify both the average rate and the burst size Allows the sender to transmit bursty traffic and the network to reserve the necessary resources 1

Characterizing Burstiness: Token Bucket Parameters r average rate, i.e., rate at which tokens fill the bucket b bucket depth (limits size of burst) R maximum link capacity or peak rate A bit can be transmitted only when a token is available Maximum # of bits sent r bps b bits bits b R/(R-r) slope R slope r Traffic Enforcement: Example r = 100 Kbps; b = 3 Kb; R = 500 Kbps 3Kb T = 0 : 1Kb packet arrives 2.4Kb (a) (c) 3Kb 2.2Kb (b) T = 2ms : packet transmitted b = 3Kb 1Kb + 2ms*100Kbps = 2.2Kb (d) (e) 0.6Kb regulator R bps b/(r-r) time T = 4ms : 3Kb packet arrives T = 10ms : packet needs to wait until enough tokens are in the bucket T = 16ms : packet transmitted Source Traffic Characterization: Arrival Curve Arrival curve maximum amount of bits transmitted during any interval of time Δt Use token bucket to bound arrival curve Arrival Curve: Example Arrival curve maximum amount of bits transmitted during any interval of time Δt Use token bucket to bound arrival curve bits (R=2,b=1,r=1) Arrival curve bps bits Arrival curve bps 4 3 2 2 time Δt 1 0 1 2 3 4 5 time 1 1 2 3 4 5 Δt 2

QoS Guarantees: Per-hop Reservation End-host: specify arrival rate characterized by token bucket with parameters (b,r,r) the maximum tolerable delay D, no losses Router: allocate bandwidth r a, buffer space B a such that no packet is dropped no packet experiences a delay larger than D bits b R/(R-r) R slope r a slope r B a D Arrival curve Ensuring the Source Behaves Guarantees depend on the source behaving Extra traffic might overload one or more links Leading to congestion, and resulting delay and loss Solution: need to enforce the traffic specification Solution #1: policing Drop all data in excess of the traffic specification Solution #2: shaping Delay the data until it obeys the traffic specification Solution #3: marking Mark all data in excess of the traffic specification and give these packets lower priority in the network Integrated Services: Required Elements Reservation Protocol How service request gets from host to network Admission control algorithm How network decides if it can accept flow Packet scheduling algorithms How routers deliver service Architecture for solution: IntServ Provides service guarantees at a per-flow granularity Control Plane vs. Data Plane Control plane: How information gets to routers Data plane: What routers do with that information when processing data packets Data Control 3

Control Plane: Resource Reservation Control Plane: Resource Reservation sends specification of traffic profile Control Plane: Resource Reservation Control Plane: Resource Reservation Path established (or perhaps admission control denies path) The receiver accepts reservation request 4

Control Plane: Admission Control Control Plane: Admission Control Per-flow state (soft state) Per-flow state on all routers in path Data Plane Data Plane Per-flow classification on each router Per-flow classification on each router 5

Data Plane Admission Control Per-flow scheduling on each router Parameter-based: worst case analysis Guaranteed service Lower utilization Measurement-based: measure current traffic Controlled load service Higher utilization Remember that best-effort service co-exists No need for IntServ traffic to achieve high utilization Problems with IntServ Scalability: per-flow state & classification Aggregation/encapsulation techniques can help Can overprovision big links, per-flow ok on small links Scalability can be fixed - but no second chance Economic arrangements: Need sophisticated settlements between ISPs Contemporary settlements are primitive Unidirectional, or barter User charging mechanisms: need QoS pricing On a fine-grained basis 5 Minute Break Questions Before We Proceed? 6

Differentiated Services (DiffServ) Give some traffic better treatment than other Application requirements: interactive vs. bulk transfer Economic arrangements: first-class versus coach What kind of better service could you give? Fewer drops Lower delay Lower delay variation (jitter) How to know which packets get better service? Bits in packet header Deals with traffic in aggregate Provides weaker services But much more scalable Diffserv Architecture Ingress routers - entrance to a DiffServ domain Police or shape traffic Set Differentiated Service Code Point (DSCP) in IP header Core routers Implement Per Hop Behavior (PHB) for each DSCP Process packets based on DSCP Ingress DS-1 Edge router Egress Ingress Core router DS-2 Egress Traffic Limitations Expedited Forwarding (EF) Can t give all traffic better service! Must limit the amount of traffic that gets better service Give packet minimal delay and loss service E.g., put EF packets in high priority queue To make this a true absolute service All SLAs must sum to less than the link speed Service Level Agreements (SLA) Source agrees to limit amount of traffic in given class Network agrees to give that traffic better service For a price! Economics play an important (fatal?) role in QoS 7

Is Delay the Problem? Assured Forwarding (AS) Packets are dropped when queue starts to grow Thus, delays are mostly speed-of-light latency Service quality is mostly expressed by drop-rate Packets are all serviced in order Makes TCP implementations perform well But some packets can be marked as low-drop and others as high-drop Think of it as priority levels for dropping Want to give traffic different levels of dropping Example DiffServ Code Points 10% premium traffic, 90% ordinary traffic Use six of the ToS bits in IP packet header Overall drop rate is 5% Give premium traffic 0% drops; ordinary traffic a 5.55% drop rate Large improvement in service for the small class of traffic without imposing much of a penalty on the other traffic Count on SLAs to control premium traffic Define various code points Alternative classes of service (drop probability and assured forwarding) Each code point defines a desired per-hop behavior Description of the service the packet should get Not a description of the router implementation of that service 8

Differentiated Service (DS) Field 0 5 6 7 DS Field ECN 0 4 8 16 19 31 Version HLen TOS Length Identification Flags Fragment offset TTL Protocol Header checksum Source address Destination address Data IP header DS field encodes Per-Hop Behavior (PHB) E.g., Expedited Forwarding (all packets receive minimal delay & loss) E.g., Assured Forwarding (packets marked with low/ high drop probabilities) Edge Router Data traffic Per aggregate Classification (e.g., user) Classifier Class 1 Traffic conditioner Traffic conditioner Class 2 Ingress Best-effort Marked traffic Scheduler Assumptions Assume two bits P-bit denotes premium traffic A-bit denotes assured traffic Traffic conditioner (TC) implement Metering (policing) Marking Shaping TC Performing Metering/Marking Used to implement Assured Service In-profile traffic is marked: A-bit is set in every packet Out-of-profile (excess) traffic is unmarked A-bit is cleared (if it was previously set) in every packet; this traffic treated as best-effort r bps assured traffic Metering b bits Set A-bit Clear A-bit User profile (token bucket) in-profile traffic out-of-profile traffic 9

TC Performing Metering/Marking/ Shaping Used to implement Premium Service In-profile traffic marked: Set P-bit in each packet Out-of-profile traffic is delayed, and when buffer overflows it is dropped r bps premium traffic out-of-profile traffic (delayed or dropped) Metering/ Shaper/ Set P-bit b bits User profile (token bucket) in-profile traffic Scheduler Premium traffic sent at high priority Assured and best-effort traffic sent at low priority Always drop OUT (best-effort) packets first P-bit set? no Implemented by the RED with In and Out (RIO) scheduler yes A-bit set? yes no RIO high priority low priority Control Path Example Each domain is assigned a Bandwidth Broker (BB) Usually, used to perform ingress-egress bandwidth allocation BB is responsible to perform admission control in the entire domain BB not easy to implement Require complete knowledge about domain Single point of failure, may be performance bottleneck Designing BB still a research problem Achieve end-to-end bandwidth guarantee 2 3 BB BB BB 7 5 1 9 8 profile 6 4 profile profile sender receiver 10

Comparison to Best-Effort & Intserv Service Service scope Best-Effort Diffserv Intserv Connectivity No isolation No guarantees Per aggregate isolation Per aggregate guarantee Per flow isolation Per flow guarantee End-to-end Domain End-to-end Complexity No setup Long term setup Per flow steup Scalability Highly scalable (nodes maintain only routing state) Scalable (edge routers maintain per aggregate state; core routers per class state) Not scalable (each router maintains per flow state) Discussion: Limited QoS Deployment End-to-end QoS across multiple providers/ domains is not available today Issue #1: complexity of payment Requires payment system among multiple parties And agreement on what constitutes service Diffserv tries to structure this as series of bilateral agreements but lessens likelihood of end-to-end service Architecture includes notion of Bandwidth Broker for endto-end provisioning Solid design has proved elusive Need infrastructure for metering/billing end user Limited QoS Deployment, con t Issue #2: prevalence of overprovisioning Within a large ISP, links tend to have plenty of headroom Inter-ISP links are not over provisioned, however Is overprovisioning enough? If so, is this only because access links are slow? What about Korea, Japan, and other countries with fast access links? Disconnect: ISPs overprovision, users get bad service Key difference: intra-isp vs. general end-toend Exploiting Lack of End-to-End QoS Suppose an ISP offers their own Internet service E.g., portal (ala Yahoo) or search engine (ala Google) Then it s in their interest that performance to Yahoo or Google is inferior So customers prefer to use their value-added services ISP can recognize traffic to competitor and demote it charge competitor if they want well-provision paths just not put effort/$ into high-capacity interconnects w/ other ISPs; congestion provides traffic demotion directly Works particularly well for large providers w/ lots of valuable content 11

Summary QoS models Reservations & admission control Descriptions of bursty traffic: token buckets IntServ provides per-flow performance guarantees But lacks scalability DiffServ provides per-aggregate tiers of relative perf. Scalable, but not as powerful Neither is generally available end-to-end today ISPs may manipulate what services receive what performance raises issues of: network neutrality 12