Lecture_Congestion Control
Lecture_Congestion Control
Reference:
Traffic Descriptor
Traffic Profiles
Traffic Descriptor
Traffic descriptors are qualitative values that represent a data flow.
1. The packet is put at the end of the input queue while waiting to be checked.
2. The processing module of the router removes the packet from the input queue
once it reaches the front of the queue and uses its routing table and the
destination address to find the route.
3. The packet is put in the appropriate output queue and waits its tum to be sent.
Network Performance
Congestion control involves two factors that measure the performance of a
network: delay and throughput.
Network Performance
Delay Versus Load
Note that when the load is much less than the capacity of the network, the delay is
at a minimum. However, when the load reaches the network capacity, the delay
increases sharply because we now need to add the waiting time in the queues (for
all routers in the path) to the total delay. Note that the delay becomes infinite when
the load is greater than the capacity.
Retransmission Policy
• If the sender feels that a sent packet is lost or corrupted, the packet needs to be
retransmitted. The retransmission policy and the retransmission timers must be
designed to optimize efficiency and at the same time prevent congestion.
Window Policy
• The Selective Repeat window is better than the Go-Back-N window for congestion
control. The Selective Repeat window tries to send the specific packets that have been
lost or corrupted.
Open-Loop Mechanisms
Acknowledgment Policy
• If the receiver does not acknowledge every packet it receives, it may slow down
the sender and help prevent congestion. A receiver may send an acknowledgment
only if it has a packet to be sent or a special timer expires. A receiver may decide
to acknowledge only N packets at a time. Sending fewer acknowledgments means
imposing less load on the network.
Discarding Policy
• A good discarding policy by the routers may prevent congestion and at the same
time may not harm the integrity of the transmission.
Admission Policy
• Switches in a flow first check the resource requirement of a flow before
admitting it to the network. A router can deny establishing a virtual circuit
connection if there is congestion in the network or if there is a possibility of
future congestion.
Closed-Loop Mechanisms
Backpressure
Explicit Signaling
• The node that experiences congestion can explicitly send a signal to the source or
destination.
• The explicit signaling method, however, is different from the choke packet method.
• In the choke packet method, a separate packet is used for this purpose; in the explicit
signaling method, the signal is included in the packets that carry data.
Explicit signaling can occur in either the forward or the backward direction.
• Backward Signaling A bit can be set in a packet moving in the direction opposite to the
congestion. This bit can warn the source that there is congestion and that it needs to
slow down to avoid the discarding of packets.
• Forward Signaling A bit can be set in a packet moving in the direction of the
congestion. This bit can warn the destination that there is congestion. The receiver in
this case can use policies, such as slowing down the acknowledgments, to alleviate the
congestion.
Congestion Control in TCP
TCP uses congestion control to avoid congestion or alleviate congestion in
the network.
We need to mention that if there is delayed ACKs, the increase in the size of
the window is less than power of 2.