SlideShare a Scribd company logo
Chapter 17 Integrated and Differentiated Services
1
ChapterChapter 1717
Integrated and Differentiated
Services
Chapter 17 Integrated and Differentiated Services
2
IntroductionIntroduction
 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
Chapter 17 Integrated and Differentiated Services
3
Integrated ServicesIntegrated Services
Architecture (ISA)Architecture (ISA)
IPv4 header fields for precedence and type
of service usually ignored
ATM only network designed to support
TCP, UDP and real-time traffic
– May need new installation
Need to support Quality of Service (QoS)
within TCP/IP
– Add functionality to routers
– Means of requesting QoS
Chapter 17 Integrated and Differentiated Services
4
Internet Traffic – ElasticInternet Traffic – Elastic Can adjust to changes in delay and throughput
 E.g. common TCP and UDP application
– E-Mail – 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
Chapter 17 Integrated and Differentiated Services
5
Internet Traffic – InelasticInternet Traffic – Inelastic
 Does not easily adapt to changes in delay and
throughput
– Real time traffic
 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
Chapter 17 Integrated and Differentiated Services
6
Inelastic Traffic ProblemsInelastic 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
Chapter 17 Integrated and Differentiated Services
7
ISA ApproachISA 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
Enahnced by ISA
Chapter 17 Integrated and Differentiated Services
8
FlowFlow
 IP packet can be associated with a flow
– Distinguishable stream of related IP packets
– From single user activity
– Requiring 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 isnot necessarily
equivalent to ISA flow
Chapter 17 Integrated and Differentiated Services
9
ISA FunctionsISA Functions
 Admission control
– For QoS, reservation required for new flow
– RSVP used
 Routing algorithm
– Base decision on QoS parameters
 Queuing discipline
– Take account of different flow requirements
 Discard policy
– Manage congestion
– Meet QoS
Chapter 17 Integrated and Differentiated Services
10
ISA Implementation in RouterISA Implementation in Router
 Background
Functions
 Forwarding
functions
Chapter 17 Integrated and Differentiated Services
11
ISA Components – BackgroundISA Components – Background
FunctionsFunctions
Reservation Protocol
– RSVP
Admission control
Management agent
– Can use agent to modify traffic control
database and direct admission control
Routing protocol
Chapter 17 Integrated and Differentiated Services
12
ISA Components – ForwardingISA 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
Chapter 17 Integrated and Differentiated Services
13
ISA ServicesISA Services
Traffic specification (TSpec) defined as
service for flow
On two levels
– General categories of service
 Guaranteed
 Controlled load
 Best effort (default)
– Particular flow within category
TSpec is part of contract
Chapter 17 Integrated and Differentiated Services
14
Token BucketToken Bucket
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
Chapter 17 Integrated and Differentiated Services
15
Token Bucket DiagramToken Bucket Diagram
Chapter 17 Integrated and Differentiated Services
16
ISA Services –ISA Services –
Guaranteed ServiceGuaranteed Service
 Assured capacity level or data rate
 Specific upper bound on queuing delay through
network
– Must be added to propagation delay or latency to get
total delay
– Set high to accommodate rare long queue delays
 No queuing losses
– I.e. no buffer overflow
 E.g. Real time play back of incoming signal can
use delay buffer for incoming signal but will not
tolerate packet loss
Chapter 17 Integrated and Differentiated Services
17
ISA Services –ISA Services –
Controlled LoadControlled Load
 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
 Propagation plus router processing with no queuing delay
 Very high percentage delivered
– Almost no queuing loss
 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
Chapter 17 Integrated and Differentiated Services
18
Queuing DisciplineQueuing Discipline
 Traditionally first in first out (FIFO) or first
come first served (FCFS) at each router port
 No special treatment to high priority packets
(flows)
 Small packets held up by large packets ahead of
them in queue
– Larger average delay for smaller packets
– Flows of larger packets get better service
 Greedy TCP connection can crowd out altruistic
connections
– If one connection does not back off, others may back
off more
Chapter 17 Integrated and Differentiated Services
19
Fair Queuing (FQ)Fair Queuing (FQ)
 Multiple queues for each port
– One for each source or flow
– Queues services round robin
– Each busy queue (flow) gets exactly one packet per
cycle
– Load balancing among flows
– No advantage to being greedy
 Your queue gets longer, increasing your delay
– Short packets penalized as each queue sends one
packet per cycle
Chapter 17 Integrated and Differentiated Services
20
FIFO and FQFIFO and FQ
Chapter 17 Integrated and Differentiated Services
21
Processor SharingProcessor Sharing
Multiple queues as in FQ
Send one bit from each queue per round
– Longer packets no longer get an advantage
Can work out virtual (number of cycles)
start and finish time for a given packet
However, we wish to send packets, not bits
Chapter 17 Integrated and Differentiated Services
22
Bit-Round Fair QueuingBit-Round Fair Queuing
(BRFQ)(BRFQ)
Compute virtual start and finish time as
before
When a packet finished, the next packet
sent is the one with the earliest virtual
finish time
Good approximation to performance of PS
– Throughput and delay converge as time
increases
Chapter 17 Integrated and Differentiated Services
23
ExamplesExamples
of PS andof PS and
BRFQBRFQ
Chapter 17 Integrated and Differentiated Services
24
ComparisonComparison
of FIFO, FQof FIFO, FQ
and BRFQand BRFQ
Chapter 17 Integrated and Differentiated Services
25
Generalized Processor SharingGeneralized Processor Sharing
(GPS)(GPS)
 BRFQ can not provide different capacities to
different flows
 Enhancement called Weighted fair queue (WFQ)
 From PS, allocate weighting to each flow that
determines how many bots are sent during each
round
– If weighted 5, then 5 bits are sent per round
 Gives means of responding to different service
requests
 Guarantees that delays do not exceed bounds
Chapter 17 Integrated and Differentiated Services
26
Weighted Fair QueueWeighted Fair Queue
Emulates bit by bit GPS
Same strategy as BRFQ
Chapter 17 Integrated and Differentiated Services
27
FIFO vFIFO v
WFQWFQ
Chapter 17 Integrated and Differentiated Services
28
Proactive Packet DiscardProactive Packet Discard
Congestion management by proactive
packet discard
– Before buffer full
– Used on single FIFO queue or multiple queues
for elastic traffic
– E.g. Random Early Detection (RED)
Chapter 17 Integrated and Differentiated Services
29
Random Early Detection (RED)Random Early Detection (RED)
MotivationMotivation
 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 lost
 Many TCP connections enter slow start
 Traffic drops so network under utilized
 Connections leave slow start at same time causing burst
 Bigger buffers do not help
 Try to anticipate onset of congestion and tell one
connection to slow down
Chapter 17 Integrated and Differentiated Services
30
RED Design GoalsRED Design Goals
Congestion avoidance
Global synchronization avoidance
– Current systems inform connections to back
off implicitly by dropping packets
Avoidance of bias to bursty traffic
– Discard arriving packets will do this
Bound on average queue length
– Hence control on average delay
Chapter 17 Integrated and Differentiated Services
31
RED Algorithm – OverviewRED Algorithm – Overview
Calculate average queue size avg
if avg < THmin
queue packet
else if THmin ≤ avg < Thmax
calculate probability Pa
with probability Pa
discard packet
else with probability 1-Pa
queue packet
else if avg ≥ THmax
discard packet
Chapter 17 Integrated and Differentiated Services
32
RED BufferRED Buffer
Chapter 17 Integrated and Differentiated Services
33
RED Algorithm DetailRED Algorithm Detail
Chapter 17 Integrated and Differentiated Services
34
Differentiated Services (DS)Differentiated Services (DS)
 ISA and RSVP complex to deploy
 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
– Support range of network services
 Differentiated on basis of performance
Chapter 17 Integrated and Differentiated Services
35
Characteristics of DSCharacteristics 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 of
DS
– 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
Chapter 17 Integrated and Differentiated Services
36
DS TerminologyDS Terminology
Chapter 17 Integrated and Differentiated Services
37
ServicesServices
 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
– Customer may be user organization or other DS domain
– Packet class marked in DS field
 Service provider configures forwarding policies routers
– Ongoing measure of performance provided for each class
 DS domain expected to provide agreed service internally
 If destination in another domain, DS domain attempts to
forward packets through other domains
– Appropriate service level requested from each domain
Chapter 17 Integrated and Differentiated Services
38
SLA ParametersSLA 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
Chapter 17 Integrated and Differentiated Services
39
Example ServicesExample 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
Chapter 17 Integrated and Differentiated Services
40
DS Field v IPv4 Type of ServiceDS Field v IPv4 Type of Service
Chapter 17 Integrated and Differentiated Services
41
DS Field DetailDS Field Detail
 Leftmost 6 bits are DS codepoint
– 64 different classes available
– 3 pools
 xxxxx0 : reserved for standards
– 000000 : 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
Chapter 17 Integrated and Differentiated Services
42
Configuration DiagramConfiguration Diagram
Chapter 17 Integrated and Differentiated Services
43
Configuration – Interior RoutersConfiguration – 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 gives preferential treatment depending on
codepoint
 Per Hop behaviour (PHB)
 Must be available to all routers
 Typically the only part implemented in interior routers
– Packet dropping rule dictated which to drop when
buffer saturated
Chapter 17 Integrated and Differentiated Services
44
Configuration – BoundaryConfiguration – Boundary
RoutersRouters
 Include PHB rules
 Also traffic conditioning to provide desired
service
– Classifier
 Separate packets into classes
– Meter
 Measure traffic for conformance to profile
– Marker
 Policing by remarking codepoints if required
– Shaper
– Dropper
Chapter 17 Integrated and Differentiated Services
45
DS Traffic ConditionerDS Traffic Conditioner
Chapter 17 Integrated and Differentiated Services
46
Per Hop Behaviour –Per Hop Behaviour –
Expedited forwardingExpedited forwarding
 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
Chapter 17 Integrated and Differentiated Services
47
Per Hop Behaviour –Per Hop Behaviour –
Explicit AllocationExplicit Allocation
 Superior to best efforts
 Does not require reservation of resources
 Does not require detailed discrimination among flows
 Users offered choice of number of classes
 Monitored at boundary node
– 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
Chapter 17 Integrated and Differentiated Services
48
PHB - Assured ForwardingPHB - Assured Forwarding
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
Chapter 17 Integrated and Differentiated Services
49
Codepoints for AF PHBCodepoints for AF PHB

More Related Content

What's hot

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Bushra M
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARE
Khushboo Pal
 
Csma
CsmaCsma
Congestion control and quality of service
Congestion control and quality of serviceCongestion control and quality of service
Congestion control and quality of service
JUW Jinnah University for Women
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer networkDisi Dc
 
Congestion control
Congestion controlCongestion control
Congestion control
Aman Jaiswal
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
Acad
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
selvakumar_b1985
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
guesta81d4b
 
Handoff and its type
Handoff and its typeHandoff and its type
Handoff and its type
SHIVANI SONI
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services
HayderThary
 
Congestion control
Congestion controlCongestion control
Congestion control
Nithin Raj
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
Iffat Anjum
 
Application Layer
Application LayerApplication Layer
Application Layer
ushabarad142
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
VijayaLakshmi514
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
Gunasekara Reddy
 

What's hot (20)

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARE
 
Csma
CsmaCsma
Csma
 
Congestion control and quality of service
Congestion control and quality of serviceCongestion control and quality of service
Congestion control and quality of service
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Handoff and its type
Handoff and its typeHandoff and its type
Handoff and its type
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
 
Application Layer
Application LayerApplication Layer
Application Layer
 
Tcp
TcpTcp
Tcp
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
 

Similar to Integrated and Differentiated services Chapter 17

Chapter17.ppt
Chapter17.pptChapter17.ppt
Chapter17.ppt
deepaMS4
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
Kathirvel Ayyaswamy
 
integrated and diffrentiated services
 integrated and diffrentiated services integrated and diffrentiated services
integrated and diffrentiated services
Rishabh Gupta
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18
daniel ayalew
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
Raza_Abidi
 
Pcc efort eng
Pcc efort engPcc efort eng
Pcc efort eng
hasan yeganeh
 
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
PROIDEA
 
ETE405-lec9.ppt
ETE405-lec9.pptETE405-lec9.ppt
ETE405-lec9.pptmashiur
 
ETE405-lec9.pdf
ETE405-lec9.pdfETE405-lec9.pdf
ETE405-lec9.pdfmashiur
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
Sri Safrina
 
UAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time CommunicationsUAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time Communications
Gerardo Pardo-Castellote
 
Presentacion QoS.pptx
Presentacion QoS.pptxPresentacion QoS.pptx
Presentacion QoS.pptx
Daniel Viveros Sepulveda
 
Slides for Week 5 - Lec 1
Slides for Week 5 - Lec 1Slides for Week 5 - Lec 1
Slides for Week 5 - Lec 1webhostingguy
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
Javier H
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
JavierHurtado39
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
Javier H
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
silenceIT Inc.
 
MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)
Krishan Pareek
 

Similar to Integrated and Differentiated services Chapter 17 (20)

Chapter17.ppt
Chapter17.pptChapter17.ppt
Chapter17.ppt
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
integrated and diffrentiated services
 integrated and diffrentiated services integrated and diffrentiated services
integrated and diffrentiated services
 
Qo s 09-integrated and red
Qo s 09-integrated and redQo s 09-integrated and red
Qo s 09-integrated and red
 
Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18Protocol for QoS Support Chapter 18
Protocol for QoS Support Chapter 18
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
 
Pcc efort eng
Pcc efort engPcc efort eng
Pcc efort eng
 
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
 
ETE405-lec9.ppt
ETE405-lec9.pptETE405-lec9.ppt
ETE405-lec9.ppt
 
ETE405-lec9.pdf
ETE405-lec9.pdfETE405-lec9.pdf
ETE405-lec9.pdf
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
 
UAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time CommunicationsUAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time Communications
 
Presentacion QoS.pptx
Presentacion QoS.pptxPresentacion QoS.pptx
Presentacion QoS.pptx
 
Slides for Week 5 - Lec 1
Slides for Week 5 - Lec 1Slides for Week 5 - Lec 1
Slides for Week 5 - Lec 1
 
Research on VOIP
Research on VOIPResearch on VOIP
Research on VOIP
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
 
Presentacion qos-
Presentacion qos-Presentacion qos-
Presentacion qos-
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)
 

More from daniel ayalew

Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
daniel ayalew
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16
daniel ayalew
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15
daniel ayalew
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14
daniel ayalew
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
daniel ayalew
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11
daniel ayalew
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10
daniel ayalew
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06
daniel ayalew
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05
daniel ayalew
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04
daniel ayalew
 
TCP and IP Chapter 03
TCP and IP Chapter 03TCP and IP Chapter 03
TCP and IP Chapter 03
daniel ayalew
 
protocol and the TCP/IP suite Chapter 02
 protocol and the TCP/IP suite Chapter 02 protocol and the TCP/IP suite Chapter 02
protocol and the TCP/IP suite Chapter 02
daniel ayalew
 

More from daniel ayalew (12)

Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
 
Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16Exterior Routing Protocols And Multi casting Chapter 16
Exterior Routing Protocols And Multi casting Chapter 16
 
Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15Interior Routing Protocols Chapter 15
Interior Routing Protocols Chapter 15
 
Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14Overview of Graph Theory and Least-Cost Paths Chapter 14
Overview of Graph Theory and Least-Cost Paths Chapter 14
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
 
Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11Link-Level Flow and Error Control Chapter11
Link-Level Flow and Error Control Chapter11
 
Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10Congestion Control in Data Networks And Internets Chapter 10
Congestion Control in Data Networks And Internets Chapter 10
 
high-Speed LANs Chapter06
high-Speed LANs Chapter06high-Speed LANs Chapter06
high-Speed LANs Chapter06
 
Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05Asynchronous Transfer mode Chapter 05
Asynchronous Transfer mode Chapter 05
 
Frame Relay Chapter 04
Frame Relay Chapter 04Frame Relay Chapter 04
Frame Relay Chapter 04
 
TCP and IP Chapter 03
TCP and IP Chapter 03TCP and IP Chapter 03
TCP and IP Chapter 03
 
protocol and the TCP/IP suite Chapter 02
 protocol and the TCP/IP suite Chapter 02 protocol and the TCP/IP suite Chapter 02
protocol and the TCP/IP suite Chapter 02
 

Recently uploaded

Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 

Recently uploaded (20)

Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 

Integrated and Differentiated services Chapter 17

  • 1. Chapter 17 Integrated and Differentiated Services 1 ChapterChapter 1717 Integrated and Differentiated Services
  • 2. Chapter 17 Integrated and Differentiated Services 2 IntroductionIntroduction  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
  • 3. Chapter 17 Integrated and Differentiated Services 3 Integrated ServicesIntegrated Services Architecture (ISA)Architecture (ISA) IPv4 header fields for precedence and type of service usually ignored ATM only network designed to support TCP, UDP and real-time traffic – May need new installation Need to support Quality of Service (QoS) within TCP/IP – Add functionality to routers – Means of requesting QoS
  • 4. Chapter 17 Integrated and Differentiated Services 4 Internet Traffic – ElasticInternet Traffic – Elastic Can adjust to changes in delay and throughput  E.g. common TCP and UDP application – E-Mail – 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
  • 5. Chapter 17 Integrated and Differentiated Services 5 Internet Traffic – InelasticInternet Traffic – Inelastic  Does not easily adapt to changes in delay and throughput – Real time traffic  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
  • 6. Chapter 17 Integrated and Differentiated Services 6 Inelastic Traffic ProblemsInelastic 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
  • 7. Chapter 17 Integrated and Differentiated Services 7 ISA ApproachISA 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 Enahnced by ISA
  • 8. Chapter 17 Integrated and Differentiated Services 8 FlowFlow  IP packet can be associated with a flow – Distinguishable stream of related IP packets – From single user activity – Requiring 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 isnot necessarily equivalent to ISA flow
  • 9. Chapter 17 Integrated and Differentiated Services 9 ISA FunctionsISA Functions  Admission control – For QoS, reservation required for new flow – RSVP used  Routing algorithm – Base decision on QoS parameters  Queuing discipline – Take account of different flow requirements  Discard policy – Manage congestion – Meet QoS
  • 10. Chapter 17 Integrated and Differentiated Services 10 ISA Implementation in RouterISA Implementation in Router  Background Functions  Forwarding functions
  • 11. Chapter 17 Integrated and Differentiated Services 11 ISA Components – BackgroundISA Components – Background FunctionsFunctions Reservation Protocol – RSVP Admission control Management agent – Can use agent to modify traffic control database and direct admission control Routing protocol
  • 12. Chapter 17 Integrated and Differentiated Services 12 ISA Components – ForwardingISA 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
  • 13. Chapter 17 Integrated and Differentiated Services 13 ISA ServicesISA Services Traffic specification (TSpec) defined as service for flow On two levels – General categories of service  Guaranteed  Controlled load  Best effort (default) – Particular flow within category TSpec is part of contract
  • 14. Chapter 17 Integrated and Differentiated Services 14 Token BucketToken Bucket 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
  • 15. Chapter 17 Integrated and Differentiated Services 15 Token Bucket DiagramToken Bucket Diagram
  • 16. Chapter 17 Integrated and Differentiated Services 16 ISA Services –ISA Services – Guaranteed ServiceGuaranteed Service  Assured capacity level or data rate  Specific upper bound on queuing delay through network – Must be added to propagation delay or latency to get total delay – Set high to accommodate rare long queue delays  No queuing losses – I.e. no buffer overflow  E.g. Real time play back of incoming signal can use delay buffer for incoming signal but will not tolerate packet loss
  • 17. Chapter 17 Integrated and Differentiated Services 17 ISA Services –ISA Services – Controlled LoadControlled Load  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  Propagation plus router processing with no queuing delay  Very high percentage delivered – Almost no queuing loss  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
  • 18. Chapter 17 Integrated and Differentiated Services 18 Queuing DisciplineQueuing Discipline  Traditionally first in first out (FIFO) or first come first served (FCFS) at each router port  No special treatment to high priority packets (flows)  Small packets held up by large packets ahead of them in queue – Larger average delay for smaller packets – Flows of larger packets get better service  Greedy TCP connection can crowd out altruistic connections – If one connection does not back off, others may back off more
  • 19. Chapter 17 Integrated and Differentiated Services 19 Fair Queuing (FQ)Fair Queuing (FQ)  Multiple queues for each port – One for each source or flow – Queues services round robin – Each busy queue (flow) gets exactly one packet per cycle – Load balancing among flows – No advantage to being greedy  Your queue gets longer, increasing your delay – Short packets penalized as each queue sends one packet per cycle
  • 20. Chapter 17 Integrated and Differentiated Services 20 FIFO and FQFIFO and FQ
  • 21. Chapter 17 Integrated and Differentiated Services 21 Processor SharingProcessor Sharing Multiple queues as in FQ Send one bit from each queue per round – Longer packets no longer get an advantage Can work out virtual (number of cycles) start and finish time for a given packet However, we wish to send packets, not bits
  • 22. Chapter 17 Integrated and Differentiated Services 22 Bit-Round Fair QueuingBit-Round Fair Queuing (BRFQ)(BRFQ) Compute virtual start and finish time as before When a packet finished, the next packet sent is the one with the earliest virtual finish time Good approximation to performance of PS – Throughput and delay converge as time increases
  • 23. Chapter 17 Integrated and Differentiated Services 23 ExamplesExamples of PS andof PS and BRFQBRFQ
  • 24. Chapter 17 Integrated and Differentiated Services 24 ComparisonComparison of FIFO, FQof FIFO, FQ and BRFQand BRFQ
  • 25. Chapter 17 Integrated and Differentiated Services 25 Generalized Processor SharingGeneralized Processor Sharing (GPS)(GPS)  BRFQ can not provide different capacities to different flows  Enhancement called Weighted fair queue (WFQ)  From PS, allocate weighting to each flow that determines how many bots are sent during each round – If weighted 5, then 5 bits are sent per round  Gives means of responding to different service requests  Guarantees that delays do not exceed bounds
  • 26. Chapter 17 Integrated and Differentiated Services 26 Weighted Fair QueueWeighted Fair Queue Emulates bit by bit GPS Same strategy as BRFQ
  • 27. Chapter 17 Integrated and Differentiated Services 27 FIFO vFIFO v WFQWFQ
  • 28. Chapter 17 Integrated and Differentiated Services 28 Proactive Packet DiscardProactive Packet Discard Congestion management by proactive packet discard – Before buffer full – Used on single FIFO queue or multiple queues for elastic traffic – E.g. Random Early Detection (RED)
  • 29. Chapter 17 Integrated and Differentiated Services 29 Random Early Detection (RED)Random Early Detection (RED) MotivationMotivation  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 lost  Many TCP connections enter slow start  Traffic drops so network under utilized  Connections leave slow start at same time causing burst  Bigger buffers do not help  Try to anticipate onset of congestion and tell one connection to slow down
  • 30. Chapter 17 Integrated and Differentiated Services 30 RED Design GoalsRED Design Goals Congestion avoidance Global synchronization avoidance – Current systems inform connections to back off implicitly by dropping packets Avoidance of bias to bursty traffic – Discard arriving packets will do this Bound on average queue length – Hence control on average delay
  • 31. Chapter 17 Integrated and Differentiated Services 31 RED Algorithm – OverviewRED Algorithm – Overview Calculate average queue size avg if avg < THmin queue packet else if THmin ≤ avg < Thmax calculate probability Pa with probability Pa discard packet else with probability 1-Pa queue packet else if avg ≥ THmax discard packet
  • 32. Chapter 17 Integrated and Differentiated Services 32 RED BufferRED Buffer
  • 33. Chapter 17 Integrated and Differentiated Services 33 RED Algorithm DetailRED Algorithm Detail
  • 34. Chapter 17 Integrated and Differentiated Services 34 Differentiated Services (DS)Differentiated Services (DS)  ISA and RSVP complex to deploy  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 – Support range of network services  Differentiated on basis of performance
  • 35. Chapter 17 Integrated and Differentiated Services 35 Characteristics of DSCharacteristics 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 of DS – 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
  • 36. Chapter 17 Integrated and Differentiated Services 36 DS TerminologyDS Terminology
  • 37. Chapter 17 Integrated and Differentiated Services 37 ServicesServices  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 – Customer may be user organization or other DS domain – Packet class marked in DS field  Service provider configures forwarding policies routers – Ongoing measure of performance provided for each class  DS domain expected to provide agreed service internally  If destination in another domain, DS domain attempts to forward packets through other domains – Appropriate service level requested from each domain
  • 38. Chapter 17 Integrated and Differentiated Services 38 SLA ParametersSLA 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
  • 39. Chapter 17 Integrated and Differentiated Services 39 Example ServicesExample 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
  • 40. Chapter 17 Integrated and Differentiated Services 40 DS Field v IPv4 Type of ServiceDS Field v IPv4 Type of Service
  • 41. Chapter 17 Integrated and Differentiated Services 41 DS Field DetailDS Field Detail  Leftmost 6 bits are DS codepoint – 64 different classes available – 3 pools  xxxxx0 : reserved for standards – 000000 : 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
  • 42. Chapter 17 Integrated and Differentiated Services 42 Configuration DiagramConfiguration Diagram
  • 43. Chapter 17 Integrated and Differentiated Services 43 Configuration – Interior RoutersConfiguration – 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 gives preferential treatment depending on codepoint  Per Hop behaviour (PHB)  Must be available to all routers  Typically the only part implemented in interior routers – Packet dropping rule dictated which to drop when buffer saturated
  • 44. Chapter 17 Integrated and Differentiated Services 44 Configuration – BoundaryConfiguration – Boundary RoutersRouters  Include PHB rules  Also traffic conditioning to provide desired service – Classifier  Separate packets into classes – Meter  Measure traffic for conformance to profile – Marker  Policing by remarking codepoints if required – Shaper – Dropper
  • 45. Chapter 17 Integrated and Differentiated Services 45 DS Traffic ConditionerDS Traffic Conditioner
  • 46. Chapter 17 Integrated and Differentiated Services 46 Per Hop Behaviour –Per Hop Behaviour – Expedited forwardingExpedited forwarding  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
  • 47. Chapter 17 Integrated and Differentiated Services 47 Per Hop Behaviour –Per Hop Behaviour – Explicit AllocationExplicit Allocation  Superior to best efforts  Does not require reservation of resources  Does not require detailed discrimination among flows  Users offered choice of number of classes  Monitored at boundary node – 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
  • 48. Chapter 17 Integrated and Differentiated Services 48 PHB - Assured ForwardingPHB - Assured Forwarding 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
  • 49. Chapter 17 Integrated and Differentiated Services 49 Codepoints for AF PHBCodepoints for AF PHB