Lec Congestion Control
Lec Congestion Control
Lec Congestion Control
Congestion Control
Congestion
2
Packet delay and throughput as functions of load
3
Congestion Control
4
Retransmission Policy
5
Window Policy
• The type of window at the sender side may also affect the
congestion.
• Several packets in the Go-back-n window are resent, although some
packets may be received successfully at the receiver side.
• This duplication may increase the congestion in the network and
making it worse.
• Therefore, Selective repeat window should be adopted as it sends
the specific packet that may have been lost.
6
Discarding Policy
7
Acknowledgment Policy
• Since acknowledgement are also the part of the load in network, the
acknowledgment policy imposed by the receiver may also affect
congestion.
• Several approaches can be used to prevent congestion related to
acknowledgment.
• The receiver should send acknowledgement for N packets rather
than sending acknowledgement for a single packet.
• The receiver should send a acknowledgment only if it has to sent a
packet or a timer expires.
8
Admission Policy
9
Backpressure
10
Choke Packet Technique
13
explicit signaling
• the congestion window is one of the factors that determines the number of bytes that
can be sent out at any time.
• The congestion window is maintained by the sender and is a means of stopping a link
between the sender and the receiver from becoming overloaded with too much
traffic.
• This should not to be confused with the sliding window maintained by the receiver
which exists to prevent the receiver from becoming overloaded.
• The congestion window is calculated by estimating how much congestion there is on
the link.
• Congestion Window (cwnd) is a TCP state variable that limits the amount of data the
TCP can send into the network before receiving an ACK. The Receiver Window (rwnd)
is a variable that advertises the amount of data that the destination side can receive.
15
Congestion Control In TCP
16
Maximum segment size
17
Slow-start algorithm
• Slow start is part of the congestion control strategy used by TCP in conjunction with other
algorithms to avoid sending more data than the network is capable of forwarding, that is, to
avoid causing network congestion.
• Although the strategy is referred to as slow start, its congestion window growth is
quite aggressive, more aggressive than the congestion avoidance phase.
• Slow start begins initially with a congestion window size (CWND) of 1, 2, 4 or 10 MSS.
• The value for the congestion window size will be increased by one with each
acknowledgement (ACK) received, effectively doubling the window size each round-trip time.
• The transmission rate will be increased by the slow-start algorithm until either a loss is
detected, or the receiver's advertised window (rwnd) is the limiting factor, or ssthresh is
reached.
• If a loss event occurs, TCP assumes that it is due to network congestion and takes steps to
reduce the offered load on the network.
18
Additive increase/multiplicative decrease
19
Congestion Control in Frame Relay
BECN
(Backward Explicit Congestion Notification)
FECN
Forward Explicit Congestion Notification)
20
Thanks
21