1 Computer Networks with Internet Technology William Stallings Chapter 09 Integrated and Differentiated Services.

Slides:



Advertisements
Similar presentations
Quality of Service CCDA Quick Reference.
Advertisements

Japan Telecom Information & Communication Labs
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Data and Computer Communications Ninth Edition by William Stallings Chapter 20 – Internetwork Quality of Service of Service Data and Computer Communications,
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Tiziana Ferrari Differentiated Services Test: Report1 Differentiated Service Test REPORT TF-TANT Tiziana Ferrari Frankfurt, 1 Oct.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Chapter 30 Quality of Service
High Speed Networks and Internets : Multimedia Transportation and Quality of Service Meejeong Lee.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
Chapter 8: Internet Operation Business Data Communications, 6e.
Integrated and Differentiated Services
1 Computer Networks with Internet Technology William Stallings Chapter 09 Integrated and Differentiated Services.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Integrated and Differentiated Services
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
QoS Protocols & Architectures by Harizakis Costas.
CS Summer 2003 Lecture 8. CS Summer 2003 Populating LFIB with LDP Assigned/Learned Labels Changes in the LFIB may be triggered routing or.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
Chapter 8: Internet Operation Business Data Communications, 5e.
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.
An Architecture for Differentiated Services
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
Mobile IP: Quality-of-Service Reference: “Domain based approach for QoS provisioning in mobile IP”; Ki-Il Kim; Sang-Ha Kim; Proc. IEEE Global Telecommunications.
Tiziana FerrariQuality of Service for Remote Control in the High Energy Physics Experiments CHEP, 07 Feb Quality of Service for Remote Control in.
Chapter 17 Integrated and Differentiated Services 1 Integrated and Differentiated Services COMP5416 Chapter 17.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
{vp, sra, Security in Differentiated Services Networks Venkatesh Prabhakar Srinivas R.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
CSC 600 Internetworking with TCP/IP Unit 6b: Interior IP Routing Algorithms (Ch. 16) Dr. Cheer-Sun Yang Spring 2001.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
Tiziana Ferrari Quality of Service Support in Packet Networks1 Quality of Service Support in Packet Networks Tiziana Ferrari Italian.
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.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
1 Computer Networks with Internet Technology William Stallings Chapter 09 Integrated and Differentiated Services.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Chapter 8: Internet Operation. Network Classes Class A: Few networks, each with many hosts All addresses begin with binary 0 Class B: Medium networks,
Differentiated Services for the Internet Selma Yilmaz.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Chapter 5 : The Internet: Addressing & Services Business Data Communications, 4e.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Differentiated Services IntServ is too complex –More focus on services than deployment –Functionality similar to ATM, but at the IP layer –Per flow QoS.
Integrated Services & Differentiated Services
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
Mar-16 1 Cairo University Faculty of Engineering Electronics &Communication dpt. 4th year Linux-based Implementation Of a Router (B.Sc Graduation project)
Quality of Service Frameworks Hamed Khanmirza Principles of Network University of Tehran.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
11. Integrated and Differentiated Services Network Performance and Quality of Service.
Multicast and Quality of Service Internet Technologies and Applications.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Instructor Materials Chapter 6: Quality of Service
Chapter 8: Internet Operation
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
EE 122: Quality of Service and Resource Allocation
EE 122: Lecture 18 (Differentiated Services)
Chapter 16. Internetwork Operation
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
William Stallings Data and Computer Communications
Presentation transcript:

1 Computer Networks with Internet Technology William Stallings Chapter 09 Integrated and Differentiated Services

Introduction New additions to Internet increasing traffic —High volume client/server application —Web Graphics —Real time voice and video Need to manage traffic and control congestion IEFT standards —Integrated services Collective service to set of traffic demands in domain –Limit demand & reserve resources —Differentiated services Classify traffic in groups Different group traffic handled differently

Integrated Services Architecture (ISA) IPv4 header fields for precedence and type of service usually ignored Need to support Quality of Service (QoS) within TCP/IP —Add functionality to routers —Means of requesting QoS

Internet Traffic – Elastic Can adjust to changes in delay and throughput E.g. common TCP and UDP application — – 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 Not per packet delay – total elapsed time —E.g. web page loading time —For small items, delay across internet dominates —For large items it is throughput over connection Need some QoS control to match to demand

Internet Traffic – Inelastic Does not easily adapt to changes in delay and throughput —Real time traffic Requirements: —Throughput Minimum may be required —Delay –E.g. stock trading —Jitter - Delay variation More jitter requires a bigger buffer E.g. teleconferencing requires reasonable upper bound —Packet loss

Inelastic Traffic Problems Difficult to meet requirements on network with variable queuing delays and congestion Need preferential treatment Applications need to state requirements —Ahead of time (preferably) or on the fly —Using fields in IP header —Resource reservation protocol Must still support elastic traffic —Deny service requests that leave too few resources to handle elastic traffic demands

ISA Approach Provision of QoS over IP Sharing available capacity when congested Router mechanisms —Routing Algorithms Select to minimize delay —Packet discard Causes TCP sender to back off and reduce load

Flow IP packet can be associated with a flow flow —RFC 1633 defines a flow as a distinguishable stream of related IP packets that results from a single user activity and requires same QoS. —E.g. one transport connection or one video stream —Unidirectional —Can be more than one recipient Multicast —Membership of flow identified by source and destination IP address, port numbers, protocol type —IPv6 header flow identifier can be used but is not necessarily equivalent to ISA flow

ISA Functions Admission control —For QoS, reservation required for new flow —RSVP used Routing algorithm —Routing decision based on QoS parameters Queuing discipline —Take account of different flow requirements Discard policy —The choice and timing of packet discards —Manage congestion and meet QoS

Figure 9.1 ISA Implemented in Router BackgroundForwardingBackgroundForwarding

ISA Components – Background Functions Reservation Protocol —RSVP Admission control Management agent —Can use agent to modify traffic control database and direct admission control Routing protocol —Maintaining a routing database

ISA Components – Forwarding Classifier and route selection —Incoming packets mapped to classes Single flow or set of flows with same QoS –E.g. all video flows Based on IP header fields —Determines next hop Packet scheduler —Manages one or more queues for each output —Order queued packets sent Based on class, traffic control database, current and past activity on outgoing port —Policing Determine whether the packet traffic in a flow exceeds the requested capacity. Decide how to treat the excess packets.

ISA Services Traffic specification (TSpec) defined as service for flow ISA service for a flow is defined on two levels. —General categories of service Guaranteed Controlled load Best effort (default) —The service for a particular is specified by values of certain parameters.  TSpec

Token Bucket Traffic Specification A way of characterizing traffic Three advantages: —Many traffic sources can be defined by token bucket scheme —Provides concise description of load imposed by flow. Easy to determine resource requirements —Provides input parameters to policing function Consists of two parameters —R: token replenishment rate —B: bucket size  During any time period T, the amount of data sent cannot exceed RT + B

Figure 9.2 Token Bucket Scheme

ISA Services – Guaranteed Service Key elements of guaranteed service —Assured capacity level or data rate —Specific upper bound on queuing delay through network Must be added to propagation delay to get total delay —No queuing losses I.e. no packets are lost due to buffer overflow E.g. Real time play back of incoming signal can use delay buffer for incoming signal but will not tolerate packet loss

ISA Services – Controlled Load Key elements of controlled load service —Tightly approximates to best efforts under unloaded conditions —No upper bound on queuing delay. High percentage of packets do not experience delay over minimum transit delay —Very high percentage delivered. Almost no queuing loss Useful for adaptive real time applications —Receiver measures jitter and sets playback point —Video can drop a frame or delay output slightly —Voice can adjust silence periods

Differentiated Services (DS) ISA and RSVP complex to deploy May not scale well for large volumes of traffic —Amount of control signals required —Maintenance of state information at routers DS architecture (RFC 2475) is designed to provide simple, easy to implement, low overhead tool —Support range of network services differentiated on basis of performance

Characteristics of DS 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. —DS mechanisms not needed in applications 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

DS Terminology (1) Behavior AggregateA set of packets with the same DS codepoint crossing a link in a particular direction. ClassifierSelects packets based on the DS field (BA classifier) or on multiple fields within the packet header (MF classifier). DS Boundary NodeA DS node that connects one DS domain to a node in another domain DS CodepointA specified value of the 6-bit DSCP portion of the 8-bit DS field in the IP header. DS DomainA contiguous (connected) set of nodes, capable of implementing differentiated services, that operate with a common set of service provisioning policies and per-hop behavior definitions. DS Interior NodeA DS node that is not a DS boundary node. DS NodeA node that supports differentiated services. Typically, a DS node is a router. A host system that provides differentiated services for applications in the host is also a DS node. DroppingThe process of discarding packets based on specified rules; also called policing. Page 329

Table 9.1 DS Terminology (2) MarkingThe process of setting the DS codepoint in a packet. Packets may be marked on initiation and may be re-marked by an en route DS node. MeteringThe process of measuring the temporal properties (e.g., rate) of a packet stream selected by a classifier. The instantaneous state of that process may affect marking, shaping, and dropping functions. Per-Hop Behavior (PHB) The externally observable forwarding behavior applied at a node to a behavior aggregate. Service Level Agreement (SLA) A service contract between a customer and a service provider that specifies the forwarding service a customer should receive. ShapingThe process of delaying packets within a packet stream to cause it to conform to some defined traffic profile. Traffic ConditioningControl functions performed to enforce rules specified in a TCA, including metering, marking, shaping, and dropping. Traffic Conditioning Agreement (TCA) An agreement specifying classifying rules and traffic conditioning rules that are to apply to packets selected by the classifier.

Services Provided within DS domain —Contiguous portion of Internet over which consistent set of DS policies administered. —Typically under control of one administrative entity Defined in SLA (Service Level Agreement) —SLA: Service contract between customer and service provider —Specify packet classes, marked in DS field Service provider configures forwarding policies at routers —Must measure performance provided for each class DS domain is expected to provide agreed service. If destination in another domain, DS domain attempts to forward packets through other domains, requesting appropriate service to match the requested service.

SLA Parameters Detailed service performance parameters —Throughput, drop probability, latency Constraints on ingress and egress points —Indicate scope of service Traffic profiles to be adhered to —Token bucket Disposition of traffic in excess of profile

Example Services Qualitative —A: Low latency —B: Low loss Quantitative —C: 90% in-profile traffic delivered with no more than 50ms latency —D: 95% in-profile traffic delivered Mixed —E: Twice bandwidth of F —F: Traffic with drop precedence X has higher delivery probability than that with drop precedence Y

Figure 9.11 DS Field – DS Codepoint

DS Field Detail Leftmost 6 bits are DS codepoint —64 different classes available —3 pools xxxxx0 : reserved for standards – : default packet class –xxx000 : reserved for backwards compatibility with IPv4 TOS xxxx11 : reserved for experimental or local use xxxx01 : reserved for experimental or local use but may be allocated for future standards if needed Rightmost 2 bits unused

Precedence Field Indicates degree of urgency or priority If router supports precedence, three approaches: Route selection —Particular route may be selected if smaller queue or next hop on supports network precedence or priority —e.g. token ring supports priority Network service —Network on next hop supports precedence, service is invoked Queuing discipline —Use precedence to affect how queues handled —E.g. preferential treatment in queues to datagrams with higher precedence

Router Queuing Disciplines – Queue Service RFC 1812 Queue service a.SHOULD implement precedence-ordered queue service a.Highest precedence packet queued for link is sent b.MAY implement other policy-based throughput management MUST be configurable to suppress them (i.e., use strict ordering)

Router Queuing Disciplines – Congestion Control Router receives packet beyond storage capacity —Discard it or other packet(s) a.MAY discard packet just received —Simplest but not best policy b.Should select packet from session most heavily abusing link, given that QoS permits this. —FIFO queues: discard packet randomly selected —Fair queues: discard from longest queue c.If precedence-ordered implemented and enabled —MUST NOT discard packet with precedence higher than packet not discarded d.MAY protect packets that request maximize reliability TOS e.MAY protect fragmented IP packets f.MAY protect packets used for control or management

DS Configuration and Operation

Configuration – Interior Routers Domain consists of set of contiguous routers Interpretation of DS codepoints within domain is consistent Interior nodes (routers) have simple mechanisms to handle packets based on codepoints —Queuing discipline Gives preferential treatment depending on codepoint Per Hop behaviour (PHB) in DS specification PHB must be available to all routers Typically the only part implemented in interior routers —Packet dropping rule Dictate which to drop when buffer saturated

Configuration – Boundary Routers Include PHB rules Also traffic conditioning to provide desired service —Classifier Separate packets into different classes —Meter Measure traffic for conformance to profile —Marker Policing by remarking codepoints if required E.g. Remark packets that exceed the profile —Shaper Delay packets so that packet stream does not exceed traffic rate specified in the profile —Dropper See Fig. 9.13, page 334

PHB – 1. Expedited Forwarding (EF) Premium service —Low loss, delay, jitter; assured bandwidth end-to-end service through domains —Looks like point to point or leased line —Difficult to achieve —Configure nodes so traffic aggregate has well defined minimum departure rate EF PHB —Condition aggregate so arrival rate at any node is always less that minimum departure rate Boundary conditioners

Per Hop Behaviour – Explicit Allocation Superior to best efforts Does not require reservation of resources Does not require detailed discrimination among flows Key elements of explicit allocation scheme: —Users are offered choice of number of classes —Monitored at boundary node Marked in or out, depending on matching profile or not —Inside network all traffic treated as single pool of packets, distinguished only as in or out —Drop out packets before in packets if necessary —Different levels of service because different number of in packets for each user

PHB – 2. Assured Forwarding (AF) Four classes defined —Select one or more to meet requirements Within class, packets marked by customer or provider with one of three drop precedence values —Used to determine importance when dropping packets as result of congestion See Figure 9.11(b)Figure 9.11(b)