Quality of Service Support

Slides:



Advertisements
Similar presentations
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Advertisements

Spring 2003CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
IETF Differentiated Services Concerns with Intserv: r Scalability: signaling, maintaining per-flow router state difficult with large number of flows r.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
1 Comnet 2010 Communication Networks Recitation 10 QoS.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 16: Congestion control II Slides used with.
1 Providing Quality of Service in the Internet Based on Slides from Ross and Kurose.
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.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
CSIS TAC-TOI-01 Quality of Service & Traffic Engineering (QoS & TE) Khaled Mohamed Credit: some of the sides are from Cisco Systems.
15-441: Computer Networking Lecture 18: QoS Thanks to David Anderson and Srini Seshan.
Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
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.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Quality of Service Support
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.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services 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.
Chapter 17 Integrated and Differentiated Services 1 Integrated and Differentiated Services COMP5416 Chapter 17.
Integrated Services Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December 2010 December 2010.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
1 Integrated and Differentiated Services Multimedia Systems(Module 5 Lesson 4) Summary: r Intserv Architecture RSVP signaling protocol r Diffserv Architecture.
1 Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
IntServ / DiffServ Integrated Services (IntServ)
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
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”
Computer Networking Intserv, Diffserv, RSVP.
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
K. Salah 1 Beyond Best Effort Technologies Our primarily objective here is to understand more on QoS mechanisms so that you can make informed decision.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
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.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-IP 7.4 protocols for real-time conversational.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Multimedia and QoS#1 Quality of Service Support. Multimedia and QoS#2 QOS in IP Networks r IETF groups are working on proposals to provide QOS control.
CS640: Introduction to Computer Networks Aditya Akella Lecture 21 – QoS.
1 Multimedia Networking: Beyond Best-Effort Internet.
Ch 6. Multimedia Networking Myungchul Kim
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
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
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Quality of Service
Advanced Computer Networks
QoS & Queuing Theory CS352.
Klara Nahrstedt Spring 2009
QoS Guarantees introduction call admission traffic specification
EE 122: Lecture 18 (Differentiated Services)
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Real-Time Protocol (RTP)
Network Support for Quality of Service (QoS)
Real-Time Protocol (RTP)
Presentation transcript:

Quality of Service Support Multimedia and QoS

QOS in IP Networks IETF groups are working on proposals to provide QOS control in IP networks, i.e., going beyond best effort to provide some assurance for QOS Work in Progress includes RSVP, Differentiated Services, and Integrated Services Simple model for sharing and congestion studies: Multimedia and QoS

Principles for QOS Guarantees Consider a phone application at 1Mbps and an FTP application sharing a 1.5 Mbps link. bursts of FTP can congest the router and cause audio packets to be dropped. want to give priority to audio over FTP PRINCIPLE 1: Marking of packets is needed for router to distinguish between different classes; and new router policy to treat packets accordingly Multimedia and QoS

Principles for QOS Guarantees (more) Applications misbehave (audio sends packets at a rate higher than 1Mbps assumed above); PRINCIPLE 2: provide protection (isolation) for one class from other classes Require Policing Mechanisms to ensure sources adhere to bandwidth requirements; Marking and Policing need to be done at the edges: Multimedia and QoS

Principles for QOS Guarantees (more) Alternative to Marking and Policing: allocate a set portion of bandwidth to each application flow; can lead to inefficient use of bandwidth if one of the flows does not use its allocation PRINCIPLE 3: While providing isolation, it is desirable to use resources as efficiently as possible Multimedia and QoS

Principles for QOS Guarantees (more) Cannot support traffic beyond link capacity Two phone calls each requests 1 Mbps PRINCIPLE 4: Need a Call Admission Process; application flow declares its needs, network may block call if it cannot satisfy the needs Multimedia and QoS

Multimedia and QoS

Building blocks Scheduling Traffic Shaping Modeling Admission Control Active Buffer Management Traffic Shaping Leaky Bucket Token Bucket Modeling The (σ,ρ) Model WFQ and delay guarantee Admission Control QoS Routing Multimedia and QoS

Scheduling: How Can Routers Help Scheduling: choosing the next packet for transmission FIFO/Priority Queue Round Robin/ DRR Weighted Fair Queuing We had a lecture on that! Packet dropping: not drop-tail not only when buffer is full Active Queue Managment Congestion signaling Explicit Congestion Notification (ECN) Multimedia and QoS

Buffer Size Why not use infinite buffers? Small buffers: no packet drops! Small buffers: often drop packets due to bursts but have small delays Large buffers: reduce number of packet drops (due to bursts) but increase delays Can we have the best of both worlds? Multimedia and QoS

Random Early Detection (RED) Basic premise: router should signal congestion when the queue first starts building up (by dropping a packet) but router should give flows time to reduce their sending rates before dropping more packets Note: when RED is coupled with ECN, the router can simply mark a packet instead of dropping it Therefore, packet drops should be: early: don’t wait for queue to overflow random: don’t drop all packets in burst, but space them Multimedia and QoS

RED FIFO scheduling Buffer management: Probabilistically discard packets Probability is computed as a function of average queue length (why average?) Discard Probability 1 Average Queue Length min_th max_th queue_len Multimedia and QoS

RED (cont’d) min_th – minimum threshold max_th – maximum threshold avg_len – average queue length avg_len = (1-x)*avg_len + x*sample_len Discard Probability 1 min_th max_th queue_len Average Queue Length Multimedia and QoS

Discard Probability (P) RED (cont’d) Discard Discard Probability (P) 1 min_th max_th queue_len Average Queue Length Enqueue Discard/Enqueue probabilistically Multimedia and QoS

RED (cont’d) Setting the discard probability P: Discard Probability max_P 1 P Average Queue Length min_th max_th queue_len avg_len Multimedia and QoS

Average vs Instantaneous Queue Multimedia and QoS

RED and TCP Sequence of actions (Early drop) Fairness in drops Fast retransmit Session recovers Lower source rate Fairness in drops Bursty versus non-Bursy Probability of drop depends on rate. Disadvantages Many additional parameters Increasing the loss Multimedia and QoS

RED Summary Basic idea is sound, but does not always work well Basically, dropping packets, early or late is a bad thing High network utilization with low delays when flows are long lived Average queue length small, but capable of absorbing large bursts Many refinements to basic algorithm make it more adaptive requires less tuning Does not work well for short lived flows (like Web traffic) Dropping packets in an already short lived flow is devastating Better to mark ECN instead of dropping packets ECN not widely supported Multimedia and QoS

Traffic Shaping Traffic shaping controls the rate at which packets are sent (not just how many). Used in ATM and Integrated Services networks. At connection set-up time, the sender and carrier negotiate a traffic pattern (shape). Two traffic shaping algorithms are: Leaky Bucket Token Bucket Multimedia and QoS

The Leaky Bucket Algorithm used to control rate in a network. It is implemented as a single-server queue with constant service time. If the bucket (buffer) overflows then packets are discarded. Leaky Bucket (parameters r and B): Every r time units: send a packet. For an arriving packet If queue not full then enqueue Note that the output is a “perfect” constant rate. Multimedia and QoS

The Leaky Bucket Algorithm (a) A leaky bucket with water. (b) a leaky bucket with packets. Multimedia and QoS

Token Bucket Algorithm Highlights: the bucket holds tokens. To transmit a packet, we “use” one token. Allows the output rate to vary, depending on the size of the burst. In contrast to the Leaky Bucket Granularity Bits or packets Token Bucket (r, MaxTokens): Generate r tokens every time unit If number of tokens more than MaxToken, reset to MaxTokens. For an arriving packet: enqueue While buffer not empty and there are tokens: send a packet and discard a token Multimedia and QoS

The Token Bucket Algorithm 5-34 (a) Before. (b) After. Multimedia and QoS

Token bucket example arrival queue Token bucket sent p1 (5) - p2 (2) p2 (2) p1 3 p3 (1) p2 6-5=1 4-2-1=1 p3,p2 4 5 parameters: MaxTokens=5 r=3 Multimedia and QoS

Leaky Bucket vs Token Bucket Discard: packets Rate: fixed rate (perfect) Arriving Burst: Waits in bucket Token Bucket Discard: Tokens Packet management separate Rate: Average rate Burst allowed Arriving Burst: Can be sent immediatly Multimedia and QoS

The (σ,ρ) Model Parameters: (σ,ρ) Model: The average rate is ρ. The maximum burst is σ. (σ,ρ) Model: Over an interval of length t, the number of packets/bits that are admitted is less than or equal to (σ+ρt). Composing flows (σ1,ρ1) & (σ2,ρ2) Resulting flow (σ1+ σ2,ρ1+ρ2) Token Bucket Algorithm: σ = MaxTokens & ρ=r/time unit Leaky Bucket Algorithm σ = 0 & ρ=1/r Multimedia and QoS

Using (σ,ρ) Model for admission Control What does a router need to support streams: (σ1,ρ1) … (σk,ρk) Buffer size B > Σ σi Rate R > Σ ρi Admission Control (at the router) Can support (σk,ρk) if Enough buffers and bandwidth R > Σ ρi and B > Σ σi Multimedia and QoS

Delay Bounds: WFQ Corollary: Recall: workS(i, a,b) # bits transmitted for flow i in time [a,b] by policy A. Theorem (Single link): Assume maximum packet size Lmax Then for any time t: workGPS(i,1,t) - workWFQ(i, 1,t) ≤ Lmax Corollary: For any packet p and link rate R Let Time(p,S) be ints completion time in policy S Then Time(p,WFQ)-Time(p,GPS) ≤ Lmax/R Multimedia and QoS

WFQ and GPS: single link GPS is never ahead of WFQ by more than one packet (in terms of transmitted bits up to time t). Packets in WFQ are not delayed more than one packet relative to GPS: Bits sent: SGPS (f, t) - SWFQ(f, t)  Lmax Lmax: length of longest packet in bit Completion time: DWFQ (f, k) DGPS (f, k)  Lmax / C Multimedia and QoS

WFQ Delay Bound WFQ GPS When WFQ and GPS finish packets at the same order, WFQ will never lag behind GPS. (And may sometimes be ahead of GPS). Multimedia and QoS

WFQ Delay Bound WFQ GPS When a packet arrives too late, it may have to wait for the current packet to finish transmission, hence Lmax/C delay. Error term does not accumulate over time. May accumulate over multiple network hops. Multimedia and QoS

Parekh-Gallager theorem Suppose a given connection is (,) constrained, has maximal packet size L, and passes through K WFQ schedulers, such that in the ith scheduler there is total rate r(i) from which the connection gets g(i). Let g be the minimum over all g(i), and suppose all packets are at most Lmax bits long. Then Multimedia and QoS

P-G theorem: Interpretation Delay of last packet of a burst. Only in first node Delay of last packet of a burst. Only in first node GPS term GPS to WFQ correction store&forward penalty: only in non-first nodes WFQ lag behind GPS: each node store&forward penalty: only in non-first nodes WFQ lag behind GPS: each node Multimedia and QoS

Significance WFQ can provide end-to-end delay bounds So WFQ provides both fairness and performance guarantees Bound holds regardless of cross traffic behavior Can be generalized for networks where schedulers are variants of WFQ, and the link service rate changes over time Multimedia and QoS

Fine Points To get a delay bound, need to pick g the lower the delay bound, the larger g needs to be large g means exclusion of more competitors from link Sources must be leaky-bucket regulated but choosing leaky-bucket parameters is problematic WFQ couples delay and bandwidth allocations low delay requires allocating more bandwidth wastes bandwidth for low-bandwidth low-delay sources Multimedia and QoS

Approaches to QoS Integrated Services Differentiated Services Network wide control Admission Control Absolute guarantees Traffic Shaping Reservations RSVP Differentiated Services Router based control Per hop behavior Resolves contentions Hot spots Relative guarantees Traffic policing At entry to network Multimedia and QoS

IETF Integrated Services architecture for providing QOS guarantees in IP networks for individual application sessions resource reservation: routers maintain state info (a la VC) of allocated resources, QoS req’s admit/deny new call setup requests: Question: can newly arriving flow be admitted with performance guarantees while not violated QoS guarantees made to already admitted flows? Multimedia and QoS

Integrated Services An architecture for providing QOS guarantees in IP networks for individual application sessions relies on resource reservation, and routers need to maintain state info (Virtual Circuit??), maintaining records of allocated resources and responding to new Call setup requests on that basis Multimedia and QoS

Intserv: QoS guarantee scenario Resource reservation call setup, signaling (RSVP) traffic, QoS declaration per-element admission control request/ reply QoS-sensitive scheduling (e.g., WFQ) Multimedia and QoS

Call Admission Routers will admit calls based on: Flow behavior: R-spec and T-spec the current resource allocated at the router to other calls. Multimedia and QoS

Call Admission Arriving session must : declare its QOS requirement R-spec: defines the QOS being requested characterize traffic it will send into network T-spec: defines traffic characteristics signaling protocol: needed to carry R-spec and T-spec to routers (where reservation is required) RSVP Multimedia and QoS

Call Admission Session must first declare its QOS requirement and characterize the traffic it will send through the network R-spec: defines the QOS being requested T-spec: defines the traffic characteristics A signaling protocol is needed to carry the R-spec and T-spec to the routers where reservation is required; RSVP is a leading candidate for such signaling protocol Multimedia and QoS

Intserv QoS: Service models [rfc2211, rfc 2212] Guaranteed service: worst case traffic arrival: token-bucket-policed source simple (mathematically provable) bound on delay [Parekh 1992, Cruz 1988] Controlled load service: "a quality of service closely approximating the QoS that same flow would receive from an unloaded network element." WFQ token rate, r bucket size, b per-flow rate, R D = b/R max arriving traffic Multimedia and QoS

Integrated Services: Classes Guaranteed QOS: this class is provided with firm bounds on queuing delay at a router; envisioned for hard real-time applications that are highly sensitive to end-to-end delay expectation and variance Controlled Load: this class is provided a QOS closely approximating that provided by an unloaded router; envisioned for today’s IP network real-time applications which perform well in an unloaded network Multimedia and QoS

RSVP request (T-Spec) A token bucket specification peak rate, p bucket size, b token rate, r the packet is transmitted onward only if the number of tokens in the bucket is at least as large as the packet peak rate, p p > r maximum packet size, M minimum policed unit, m All packets less than m bytes are considered to be m bytes Reduces the overhead to process each packet Bound the bandwidth overhead of link-level headers Multimedia and QoS

RSVP request (R-spec) An indication of the QoS control service requested Controlled-load service and Guaranteed service For Controlled-load service Simply a Tspec For Guaranteed service A Rate (R) term, the bandwidth required R  r, extra bandwidth will reduce queuing delays A Slack (S) term The difference between the desired delay and the delay that would be achieved if rate R were used With a zero slack term, each router along the path must reserve R bandwidth A nonzero slack term offers the individual routers greater flexibility in making their local reservation Number decreased by routers on the path. Multimedia and QoS

QoS Routing: Multiple constraints A request specifies the desired QoS requirements e.g., BW, Delay, Jitter, packet loss, path reliability etc Three (main) type of constraints: Additive: e.g., delay Multiplicative: loss rate Maximum (or Minimum): e.g., Bandwidth Task Find a (min cost) path which satisfies the constraints if no feasible path found, reject the connection Generally, multiple constraints is HARD problem. Simple case: BW and delay Multimedia and QoS

Constraints: Delay (D) < 25, Available Bandwidth (BW) > 30 Example of QoS Routing D = 24, BW = 55 D = 30, BW = 20 A D = 5, BW = 90 B D = 14, BW = 90 D = 5, BW = 90 D = 5, BW = 90 D = 7, BW = 90 D = 10, BW = 90 D = 5, BW = 90 D = 3, BW = 105 Constraints: Delay (D) < 25, Available Bandwidth (BW) > 30 Multimedia and QoS

IETF Differentiated Services Concerns with Intserv: Scalability: signaling, maintaining per-flow router state difficult with large number of flows Flexible Service Models: Intserv has only two classes. Also want “qualitative” service classes “behaves like a wire” relative service distinction: Platinum, Gold, Silver Diffserv approach: simple functions in network core, relatively complex functions at edge routers (or hosts) Do’t define define service classes, provide functional components to build service classes Multimedia and QoS

Differentiated Services Intended to address the following difficulties with Intserv and RSVP; Scalability: maintaining states by routers in high speed networks is difficult sue to the very large number of flows Flexible Service Models: Intserv has only two classes, want to provide more qualitative service classes; want to provide ‘relative’ service distinction (Platinum, Gold, Silver, …) Simpler signaling: (than RSVP) many applications and users may only want to specify a more qualitative notion of service Multimedia and QoS

Differentiated Services Approach: Only simple functions in the core, and relatively complex functions at edge routers (or hosts) Do not define service classes, instead provides functional components with which service classes can be built Multimedia and QoS

Diffserv Architecture Edge router: - per-flow traffic management - marks packets as in-profile and out-profile r b marking scheduling . Core router: - per class traffic management - buffering and scheduling based on marking at edge - preference given to in-profile packets - Assured Forwarding Multimedia and QoS

Edge-router Packet Marking profile: pre-negotiated rate A, bucket size B packet marking at edge based on per-flow profile Rate A B User packets Possible usage of marking: class-based marking: packets of different classes marked differently intra-class marking: conforming portion of flow marked differently than non-conforming one Multimedia and QoS

Edge Functions at DiffServ (DS) At DS-capable host or first DS-capable router Classification: edge node marks packets according to classification rules to be specified (manually by admin, or by some TBD protocol) Traffic Conditioning: edge node may delay and then forward or may discard Multimedia and QoS

No state info to be maintained by routers! Core Functions Forwarding: according to “Per-Hop-Behavior” or PHB specified for the particular packet class; such PHB is strictly based on class marking (no other header fields can be used to influence PHB) BIG ADVANTAGE: No state info to be maintained by routers! Multimedia and QoS

Classification and Conditioning Packet is marked in the Type of Service (TOS) in IPv4, and Traffic Class in IPv6 6 bits used for Differentiated Service Code Point (DSCP) and determine PHB that the packet will receive 2 bits are currently unused Multimedia and QoS

Classification and Conditioning It may be desirable to limit traffic injection rate of some class; user declares traffic profile (eg, rate and burst size); traffic is metered and shaped if non-conforming Multimedia and QoS

Forwarding (PHB) PHB result in a different observable (measurable) forwarding performance behavior PHB does not specify what mechanisms to use to ensure required PHB performance behavior Examples: Class A gets x% of outgoing link bandwidth over time intervals of a specified length Class A packets leave first before packets from class B Multimedia and QoS

Forwarding (PHB) PHBs under consideration: Expedited Forwarding: departure rate of packets from a class equals or exceeds a specified rate (logical link with a minimum guaranteed rate) Assured Forwarding: 4 classes, each guaranteed a minimum amount of bandwidth and buffering; each with three drop preference partitions Multimedia and QoS

Differentiated Services Issues AF and EF are not even in a standard track yet… research ongoing “Virtual Leased lines” and “Olympic” services are being discussed Impact of crossing multiple ASs and routers that are not DS-capable Multimedia and QoS

DiffServ Routers DiffServ Edge Router DiffServ Core Router Classifier Marker Meter Policer DiffServ Core Router PHB Select PHB PHB Local conditions PHB PHB DiffServ edge router utilises these functions in order to perform its task: - Classification (based on for example application, user or load) - Marking (of the DiffServ packets) - Metering (for policing or marking purposes) - Policing (handling of non-conformant traffic) DiffServ core router will treat an IP packet based on 1) DS codepoint 2) Local conditions DS codepoint is actually an index to a table that contains so called Per Hop Behaviors (PHB). Per Hop Behavior is the set of rules how the packet (or actually the aggregate flow that the packet belongs to) is treated. The local conditions can be, for example, the occupancy level(s) of the buffer(s) of the router. Based on these two pieces of information, the edge router treats the packet. For example, the packet may be discarded or accepted for buffering. Extract DSCP Packet treatment Multimedia and QoS

IntServ vs. DiffServ DSCP IP IP IntServ network DiffServ network This figure illustrates the basic principles of Integrated Services and Differentiated Services methods. With Integrated Services -method the network creates "bit pipes" through the IP network. If there is congestion, the user does not get such a bit pipe. With Differentiated Services method the idea is to equip the IP packet with some priorities. Effectively, these provide IP packets with different capabilities to "fight" their way through the congestion points of the network. If there is congestion, the packets with poor priorities will be discarded first. However, the user may always get at least something through. "Call blocking" approach "Prioritization" approach Multimedia and QoS

Comparison of Intserv & Diffserv Architectures Multimedia and QoS

Comparison of Intserv & Diffserv Architectures Multimedia and QoS