SlideShare a Scribd company logo
1 of 25
Advanced Computer Networks: Congestion Control 1
Congestion Control
and
Resource Allocation
Lecture material taken from
“Computer Networks A Systems Approach”,
Third Edition,Peterson and Davie,
Morgan Kaufmann, 2003.
Advanced Computer Networks: Congestion Control 2
Definitions
• Flow control:: keep a fast sender from
overrunning a slow receiver.
• Congestion control:: the efforts made by
network nodes to prevent or respond to
overload conditions.
Congestion control is intended to keep a fast
sender from sending data into the network
due to a lack of resources in the network
{e.g., available link capacity, router
buffers}.
Advanced Computer Networks: Congestion Control 3
Congestion Control
• Congestion control is concerned with
the bottleneck routers in a packet
switched network.
• Congestion control can be distinguished
from routing in that sometimes there is
no way to ‘route around’ a congested
router.
Advanced Computer Networks: Congestion Control 4
4
8
6
3
2
1
5 7
Congestion
Figure 7.50b
Leon-Garcia & Widjaja: Communication
Networks
Leon-Garcia & Widjaja: Communication
Networks
Leon-Garcia & Widjaja: Communication
Networks
Copyright ©2000 The McGraw Hill
Companies
Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks
Advanced Computer Networks: Congestion Control 5
Figure 6.1 Congestion in a packet-
switched network
Destination
1.5-Mbps T1 link
Router
Source
2
Source
1
100-Mbps FDDI
10-Mbps Ethernet
P&D slide
Advanced Computer Networks: Congestion Control 6
Flows
• flow :: a sequence of packets sent between a
source/destination pair and following the same
route through the network.
• Connectionless flows within the TCP/IP model::
The connection-oriented abstraction, TCP, is
implemented at the transport layer while IP
provides a connectionless datagram delivery
service.
• With connectionless flows, there exists no state
at the routers.
Advanced Computer Networks: Congestion Control 7
Flows
• Connection-oriented flows (e.g., X.25) –
connection-oriented networks maintain hard
state at the routers.
• Soft state :: represents a middle ground where
soft state is not always explicitly created and
removed by signaling.
• Correct operation of the network does not
depend on the presence of soft state, but soft
state can permit the router to better handle
packets.
Advanced Computer Networks: Congestion Control 8
Figure 6.2 Multiple Flows passing
through a set of routers
Router
Source
2
Source
1
Source
3
Router
Router
Destination
2
Destination
1
P&D slide
Advanced Computer Networks: Congestion Control 9
Service
• Best-effort service :: The hosts are given
no opportunity to ask for guarantees on a
flow’s service.
• QoS (Quality of Service) :: is a service
model that supports some type of
guarantee for a flow’s service.
Advanced Computer Networks: Congestion Control 10
Offered load
Throughput
Controlled
Uncontrolled
Figure 7.51
Leon-Garcia & Widjaja: Communication Networks
Copyright ©2000 The McGraw Hill Companies
Lack of Congestion Control
Advanced Computer Networks: Congestion Control 11
Congestion Control Taxonomy
• Router-Centric
– The internal network routers take responsibility for:
• Which packets to forward
• Which packets to drop or mark
• The nature of congestion notification to the hosts.
– This includes the Queuing Algorithm to manage
the buffers at the router.
• Host-Centric
– The end hosts adjust their behavior based on
observations of network conditions.
– (e.g., TCP Congestion Control Mechanisms)
Advanced Computer Networks: Congestion Control 12
Congestion Control Taxonomy
• Reservation-Based – the hosts attempt
to reserve network capacity when the
flow is established.
– The routers allocate resources to satisfy
reservations or the flow is rejected.
– The reservation can be receiver-based
(e.g., RSVP) or sender-based.
Advanced Computer Networks: Congestion Control 13
Congestion Control Taxonomy
• Feedback-Based - The transmission rate is
adjusted (via window size) according to feedback
received from the sub network.
– Explicit feedback – FECN, BECN, ECN
– Implicit feedback – router packet drops.
• Window-Based - The receiver sends an advertised
window to the sender or a window advertisement
can be used to reserve buffer space in routers.
• Rate-Based – The sender’s rate is controlled by
the receiver indicating the bits per second it can
absorb.
Advanced Computer Networks: Congestion Control 14
Evaluation Criteria
• Evaluation criteria are needed to decide how
well a network effectively and fairly
allocates resources.
• Effective measures – throughput, utilization,
efficiency, delay, queue length, goodput and
power.
throughputα
Power = --------------
delay
Advanced Computer Networks: Congestion Control 15
Fairness
• Jain’s fairness index
For any given set of user throughputs (x1, x2,…xn ), the
fairness index to the set is defined:
f(x1, x2, …, xn) =
• Max-min fairness
Essentially ‘borrow’ from the rich-in-performance to help the poor-
in-performance
For example, CSFQ


n
i
i
x
n
1
2
2
1








n
i
i
x
Advanced Computer Networks: Congestion Control 16
Congestion Control
(at the router)
• Queuing algorithms determine:
– How packets are buffered.
– Which packets get transmitted.
– Which packets get marked or dropped.
– Indirectly determine the delay at the router.
• Queues at outgoing links drop/mark packets
to implicitly signal congestion to TCP sources.
• Remember to separate queuing policy from
queuing mechanism.
Advanced Computer Networks: Congestion Control 17
Congestion Control
(at the router)
• Some of the possible choices in queuing
algorithms:
– FIFO (FCFS) also called Drop-Tail
– Fair Queuing (FQ)
– Weighted Fair Queuing (WFQ)
– Random Early Detection (RED)
– Explicit Congestion Notification (ECN).
Advanced Computer Networks: Congestion Control 18
Drop Tail Router [FIFO]
• First packet to arrive is first to be transmitted.
• FIFO queuing mechanism that drops packets from
the tail of the queue when the queue overflows.
• Introduces global synchronization when packets are
dropped from several connections.
• FIFO is the scheduling mechanism, Drop Tail is the
policy
Advanced Computer Networks: Congestion Control 19
Priority Queuing
• Mark each packet with a priority (e.g., in
TOS (Type of Service field in IP)
• Implement multiple FIFO queues, one
for each priority class.
• Always transmit out of the highest
priority non-empty queue.
• Still no guarantees for a given priority
class.
Advanced Computer Networks: Congestion Control 20
Priority Queuing
• Problem:: high priority packets can
‘starve’ lower priority class packets.
• Priority queuing is a simple case of
“differentiated services” [DiffServ].
• One practical use in the Internet is to
protect routing update packets by giving
them a higher priority and a special
queue at the router.
Advanced Computer Networks: Congestion Control 21
Fair Queuing [FQ]
• The basic problem with FIFO is that it
does not separate packets by flow.
• Another problem with FIFO :: an “ill-
behaved” flow can capture an arbitrarily
large share of the network’s capacity.
Idea:: maintain a separate queue for each
flow, and Fair Queuing (FQ) services
these queues in a round-robin fashion.
Advanced Computer Networks: Congestion Control 22
Figure 6.6 Fair Queuing
Flow 1
Flow 2
Flow 3
Flow 4
Round-robin
service
P&D slide
Advanced Computer Networks: Congestion Control 23
Fair Queuing [FQ]
• “Ill-behaved” flows are segregated into
their own queue.
• There are many implementation details
for FQ, but the main problem is that
packets are of different lengths 
simple FQ is not fair!!
• Ideal FQ:: do bit-by-bit round-robin.
Advanced Computer Networks: Congestion Control 24
Fair Queuing [FQ]
• FQ simulates bit-by-bit behavior by using
timestamps (too many details for here!).
• One can think of FQ as providing a guaranteed
minimum share of bandwidth to each flow.
• FQ is work-conserving in that the server is
never idle as long as there is a customer in the
queue.
* Note: The per-flow state information kept
at the router is expensive (it does not
scale).
Advanced Computer Networks: Congestion Control 25
Weighted Fair Queuing
[WFQ]
WFQ idea:: Assign a weight to each flow (queue) such
that the weight logically specifies the number of bits
to transmit each time the router services that queue.
• This controls the percentage of the link capacity that
the flow will receive.
• The queues can represent “classes” of service and
this becomes DiffServ.
• An issue – how does the router learn of the weight
assignments?
– Manual configuration
– Signaling from sources or receivers.

More Related Content

Similar to Congestion Control Techniques

MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSKathirvel Ayyaswamy
 
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...The Linux Foundation
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- finalTaymoor Nazmy
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Network protocols and vulnerabilities
Network protocols and vulnerabilitiesNetwork protocols and vulnerabilities
Network protocols and vulnerabilitiesG Prachi
 
QOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptxQOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptxLuluj2
 
TLS in manet
TLS in manetTLS in manet
TLS in manetJay Patel
 
performanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfperformanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfABYTHOMAS46
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsQueen's University
 

Similar to Congestion Control Techniques (20)

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
 
10 sdn-vir-6up
10 sdn-vir-6up10 sdn-vir-6up
10 sdn-vir-6up
 
Arrjay
ArrjayArrjay
Arrjay
 
QoSintro.PPT
QoSintro.PPTQoSintro.PPT
QoSintro.PPT
 
MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKS
 
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...
XPDS13: On Paravirualizing TCP - Congestion Control on Xen VMs - Luwei Cheng,...
 
Ccna4 mod5-frame relay
Ccna4 mod5-frame relayCcna4 mod5-frame relay
Ccna4 mod5-frame relay
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- final
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
Network protocols and vulnerabilities
Network protocols and vulnerabilitiesNetwork protocols and vulnerabilities
Network protocols and vulnerabilities
 
QOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptxQOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptx
 
Congestion control and quality of service
Congestion control and quality of serviceCongestion control and quality of service
Congestion control and quality of service
 
Frame relay
Frame relayFrame relay
Frame relay
 
TLS in manet
TLS in manetTLS in manet
TLS in manet
 
performanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfperformanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdf
 
Performance and traffic management for WSNs
Performance and traffic management for WSNsPerformance and traffic management for WSNs
Performance and traffic management for WSNs
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication Systems
 

More from tahaniali27

Chapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxChapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxtahaniali27
 
VirtualPrivateNetwork.ppt
VirtualPrivateNetwork.pptVirtualPrivateNetwork.ppt
VirtualPrivateNetwork.ppttahaniali27
 
lec21-security.ppt
lec21-security.pptlec21-security.ppt
lec21-security.ppttahaniali27
 
مفهوم شبكات الحاسب.ppt
مفهوم شبكات الحاسب.pptمفهوم شبكات الحاسب.ppt
مفهوم شبكات الحاسب.ppttahaniali27
 
antenna2-140117111353-phpapp02.pptx
antenna2-140117111353-phpapp02.pptxantenna2-140117111353-phpapp02.pptx
antenna2-140117111353-phpapp02.pptxtahaniali27
 
criticalfrequency-191012041913.pptx
criticalfrequency-191012041913.pptxcriticalfrequency-191012041913.pptx
criticalfrequency-191012041913.pptxtahaniali27
 
CS553_ST7_Ch04-TransmissionMedia (2).ppt
CS553_ST7_Ch04-TransmissionMedia (2).pptCS553_ST7_Ch04-TransmissionMedia (2).ppt
CS553_ST7_Ch04-TransmissionMedia (2).ppttahaniali27
 
مهم جدا هوائيات.pptx
مهم جدا هوائيات.pptxمهم جدا هوائيات.pptx
مهم جدا هوائيات.pptxtahaniali27
 
lecture6_16.360.ppt
lecture6_16.360.pptlecture6_16.360.ppt
lecture6_16.360.ppttahaniali27
 
Chapter 2 - Types of Computer Networks-converted e.pptx
Chapter 2 - Types of Computer Networks-converted e.pptxChapter 2 - Types of Computer Networks-converted e.pptx
Chapter 2 - Types of Computer Networks-converted e.pptxtahaniali27
 
Chapter3-4 Networks Topologies and Devices.ppt
Chapter3-4 Networks Topologies and Devices.pptChapter3-4 Networks Topologies and Devices.ppt
Chapter3-4 Networks Topologies and Devices.ppttahaniali27
 
Chapter 5 OSI Model.ppt
Chapter 5 OSI  Model.pptChapter 5 OSI  Model.ppt
Chapter 5 OSI Model.ppttahaniali27
 

More from tahaniali27 (20)

network.ppt
network.pptnetwork.ppt
network.ppt
 
signal.ppt
signal.pptsignal.ppt
signal.ppt
 
Chapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxChapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptx
 
TOPIC7.pptx
TOPIC7.pptxTOPIC7.pptx
TOPIC7.pptx
 
VirtualPrivateNetwork.ppt
VirtualPrivateNetwork.pptVirtualPrivateNetwork.ppt
VirtualPrivateNetwork.ppt
 
lec21-security.ppt
lec21-security.pptlec21-security.ppt
lec21-security.ppt
 
nv.ppt
nv.pptnv.ppt
nv.ppt
 
NE #1.pptx
NE #1.pptxNE #1.pptx
NE #1.pptx
 
مفهوم شبكات الحاسب.ppt
مفهوم شبكات الحاسب.pptمفهوم شبكات الحاسب.ppt
مفهوم شبكات الحاسب.ppt
 
physical.ppt
physical.pptphysical.ppt
physical.ppt
 
antenna2-140117111353-phpapp02.pptx
antenna2-140117111353-phpapp02.pptxantenna2-140117111353-phpapp02.pptx
antenna2-140117111353-phpapp02.pptx
 
criticalfrequency-191012041913.pptx
criticalfrequency-191012041913.pptxcriticalfrequency-191012041913.pptx
criticalfrequency-191012041913.pptx
 
CS553_ST7_Ch04-TransmissionMedia (2).ppt
CS553_ST7_Ch04-TransmissionMedia (2).pptCS553_ST7_Ch04-TransmissionMedia (2).ppt
CS553_ST7_Ch04-TransmissionMedia (2).ppt
 
physical.ppt
physical.pptphysical.ppt
physical.ppt
 
مهم جدا هوائيات.pptx
مهم جدا هوائيات.pptxمهم جدا هوائيات.pptx
مهم جدا هوائيات.pptx
 
lecture6_16.360.ppt
lecture6_16.360.pptlecture6_16.360.ppt
lecture6_16.360.ppt
 
UNIT4_IN.ppt
UNIT4_IN.pptUNIT4_IN.ppt
UNIT4_IN.ppt
 
Chapter 2 - Types of Computer Networks-converted e.pptx
Chapter 2 - Types of Computer Networks-converted e.pptxChapter 2 - Types of Computer Networks-converted e.pptx
Chapter 2 - Types of Computer Networks-converted e.pptx
 
Chapter3-4 Networks Topologies and Devices.ppt
Chapter3-4 Networks Topologies and Devices.pptChapter3-4 Networks Topologies and Devices.ppt
Chapter3-4 Networks Topologies and Devices.ppt
 
Chapter 5 OSI Model.ppt
Chapter 5 OSI  Model.pptChapter 5 OSI  Model.ppt
Chapter 5 OSI Model.ppt
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Congestion Control Techniques

  • 1. Advanced Computer Networks: Congestion Control 1 Congestion Control and Resource Allocation Lecture material taken from “Computer Networks A Systems Approach”, Third Edition,Peterson and Davie, Morgan Kaufmann, 2003.
  • 2. Advanced Computer Networks: Congestion Control 2 Definitions • Flow control:: keep a fast sender from overrunning a slow receiver. • Congestion control:: the efforts made by network nodes to prevent or respond to overload conditions. Congestion control is intended to keep a fast sender from sending data into the network due to a lack of resources in the network {e.g., available link capacity, router buffers}.
  • 3. Advanced Computer Networks: Congestion Control 3 Congestion Control • Congestion control is concerned with the bottleneck routers in a packet switched network. • Congestion control can be distinguished from routing in that sometimes there is no way to ‘route around’ a congested router.
  • 4. Advanced Computer Networks: Congestion Control 4 4 8 6 3 2 1 5 7 Congestion Figure 7.50b Leon-Garcia & Widjaja: Communication Networks Leon-Garcia & Widjaja: Communication Networks Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks
  • 5. Advanced Computer Networks: Congestion Control 5 Figure 6.1 Congestion in a packet- switched network Destination 1.5-Mbps T1 link Router Source 2 Source 1 100-Mbps FDDI 10-Mbps Ethernet P&D slide
  • 6. Advanced Computer Networks: Congestion Control 6 Flows • flow :: a sequence of packets sent between a source/destination pair and following the same route through the network. • Connectionless flows within the TCP/IP model:: The connection-oriented abstraction, TCP, is implemented at the transport layer while IP provides a connectionless datagram delivery service. • With connectionless flows, there exists no state at the routers.
  • 7. Advanced Computer Networks: Congestion Control 7 Flows • Connection-oriented flows (e.g., X.25) – connection-oriented networks maintain hard state at the routers. • Soft state :: represents a middle ground where soft state is not always explicitly created and removed by signaling. • Correct operation of the network does not depend on the presence of soft state, but soft state can permit the router to better handle packets.
  • 8. Advanced Computer Networks: Congestion Control 8 Figure 6.2 Multiple Flows passing through a set of routers Router Source 2 Source 1 Source 3 Router Router Destination 2 Destination 1 P&D slide
  • 9. Advanced Computer Networks: Congestion Control 9 Service • Best-effort service :: The hosts are given no opportunity to ask for guarantees on a flow’s service. • QoS (Quality of Service) :: is a service model that supports some type of guarantee for a flow’s service.
  • 10. Advanced Computer Networks: Congestion Control 10 Offered load Throughput Controlled Uncontrolled Figure 7.51 Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Lack of Congestion Control
  • 11. Advanced Computer Networks: Congestion Control 11 Congestion Control Taxonomy • Router-Centric – The internal network routers take responsibility for: • Which packets to forward • Which packets to drop or mark • The nature of congestion notification to the hosts. – This includes the Queuing Algorithm to manage the buffers at the router. • Host-Centric – The end hosts adjust their behavior based on observations of network conditions. – (e.g., TCP Congestion Control Mechanisms)
  • 12. Advanced Computer Networks: Congestion Control 12 Congestion Control Taxonomy • Reservation-Based – the hosts attempt to reserve network capacity when the flow is established. – The routers allocate resources to satisfy reservations or the flow is rejected. – The reservation can be receiver-based (e.g., RSVP) or sender-based.
  • 13. Advanced Computer Networks: Congestion Control 13 Congestion Control Taxonomy • Feedback-Based - The transmission rate is adjusted (via window size) according to feedback received from the sub network. – Explicit feedback – FECN, BECN, ECN – Implicit feedback – router packet drops. • Window-Based - The receiver sends an advertised window to the sender or a window advertisement can be used to reserve buffer space in routers. • Rate-Based – The sender’s rate is controlled by the receiver indicating the bits per second it can absorb.
  • 14. Advanced Computer Networks: Congestion Control 14 Evaluation Criteria • Evaluation criteria are needed to decide how well a network effectively and fairly allocates resources. • Effective measures – throughput, utilization, efficiency, delay, queue length, goodput and power. throughputα Power = -------------- delay
  • 15. Advanced Computer Networks: Congestion Control 15 Fairness • Jain’s fairness index For any given set of user throughputs (x1, x2,…xn ), the fairness index to the set is defined: f(x1, x2, …, xn) = • Max-min fairness Essentially ‘borrow’ from the rich-in-performance to help the poor- in-performance For example, CSFQ   n i i x n 1 2 2 1         n i i x
  • 16. Advanced Computer Networks: Congestion Control 16 Congestion Control (at the router) • Queuing algorithms determine: – How packets are buffered. – Which packets get transmitted. – Which packets get marked or dropped. – Indirectly determine the delay at the router. • Queues at outgoing links drop/mark packets to implicitly signal congestion to TCP sources. • Remember to separate queuing policy from queuing mechanism.
  • 17. Advanced Computer Networks: Congestion Control 17 Congestion Control (at the router) • Some of the possible choices in queuing algorithms: – FIFO (FCFS) also called Drop-Tail – Fair Queuing (FQ) – Weighted Fair Queuing (WFQ) – Random Early Detection (RED) – Explicit Congestion Notification (ECN).
  • 18. Advanced Computer Networks: Congestion Control 18 Drop Tail Router [FIFO] • First packet to arrive is first to be transmitted. • FIFO queuing mechanism that drops packets from the tail of the queue when the queue overflows. • Introduces global synchronization when packets are dropped from several connections. • FIFO is the scheduling mechanism, Drop Tail is the policy
  • 19. Advanced Computer Networks: Congestion Control 19 Priority Queuing • Mark each packet with a priority (e.g., in TOS (Type of Service field in IP) • Implement multiple FIFO queues, one for each priority class. • Always transmit out of the highest priority non-empty queue. • Still no guarantees for a given priority class.
  • 20. Advanced Computer Networks: Congestion Control 20 Priority Queuing • Problem:: high priority packets can ‘starve’ lower priority class packets. • Priority queuing is a simple case of “differentiated services” [DiffServ]. • One practical use in the Internet is to protect routing update packets by giving them a higher priority and a special queue at the router.
  • 21. Advanced Computer Networks: Congestion Control 21 Fair Queuing [FQ] • The basic problem with FIFO is that it does not separate packets by flow. • Another problem with FIFO :: an “ill- behaved” flow can capture an arbitrarily large share of the network’s capacity. Idea:: maintain a separate queue for each flow, and Fair Queuing (FQ) services these queues in a round-robin fashion.
  • 22. Advanced Computer Networks: Congestion Control 22 Figure 6.6 Fair Queuing Flow 1 Flow 2 Flow 3 Flow 4 Round-robin service P&D slide
  • 23. Advanced Computer Networks: Congestion Control 23 Fair Queuing [FQ] • “Ill-behaved” flows are segregated into their own queue. • There are many implementation details for FQ, but the main problem is that packets are of different lengths  simple FQ is not fair!! • Ideal FQ:: do bit-by-bit round-robin.
  • 24. Advanced Computer Networks: Congestion Control 24 Fair Queuing [FQ] • FQ simulates bit-by-bit behavior by using timestamps (too many details for here!). • One can think of FQ as providing a guaranteed minimum share of bandwidth to each flow. • FQ is work-conserving in that the server is never idle as long as there is a customer in the queue. * Note: The per-flow state information kept at the router is expensive (it does not scale).
  • 25. Advanced Computer Networks: Congestion Control 25 Weighted Fair Queuing [WFQ] WFQ idea:: Assign a weight to each flow (queue) such that the weight logically specifies the number of bits to transmit each time the router services that queue. • This controls the percentage of the link capacity that the flow will receive. • The queues can represent “classes” of service and this becomes DiffServ. • An issue – how does the router learn of the weight assignments? – Manual configuration – Signaling from sources or receivers.