Congestion Control and Resource Allocation
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}.
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 8 6 3 2 1 5 7 Congestion Leon-Garcia & Widjaja:  Communication Networks Leon-Garcia & Widjaja:  Communication Networks Leon-Garcia & Widjaja:  Communication Networks Copyright ©2000 The McGraw Hill Companies
Figure 6.1 Congestion in a packet-switched network
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.
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.
Figure 6.2 Multiple Flows   passing through a set of routers
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.
Offered load Throughput Controlled Uncontrolled Figure 7.51 Leon-Garcia & Widjaja:  Communication Networks Copyright ©2000 The McGraw Hill Companies Lack of Congestion Control
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)
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
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
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
Fairness Jain’s fairness index For any given set of user throughputs ( x 1 , x 2 , … x n  ), the fairness index to the set is defined:   f(x 1 , x 2 , …, x n )  = Max-min fairness Essentially ‘borrow’ from the rich-in-performance to help the poor-in-performance For example,  CSFQ Advanced Computer Networks: Congestion Control
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
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
Drop Tail Router [FIFO] Advanced Computer Networks: Congestion Control 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
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
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
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
Figure 6.6 Fair Queuing Advanced Computer Networks: Congestion Control P&D slide
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
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
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. Advanced Computer Networks: Congestion Control

More Related Content

PPT
Chap24
PDF
HIGH SPEED NETWORKS
PPTX
Congestion control
PPTX
Congestion control and quality of services
PPT
Congestion control and quality of service
PPTX
Congestion control
PPTX
QoS (quality of service)
Chap24
HIGH SPEED NETWORKS
Congestion control
Congestion control and quality of services
Congestion control and quality of service
Congestion control
QoS (quality of service)

What's hot (20)

PDF
HIGH SPEED NETWORKS
PPT
Congetion Control.pptx
PPT
Quality of Service
ODP
Congestion Control in Computer Networks - ATM and TCP
PDF
Admission control
PPT
24 Congestion Control_and_Quality_of_Service
PDF
HIGH SPEED NETWORKS
PPT
Congestion Control
PPTX
Congestion Control
PDF
Congestion Control in Networks
PDF
Congestion control 1
PPTX
Quality of service
PPT
Fundamental of Quality of Service(QoS)
PPTX
Techniques of achieving google quality of service
PPTX
Congestion control
PPTX
Basics of Network Traffic Management
PDF
Congestion control
PPTX
Congestion on computer network
PPTX
Qos Demo
HIGH SPEED NETWORKS
Congetion Control.pptx
Quality of Service
Congestion Control in Computer Networks - ATM and TCP
Admission control
24 Congestion Control_and_Quality_of_Service
HIGH SPEED NETWORKS
Congestion Control
Congestion Control
Congestion Control in Networks
Congestion control 1
Quality of service
Fundamental of Quality of Service(QoS)
Techniques of achieving google quality of service
Congestion control
Basics of Network Traffic Management
Congestion control
Congestion on computer network
Qos Demo
Ad

Similar to UNIT II tramission control (20)

PPT
Congestion_Control09.ppt
PPTX
QOSPPT.2019122-2020131[1].pptx
PPTX
Arrjay
PDF
Token Based Packet Loss Control Mechanism for Networks
PPTX
Congestion control algorithms.pptx
PPT
Congestion Control in Data Networks and Internets.ppt
PDF
International Journal of Engineering Research and Development
DOCX
2014 IEEE JAVA NETWORKING PROJECT Receiver based flow control for networks in...
DOCX
IEEE 2014 JAVA NETWORKING PROJECTS Receiver based flow control for networks i...
PPTX
Data Link Layer_Data Communications&Computer Neworks.pptx
PPTX
congestion ujjwal matoliya.pptx
PDF
I1102014953
PDF
Iisrt arunkumar b (networks)
PDF
Analysis of Rate Based Congestion Control Algorithms in Wireless Technologies
PDF
Review on buffer management schemes for packet queues in wired & wireless net...
PPT
Network Layer,Computer Networks
PDF
4 fuzzy aqm
PDF
Fuzzy logic and Satellite communication Systems
PDF
Efficient and Fair Bandwidth Allocation AQM Scheme for Wireless Networks
PPT
A New QoS Renegotiation Mechanism for Multimedia Applications
Congestion_Control09.ppt
QOSPPT.2019122-2020131[1].pptx
Arrjay
Token Based Packet Loss Control Mechanism for Networks
Congestion control algorithms.pptx
Congestion Control in Data Networks and Internets.ppt
International Journal of Engineering Research and Development
2014 IEEE JAVA NETWORKING PROJECT Receiver based flow control for networks in...
IEEE 2014 JAVA NETWORKING PROJECTS Receiver based flow control for networks i...
Data Link Layer_Data Communications&Computer Neworks.pptx
congestion ujjwal matoliya.pptx
I1102014953
Iisrt arunkumar b (networks)
Analysis of Rate Based Congestion Control Algorithms in Wireless Technologies
Review on buffer management schemes for packet queues in wired & wireless net...
Network Layer,Computer Networks
4 fuzzy aqm
Fuzzy logic and Satellite communication Systems
Efficient and Fair Bandwidth Allocation AQM Scheme for Wireless Networks
A New QoS Renegotiation Mechanism for Multimedia Applications
Ad

More from sangusajjan (19)

PPT
Unit iv atm networks
PDF
VoIP and multimedia networking
PDF
PDF
Network management
PDF
PDF
Compression of digital voice and video
PDF
ATM Network
DOC
Computer network lesson plan
PDF
Question bank cn2
DOC
Profile
PPT
VII VoIP
PPT
VII Compression Introduction
PPT
Unit VI Overlays
PPT
Unit V network management and security
PPT
Unit III IPV6 UDP
PPT
Vivpn pp tfinal
PPT
UnIT VIII manet
PPT
Unit VIII wireless sensor networks
PPT
Unit i packet switching networks
Unit iv atm networks
VoIP and multimedia networking
Network management
Compression of digital voice and video
ATM Network
Computer network lesson plan
Question bank cn2
Profile
VII VoIP
VII Compression Introduction
Unit VI Overlays
Unit V network management and security
Unit III IPV6 UDP
Vivpn pp tfinal
UnIT VIII manet
Unit VIII wireless sensor networks
Unit i packet switching networks

UNIT II tramission control

  • 1. Congestion Control and Resource Allocation
  • 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. 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. 4 8 6 3 2 1 5 7 Congestion Leon-Garcia & Widjaja: Communication Networks Leon-Garcia & Widjaja: Communication Networks Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies
  • 5. Figure 6.1 Congestion in a packet-switched network
  • 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. 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. Figure 6.2 Multiple Flows passing through a set of routers
  • 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. Offered load Throughput Controlled Uncontrolled Figure 7.51 Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Lack of 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. 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 ( x 1 , x 2 , … x n ), the fairness index to the set is defined: f(x 1 , x 2 , …, x n ) = Max-min fairness Essentially ‘borrow’ from the rich-in-performance to help the poor-in-performance For example, CSFQ 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] Advanced Computer Networks: Congestion Control 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. 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 Advanced Computer Networks: Congestion Control P&D slide
  • 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. Advanced Computer Networks: Congestion Control