SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
Congestion Control                                  Definitions
            and                                                    Flow control:: keep a fast sender from
                                                                    overrunning a slow receiver.
            Resource Allocation                                    Congestion control:: the efforts made by network
                                                                    nodes to prevent or respond to overload
                                                                    conditions.
           Reference:- “Computer Networks A Systems               Congestion control is intended to keep a fast
             Approach”, Third Edition, Peterson and                 sender from sending data into the network
                             Davie,                                 due to a lack of resources in the network
                                                                    {e.g., available link capacity, router buffers}.
                   Morgan Kaufmann, 2003.

                                                             1                                                                  2




            Congestion Control
                                                                                                       Congestion
                                                                                                         3
               Congestion control is concerned with the                                                                6

                bottleneck routers in a packet switched
                network.                                                                           1
                                                                                                         4
               Congestion control can be distinguished                                                                     8

                from routing in that sometimes there is no                                         2
                                                                                                                    7
                                                                                                             5
                way to ‘route around’ a congested router.

                                                                 Copyright ©2000 The McGraw Hill
                                                                            Companies


                                                             3                                                                  4




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
Flows
                    Source
                      1    10-M                                                                  flow :: a sequence of packets sent between a
                               bps
                                     Ethe
                                         rnet   Router                                            source/destination pair and following the same
                                                                            Destination
                                                         1.5-Mbps T1 link                         route through the network.
                                       DDI
                    Source   100
                                -Mb
                                   ps F                                                          Connectionless flows within the TCP/IP model::
                      2
                                                                                                  The connection-oriented abstraction, TCP, is
                                                                                                  implemented at the transport layer while IP
                                                                                                  provides a connectionless datagram delivery
                  Congestion in a packet-switched
                                  packet-                                                         service.
                              network                                                            With connectionless flows, there exists no state at
                                                                                                  the routers.


                                                                                          5                                                             6




            Flows                                                                                       Source
                                                                                                          1
                                                                                                                    Router
                                                                                                                                        Destination
              Connection-oriented flows (e.g., X.25) –                                                                                      1
               connection-oriented networks maintain hard state                                                                Router
               at the routers.                                                                          Source
                                                                                                          2
              Soft state :: represents a middle ground where                                                       Router
               soft state is not always explicitly created and                                                                          Destination
                                                                                                                                             2
               removed by signaling.                                                                    Source
              Correct operation of the network does not depend                                           3

               on the presence of soft state, but soft state can
               permit the router to better handle packets.                                          Multiple Flows passing through a set
                                                                                                                    of routers

                                                                                          7                                                             8




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
Service                                                                 Lack of Congestion Control

               Best-effort service :: The hosts are given no
                opportunity to ask for guarantees on a                                                                      Controlled




                                                                                            Throughput
                flow’s service.
               QoS (Quality of Service) :: is a service                                                                       Uncontrolled

                model that supports some type of
                guarantee for a flow’s service.
                                                                                                             Offered load




                                                                              9                                                               10




          Congestion Control Taxonomy                                              Congestion Control Taxonomy
               Router-Centric                                                         Reservation-Based – the hosts attempt to
                    The internal network routers take responsibility for:
                

                       Which packets to forward
                                                                                        reserve network capacity when the flow is
                       Which packets to drop or mark                                   established.
                       The nature of congestion notification to the hosts.                 The routers allocate resources to satisfy
                   This includes the Queuing Algorithm to manage the                        reservations or the flow is rejected.
                    buffers at the router.
               Host-Centric                                                                The reservation can be receiver-based (e.g.,
                   The end hosts adjust their behavior based on                             RSVP) or sender-based.
                    observations of network conditions.
                   (e.g., TCP Congestion Control Mechanisms)


                                                                              11                                                              12




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
Congestion Control Taxonomy
                                                                                            Evaluation Criteria
             Feedback-Based - The transmission rate is adjusted
              (via window size) according to feedback received from                            Evaluation criteria are needed to decide how well a
              the sub network.                                                                  network effectively and fairly allocates resources.
                 Explicit feedback – FECN
                 Implicit feedback – router packet drops.                                     Effective measures – throughput, utilization,
             Window-Based - The receiver sends an advertised                                   efficiency, delay, queue length, goodput and power.
              window to the sender or a window advertisement can                                                     throughput α
              be used to reserve buffer space in routers.                                               Power = --------------
             Rate-Based – The sender’s rate is controlled by the                                                      delay
              receiver indicating the bits per second it can absorb.
                                                                                                              Where 0 < α < 1


                                                                                       13                                                           14




              Fairness                                                                           Congestion Control
                 Jain’s fairness index                                                         (at the router)
                                                                                               Queuing algorithms determine:
              For any given set of user throughputs (x1, x2,…xn ), the
                                                      (x x2
                fairness index to the set is defined:                                              How packets are buffered.
                                                                                                   Which packets get transmitted.
                                                        n    
                                                                  2
                                                                                                   Which packets get marked or dropped.
                                                         xi 
                            f(x1, x2, …, xn) =          i 1                                     Indirectly determine the delay at the router.
                                                          n
                                                       n  x i2                                Queues at outgoing links drop/mark packets to
                Max-min fairness                         i 1                                  implicitly signal congestion to TCP sources.
              Essentially ‘borrow’ from the rich-in-performance to help the poor-in-
                 performance
                                                                                               Remember to separate queuing policy from queuing
              For example, CSFQ
                                                                                                mechanism.



                                                                                       15                                                           16




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
Congestion Control                                        Drop Tail Router [FIFO]
            (at the router)
               Some of the possible choices in queuing
                algorithms:                                        • First packet to arrive is first to be transmitted.
                   FIFO (FCFS) also called Drop-Tail              • FIFO queuing mechanism that drops packets from
                   Fair Queuing (FQ)                                the tail of the queue when the queue overflows.
                   Weighted Fair Queuing (WFQ)                    • Introduces global synchronization when packets are
                   Random Early Detection (RED)                     dropped from several connections.
                   Explicit Congestion Notification (ECN).        • FIFO is the scheduling mechanism, Drop Tail is the
                                                                     policy

                                                              17                                                   18




           Priority Queuing                                        Priority Queuing

               Mark each packet with a priority (e.g., in            Problem:: high priority packets can
                TOS (Type of Service field in IP)                      ‘starve’ lower priority class packets.
               Implement multiple FIFO queues, one for               Priority queuing is a simple case of
                each priority class.                                   “differentiated services” [DiffServ].
               Always transmit out of the highest priority           One practical use in the Internet is to
                non-empty queue.                                       protect routing update packets by giving
               Still no guarantees for a given priority               them a higher priority and a special queue
                class.                                                 at the router.


                                                              19                                                   20




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
Fair Queuing [FQ]                                                Flow 1




             The basic problem with FIFO is that it does                    Flow 2
                                                                                                Round-robin
              not separate packets by flow.                                                       service

                                                                             Flow 3
             Another problem with FIFO :: an “ill-
              behaved” flow can capture an arbitrarily
              large share of the network’s capacity.                         Flow 4


            Idea:: maintain a separate queue for each
              flow, and Fair Queuing (FQ) services
              these queues in a round-robin fashion.
                                                                                 Fair Queuing

                                                          21                                                       22




            Fair Queuing [FQ]                                  Fair Queuing [FQ]
                                                                  FQ simulates bit-by-bit behavior by using
                                                                   timestamps (too many details for here!).
               “Ill-behaved” flows are segregated into
                                                                  One can think of FQ as providing a guaranteed
                their own queue.                                   minimum share of bandwidth to each flow.
               There are many implementation details for         FQ is work-conserving in that the server is never
                                                                   idle as long as there is a customer in the queue.
                FQ, but the main problem is that packets       *   Note: The per-flow state information kept at
                are of different lengths  simple FQ is not        the router is expensive (it does not scale).
                fair!!
               Ideal FQ:: do bit-by-bit round-robin.


                                                          23                                                       24




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/
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.



                                                                           25




Created with Print2PDF. To remove this line, buy a license at: http://www.binarynow.com/

Weitere ähnliche Inhalte

Was ist angesagt?

Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1Aman Jaiswal
 
Internet congestion
Internet congestionInternet congestion
Internet congestionVikas Gupta
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion AvoidanceRam Dutt Shukla
 
Congestion control
Congestion controlCongestion control
Congestion controlNithin Raj
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion controlShubham Jain
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptxNaveen Dubey
 
Connection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion ControlConnection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion ControlAdeel Rasheed
 
Congestion control and quality of services
Congestion control and quality of servicesCongestion control and quality of services
Congestion control and quality of servicesJawad Ghumman
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcpsamarai_apoc
 
Traffic profiles, congestion and network performance
Traffic profiles, congestion and network performanceTraffic profiles, congestion and network performance
Traffic profiles, congestion and network performanceRaj Parekh
 
Congestion control
Congestion controlCongestion control
Congestion controlAbhay Pai
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
TCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraTCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraOwaîs Járå
 
Congestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPCongestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPAttila Balazs
 

Was ist angesagt? (20)

Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
Internet congestion
Internet congestionInternet congestion
Internet congestion
 
Congestion control and quality of service
Congestion control and quality of serviceCongestion control and quality of service
Congestion control and quality of service
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion Avoidance
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Leaky bucket A
Leaky bucket ALeaky bucket A
Leaky bucket A
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Admission control
Admission controlAdmission control
Admission control
 
Connection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion ControlConnection Establishment & Flow and Congestion Control
Connection Establishment & Flow and Congestion Control
 
Chap24
Chap24Chap24
Chap24
 
Congestion control and quality of services
Congestion control and quality of servicesCongestion control and quality of services
Congestion control and quality of services
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
 
Traffic profiles, congestion and network performance
Traffic profiles, congestion and network performanceTraffic profiles, congestion and network performance
Traffic profiles, congestion and network performance
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Conjestion control
Conjestion controlConjestion control
Conjestion control
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
TCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraTCP Congestion Control By Owais Jara
TCP Congestion Control By Owais Jara
 
Congestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCPCongestion Control in Computer Networks - ATM and TCP
Congestion Control in Computer Networks - ATM and TCP
 

Andere mochten auch

Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingVimal Dewangan
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switchingSneha Dalvi
 
Smart Congestion Control for Delay- and Disruption Tolerant Networks
Smart Congestion Control for Delay- and Disruption Tolerant NetworksSmart Congestion Control for Delay- and Disruption Tolerant Networks
Smart Congestion Control for Delay- and Disruption Tolerant NetworksAloizio Silva
 
Information Centric Networking and Content Addressability
Information Centric Networking and Content AddressabilityInformation Centric Networking and Content Addressability
Information Centric Networking and Content AddressabilityShi Junxiao
 
Adoptive retransmission in TCP
Adoptive retransmission in TCPAdoptive retransmission in TCP
Adoptive retransmission in TCPselvakumar_b1985
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching9181511
 
Packet switching
Packet switchingPacket switching
Packet switchingVikash Dhal
 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_ServiceAhmar Hashmi
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routingGaurav Juneja
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networkingpraison
 

Andere mochten auch (16)

Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shaping
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switching
 
Smart Congestion Control for Delay- and Disruption Tolerant Networks
Smart Congestion Control for Delay- and Disruption Tolerant NetworksSmart Congestion Control for Delay- and Disruption Tolerant Networks
Smart Congestion Control for Delay- and Disruption Tolerant Networks
 
Lecture 5: RED
Lecture 5: REDLecture 5: RED
Lecture 5: RED
 
Information Centric Networking and Content Addressability
Information Centric Networking and Content AddressabilityInformation Centric Networking and Content Addressability
Information Centric Networking and Content Addressability
 
Adoptive retransmission in TCP
Adoptive retransmission in TCPAdoptive retransmission in TCP
Adoptive retransmission in TCP
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Named data networking
Named data networkingNamed data networking
Named data networking
 
Packet switching
Packet switchingPacket switching
Packet switching
 
CCNA- part 11 frame relay
CCNA- part 11 frame relayCCNA- part 11 frame relay
CCNA- part 11 frame relay
 
7 tcp-congestion
7 tcp-congestion7 tcp-congestion
7 tcp-congestion
 
Apresentação sobre ipv6
Apresentação sobre ipv6Apresentação sobre ipv6
Apresentação sobre ipv6
 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routing
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networking
 

Ähnlich wie Congestion Control in Networks

UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission controlsangusajjan
 
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling MechanismPredictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling MechanismIDES Editor
 
Congestion_Control09.ppt
Congestion_Control09.pptCongestion_Control09.ppt
Congestion_Control09.ppttahaniali27
 
11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manetAlexander Decker
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)Sri Safrina
 
Token Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for NetworksToken Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for NetworksIJMER
 
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...ijwmn
 
Congestion management through mvcm and congestion control based on mobile agents
Congestion management through mvcm and congestion control based on mobile agentsCongestion management through mvcm and congestion control based on mobile agents
Congestion management through mvcm and congestion control based on mobile agentsIAEME Publication
 
Honeypot Farms using Ethernet Bridging over a TCP Connection
Honeypot Farms using Ethernet Bridging over a TCP Connection Honeypot Farms using Ethernet Bridging over a TCP Connection
Honeypot Farms using Ethernet Bridging over a TCP Connection morisson
 
4) sizing router buffers
4) sizing router buffers4) sizing router buffers
4) sizing router buffersNawal Omani
 
Effective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsEffective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsContinuous Computing
 
Transport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksTransport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksRushin Shah
 
congestion control.pdf
congestion control.pdfcongestion control.pdf
congestion control.pdfJayaprasanna4
 
Chapter 2 LAN redundancy
Chapter 2   LAN  redundancyChapter 2   LAN  redundancy
Chapter 2 LAN redundancyJosue Wuezo
 

Ähnlich wie Congestion Control in Networks (20)

UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission control
 
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling MechanismPredictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion_Control09.ppt
Congestion_Control09.pptCongestion_Control09.ppt
Congestion_Control09.ppt
 
11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
 
Congestion control mechanism using network border protocol
Congestion control mechanism using network border protocolCongestion control mechanism using network border protocol
Congestion control mechanism using network border protocol
 
Lecture05
Lecture05Lecture05
Lecture05
 
Token Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for NetworksToken Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for Networks
 
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...
Performance Evaluation of TCP with Adaptive Pacing and LRED in Multihop Wirel...
 
MK-PPT Chapter 6.ppt
MK-PPT Chapter 6.pptMK-PPT Chapter 6.ppt
MK-PPT Chapter 6.ppt
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 
Congestion management through mvcm and congestion control based on mobile agents
Congestion management through mvcm and congestion control based on mobile agentsCongestion management through mvcm and congestion control based on mobile agents
Congestion management through mvcm and congestion control based on mobile agents
 
Honeypot Farms using Ethernet Bridging over a TCP Connection
Honeypot Farms using Ethernet Bridging over a TCP Connection Honeypot Farms using Ethernet Bridging over a TCP Connection
Honeypot Farms using Ethernet Bridging over a TCP Connection
 
4) sizing router buffers
4) sizing router buffers4) sizing router buffers
4) sizing router buffers
 
Effective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsEffective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA Platforms
 
Transport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networksTransport control protocols for Wireless sensor networks
Transport control protocols for Wireless sensor networks
 
congestion control.pdf
congestion control.pdfcongestion control.pdf
congestion control.pdf
 
Chapter 2 LAN redundancy
Chapter 2   LAN  redundancyChapter 2   LAN  redundancy
Chapter 2 LAN redundancy
 

Congestion Control in Networks

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