SlideShare a Scribd company logo
1 of 26
Congestion Control and Quality of Service
The main focus of congestion control and quality of service is data traffic.
In congestion control we try to avoid traffic congestion. In quality of
service, we try to create an appropriate environment for the traffic
Traffic Descriptors
• Traffic descriptor are qualitative values that represent a data flow
• Average data rate = amount of data/time
• Peak data rate: the max. data rate of the traffic
• Max. burst size: the max. length of time the traffic is generated at the peak rate
• Effective bandwidth: bandwidth that the network needs to allocate for traffic flow
Traffic Profiles
• Constant-bit-rate (CBR)
• Variable-bit-rate (VBR)
• Bursty
Congestion
• Congestion: the load on the network is greater than the capacity of the network
• Congestion control: the mechanisms to control the congestion and keep the load
below the capacity
• Congestion occurs because routers and switches have queues- buffers that hold the
packets before and after processing
• The rate of packet arrival > packet processing time  input queue longer
• The packet departure time < packet processing time  output queue longer
Congestion Control
• Congestion control refers to techniques and mechanisms that can either prevent
congestion, before it happens, or remove congestion, after it has happened.
• Two broad categories: open-loop congestion control (prevention) and closed-loop
congestion control (removal).
Open Loop Control: Prevention
• Retransmission policy and timers must to be designed to optimize efficiency and at
the same time prevent congestion
• Window policy: Selective Repeat is better than Go-back-N (In the Go-Back-N
window, when the timer for a packet times out, several packets may be resent,
although some may have arrived safe and sound at the receiver. This duplication
may make the congestion worse. The Selective Repeat window, on the other hand,
tries to send the specific packets that have been lost or corrupted.)
• Acknowledgement policy: does not ACK every packet
• Discard policy: prevent congestion and at the same time may not harm the integrity
of the transmission
• Admission policy: Switch first check the resource requirement of a flow before
admitting it to the network
Closed-Loop Congestion Control: Removal
• Back pressure: inform the previous upstream router to reduce the rate of outgoing
packets if congested
• Choke point: a packet sent by a router to the source to inform it of congestion. In
choke packet method, congested node sends a warning directly to the source station
i.e. the intermediate nodes through which the packet has traveled are not warned.
• Implicit signaling: In implicit signaling, there is no communication between the
congested node or nodes and the source. The source guesses that there is congestion
somewhere in the network when it does not receive any acknowledgment.
Therefore the delay in receiving an acknowledgment is interpreted as congestion in
the network. On sensing this congestion, the source slows down.
• Explicit signaling: The node that experiences congestion can explicitly send a
signal to the source or destination. The explicit signaling method, however, is
different from the choke packet method. In the choke packet method, a separate
packet is used for this purpose; in the explicit signaling method, the signal is
included in the packets that carry data
Quality of Service (QoS)
• Flow Characteristics:
– Reliability
– Delay
– Jitter: the variation in delay for packets belonging to the same flow
– Bandwidth
• Flow Classes:
– Based on the characteristics, we can classify flows into groups, with each group
having similar levels of characteristics
QoS Techniques
• Scheduling: FIFO queuing, priority queuing, and weighted fair queuing
• Traffic shaping: Leaky bucket, token bucket
• Resource reservation
• Admission control: accept or reject a flow based on predefined parameters called
flow specification
• FIFO queuing
Priority Queuing
• Packets are first assigned to priority class. Each priority class has its own queue
• The packets in the highest-priority queue are processed first
Weighted Fair Queuing
• The queues are weighted based on the priority of the queues
• The system processes packets in each queue in a round-robin fashion with the
number of packets selected from each queue based on the weight
Traffic Shaping: Leaky Bucket
• Traffic shaping: to control the amount and the rate of the traffic sent to network
• Two techniques: leaky bucket and token bucket
• A leaky bucket algorithm shapes bursty traffic into fixed-rate traffic by averaging
the data rate. It may drop the packets if the bucket is full.
Token Bucket
• The token bucket allows bursty traffic at a regulated maximum rate.
the token bucket algorithm allows idle hosts to accumulate credit for the future in
the form of tokens. For each tick of the clock, the system sends n tokens to the
bucket. The system removes one token for every cell (or byte) of data sent
Resource Reservation
•A flow of data needs resources such as a buffer, bandwidth, CPU time, and so
on. The quality of service is improved if these resources are reserved
beforehand
Admission Control
•Admission control refers to the mechanism used by a router, or a switch, to
accept or reject a flow based on predefined parameters called flow
specifications. Before a router accepts a flow for processing, it checks the flow
specifications to see if its capacity (in terms of bandwidth, buffer size, CPU
speed, etc.) and its previous commitments to other flows can handle the new
flow
Integrated Services (IntServ)
• Integrated Services is a flow-based QoS model designed for IP
• Signaling: Resource Reservation Protocol (RSVP)
• Flow specification:
– Rspec (resource specification) defines the resource that the flow needs to
reserve
– Tspec (traffic specification) defines the traffic characterization of the flow
• Admission: a router decides to admit or deny the flow specification
• Service classes: guaranteed service and controlled-load service
– Guaranteed service class: guaranteed minimum end-to-end delay
– Controlled-load service class: accept some delays, but is sensitive to an
overloaded network and to the danger of losing packets
RSVP
• In IntServ, the resource reservation is for a flow, a kind of virtual circuit
network out of the IP
• RSVP is a signaling protocol to help IP create a flow and consequently make a
resource reservation
• RSVP is a signaling system designed for multicasting
• Receiver-based reservation
• RSVP message: Path and Resv
• Path message: from sender to all receivers
Resv Messages
• Make a resource reservation from each receiver to sender
Reservation Merging
Reservation Styles
• Wild card filter style: a single reservation for all senders
• Fixed filter style: a distinct reservation for each flow
• Shared explicit style: a single reservation which can be shared by a set of flow
• Soft state instead of hard state (such as ATM, Frame Relay)
• Reservation information to be refreshed periodically
• IntServ problem: scalability and service-type limitation
Differentiated Service (Diffserv)
• Differentiated Services is a class-based QoS model designed for IP.
• Diffserv handles the shortcomings of IntServ
• Main differences between Diffserv and Intserv
– Main processing is moved from the core to the edge (scalability)
– The per-flow is changed to per-class flow service (service-type limitation)
• DS field
– DSCP (DS Code Point) is a 6-bit field that define per-hop behavior (PHB)
– CU (currently unused) is 2-bit
Per-hop Behavior (PHB)
• Diffserv defines three PHBs
• DE PHB (default PHB) is the same as best-effort delivery
• EF PHB (expedited forwarding PHB) provides the following services:
– Low loss, low latency, ensured bandwidth
• AF PHB (assured forwarding PHB) delivers the packet with a high assurance as
long as the class traffic does not exceed the traffic profile of the node
Traffic Conditioner
• Meter checks to see if the incoming flow matches the negotiated traffic profile
• Marker can re-mark a packet with best-effort delivery or down-mark a packet
based on the meter information; no up-mark
• Shaper use the meter information to reshape the traffic if not compliant with the
negotiated profile.
• Dropper, like a shaper with no buffer, discard packets if the flow severely violates
the profile
QoS in Switched Network
• QoS in Frame Relay
– Four different attributes are used to control traffic
– Access rate, committed burst size (Bc), committed information rate
(CIR), and excess burst size (Be)
– Committed Information Rate (CIR) = Bc/T bps
User Rate in Relation to Bc and Bc + Be
• How can a user send bursty data ?
QoS in ATM
• QoS in ATM is based on the class, user related attributes, and network-related
attributes
• Classes: CBR, VBR, ABR, and UBR
– CBR (constant): real-time audio or video over dedicated T-line
– VBR (variable): compressed audio or video, VBR-RT, VBR-NRT
– ABR (available): bursty application
– UBR (unspecified): best-effort delivery
QoS in ATM
• User-related attributes:
– SCR (sustained cell rate): average cell rate over a long time interval
– PCR (peak cell rate)
– MCR (minimum cell rate)
– CVDT (cell variation delay tolerance)
• Network-related attributes:
– CLR (cell loss ratio)
– CTD (cell transfer delay)
– CDV (cell delay variation)
– CER (cell error ratio)

More Related Content

What's hot

Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerFaizan Shaikh
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Sudhanshu Srivastava
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layerNaiyan Noor
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Congestion control
Congestion controlCongestion control
Congestion controlAman Jaiswal
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer NetworksIIIT Manipur
 
Asynchronous transfer mode
Asynchronous transfer modeAsynchronous transfer mode
Asynchronous transfer modeaniston0108
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issuesقصي نسور
 
Timing and control
Timing and controlTiming and control
Timing and controlchauhankapil
 

What's hot (20)

Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Data link layer
Data link layer Data link layer
Data link layer
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Computer network layers
Computer network layersComputer network layers
Computer network layers
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Asynchronous transfer mode
Asynchronous transfer modeAsynchronous transfer mode
Asynchronous transfer mode
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Dynamic Itemset Counting
Dynamic Itemset CountingDynamic Itemset Counting
Dynamic Itemset Counting
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Timing and control
Timing and controlTiming and control
Timing and control
 
aloha
alohaaloha
aloha
 

Similar to Congestion control and quality of service

Similar to Congestion control and quality of service (20)

qualityofserviceabhishek-131013165513-phpapp01.pptx
qualityofserviceabhishek-131013165513-phpapp01.pptxqualityofserviceabhishek-131013165513-phpapp01.pptx
qualityofserviceabhishek-131013165513-phpapp01.pptx
 
SGSGS
SGSGSSGSGS
SGSGS
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
Qo s rsvp......
Qo s rsvp......Qo s rsvp......
Qo s rsvp......
 
QoSintro.PPT
QoSintro.PPTQoSintro.PPT
QoSintro.PPT
 
qos-f05.ppt
qos-f05.pptqos-f05.ppt
qos-f05.ppt
 
qos-f05 (2).ppt
qos-f05 (2).pptqos-f05 (2).ppt
qos-f05 (2).ppt
 
qos-f05 (3).ppt
qos-f05 (3).pptqos-f05 (3).ppt
qos-f05 (3).ppt
 
qos-f05.pdf
qos-f05.pdfqos-f05.pdf
qos-f05.pdf
 
Chap24
Chap24Chap24
Chap24
 
Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
QOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptxQOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptx
 
CN Module 5 part 2 2022.pdf
CN Module 5 part 2 2022.pdfCN Module 5 part 2 2022.pdf
CN Module 5 part 2 2022.pdf
 
Qo s routing
Qo s  routingQo s  routing
Qo s routing
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Lecture05
Lecture05Lecture05
Lecture05
 
MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKS
 

Recently uploaded

Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service GayaGaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service Gayasrsj9000
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknowmakika9823
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查awo24iot
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gapedkojalkojal131
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhisoniya singh
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一ga6c6bdl
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile servicerehmti665
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...ur8mqw8e
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...Pooja Nehwal
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...srsj9000
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service GayaGaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
 
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
 
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
如何办理(Adelaide毕业证)阿德莱德大学毕业证成绩单Adelaide学历认证真实可查
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile service
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
 

Congestion control and quality of service

  • 1. Congestion Control and Quality of Service
  • 2. The main focus of congestion control and quality of service is data traffic. In congestion control we try to avoid traffic congestion. In quality of service, we try to create an appropriate environment for the traffic
  • 3. Traffic Descriptors • Traffic descriptor are qualitative values that represent a data flow • Average data rate = amount of data/time • Peak data rate: the max. data rate of the traffic • Max. burst size: the max. length of time the traffic is generated at the peak rate • Effective bandwidth: bandwidth that the network needs to allocate for traffic flow
  • 4. Traffic Profiles • Constant-bit-rate (CBR) • Variable-bit-rate (VBR) • Bursty
  • 5. Congestion • Congestion: the load on the network is greater than the capacity of the network • Congestion control: the mechanisms to control the congestion and keep the load below the capacity • Congestion occurs because routers and switches have queues- buffers that hold the packets before and after processing • The rate of packet arrival > packet processing time  input queue longer • The packet departure time < packet processing time  output queue longer
  • 6. Congestion Control • Congestion control refers to techniques and mechanisms that can either prevent congestion, before it happens, or remove congestion, after it has happened. • Two broad categories: open-loop congestion control (prevention) and closed-loop congestion control (removal).
  • 7. Open Loop Control: Prevention • Retransmission policy and timers must to be designed to optimize efficiency and at the same time prevent congestion • Window policy: Selective Repeat is better than Go-back-N (In the Go-Back-N window, when the timer for a packet times out, several packets may be resent, although some may have arrived safe and sound at the receiver. This duplication may make the congestion worse. The Selective Repeat window, on the other hand, tries to send the specific packets that have been lost or corrupted.) • Acknowledgement policy: does not ACK every packet • Discard policy: prevent congestion and at the same time may not harm the integrity of the transmission • Admission policy: Switch first check the resource requirement of a flow before admitting it to the network
  • 8. Closed-Loop Congestion Control: Removal • Back pressure: inform the previous upstream router to reduce the rate of outgoing packets if congested • Choke point: a packet sent by a router to the source to inform it of congestion. In choke packet method, congested node sends a warning directly to the source station i.e. the intermediate nodes through which the packet has traveled are not warned. • Implicit signaling: In implicit signaling, there is no communication between the congested node or nodes and the source. The source guesses that there is congestion somewhere in the network when it does not receive any acknowledgment. Therefore the delay in receiving an acknowledgment is interpreted as congestion in the network. On sensing this congestion, the source slows down. • Explicit signaling: The node that experiences congestion can explicitly send a signal to the source or destination. The explicit signaling method, however, is different from the choke packet method. In the choke packet method, a separate packet is used for this purpose; in the explicit signaling method, the signal is included in the packets that carry data
  • 9. Quality of Service (QoS) • Flow Characteristics: – Reliability – Delay – Jitter: the variation in delay for packets belonging to the same flow – Bandwidth • Flow Classes: – Based on the characteristics, we can classify flows into groups, with each group having similar levels of characteristics
  • 10. QoS Techniques • Scheduling: FIFO queuing, priority queuing, and weighted fair queuing • Traffic shaping: Leaky bucket, token bucket • Resource reservation • Admission control: accept or reject a flow based on predefined parameters called flow specification • FIFO queuing
  • 11. Priority Queuing • Packets are first assigned to priority class. Each priority class has its own queue • The packets in the highest-priority queue are processed first
  • 12. Weighted Fair Queuing • The queues are weighted based on the priority of the queues • The system processes packets in each queue in a round-robin fashion with the number of packets selected from each queue based on the weight
  • 13. Traffic Shaping: Leaky Bucket • Traffic shaping: to control the amount and the rate of the traffic sent to network • Two techniques: leaky bucket and token bucket • A leaky bucket algorithm shapes bursty traffic into fixed-rate traffic by averaging the data rate. It may drop the packets if the bucket is full.
  • 14. Token Bucket • The token bucket allows bursty traffic at a regulated maximum rate. the token bucket algorithm allows idle hosts to accumulate credit for the future in the form of tokens. For each tick of the clock, the system sends n tokens to the bucket. The system removes one token for every cell (or byte) of data sent
  • 15. Resource Reservation •A flow of data needs resources such as a buffer, bandwidth, CPU time, and so on. The quality of service is improved if these resources are reserved beforehand Admission Control •Admission control refers to the mechanism used by a router, or a switch, to accept or reject a flow based on predefined parameters called flow specifications. Before a router accepts a flow for processing, it checks the flow specifications to see if its capacity (in terms of bandwidth, buffer size, CPU speed, etc.) and its previous commitments to other flows can handle the new flow
  • 16. Integrated Services (IntServ) • Integrated Services is a flow-based QoS model designed for IP • Signaling: Resource Reservation Protocol (RSVP) • Flow specification: – Rspec (resource specification) defines the resource that the flow needs to reserve – Tspec (traffic specification) defines the traffic characterization of the flow • Admission: a router decides to admit or deny the flow specification • Service classes: guaranteed service and controlled-load service – Guaranteed service class: guaranteed minimum end-to-end delay – Controlled-load service class: accept some delays, but is sensitive to an overloaded network and to the danger of losing packets
  • 17. RSVP • In IntServ, the resource reservation is for a flow, a kind of virtual circuit network out of the IP • RSVP is a signaling protocol to help IP create a flow and consequently make a resource reservation • RSVP is a signaling system designed for multicasting • Receiver-based reservation • RSVP message: Path and Resv • Path message: from sender to all receivers
  • 18. Resv Messages • Make a resource reservation from each receiver to sender Reservation Merging
  • 19. Reservation Styles • Wild card filter style: a single reservation for all senders • Fixed filter style: a distinct reservation for each flow • Shared explicit style: a single reservation which can be shared by a set of flow • Soft state instead of hard state (such as ATM, Frame Relay) • Reservation information to be refreshed periodically • IntServ problem: scalability and service-type limitation
  • 20. Differentiated Service (Diffserv) • Differentiated Services is a class-based QoS model designed for IP. • Diffserv handles the shortcomings of IntServ • Main differences between Diffserv and Intserv – Main processing is moved from the core to the edge (scalability) – The per-flow is changed to per-class flow service (service-type limitation) • DS field – DSCP (DS Code Point) is a 6-bit field that define per-hop behavior (PHB) – CU (currently unused) is 2-bit
  • 21. Per-hop Behavior (PHB) • Diffserv defines three PHBs • DE PHB (default PHB) is the same as best-effort delivery • EF PHB (expedited forwarding PHB) provides the following services: – Low loss, low latency, ensured bandwidth • AF PHB (assured forwarding PHB) delivers the packet with a high assurance as long as the class traffic does not exceed the traffic profile of the node
  • 22. Traffic Conditioner • Meter checks to see if the incoming flow matches the negotiated traffic profile • Marker can re-mark a packet with best-effort delivery or down-mark a packet based on the meter information; no up-mark • Shaper use the meter information to reshape the traffic if not compliant with the negotiated profile. • Dropper, like a shaper with no buffer, discard packets if the flow severely violates the profile
  • 23. QoS in Switched Network • QoS in Frame Relay – Four different attributes are used to control traffic – Access rate, committed burst size (Bc), committed information rate (CIR), and excess burst size (Be) – Committed Information Rate (CIR) = Bc/T bps
  • 24. User Rate in Relation to Bc and Bc + Be • How can a user send bursty data ?
  • 25. QoS in ATM • QoS in ATM is based on the class, user related attributes, and network-related attributes • Classes: CBR, VBR, ABR, and UBR – CBR (constant): real-time audio or video over dedicated T-line – VBR (variable): compressed audio or video, VBR-RT, VBR-NRT – ABR (available): bursty application – UBR (unspecified): best-effort delivery
  • 26. QoS in ATM • User-related attributes: – SCR (sustained cell rate): average cell rate over a long time interval – PCR (peak cell rate) – MCR (minimum cell rate) – CVDT (cell variation delay tolerance) • Network-related attributes: – CLR (cell loss ratio) – CTD (cell transfer delay) – CDV (cell delay variation) – CER (cell error ratio)