written 8.4 years ago by | modified 6.1 years ago by |
MU > Computer Engineering > Computer Networks > SEM 5 > May 2015 >
Marks: 10
written 8.4 years ago by | modified 6.1 years ago by |
MU > Computer Engineering > Computer Networks > SEM 5 > May 2015 >
Marks: 10
written 8.4 years ago by |
Congestion:
Factors that Causes the Congestion:
Packet arrival rate exceeds the outgoing link capacity.
Insufficient memory to store arriving packets.
Bursty traffic.
Slow processor.
Congestion Control:
I) Open Loop Congestion Control:
In Open Loop Congestion Control, policies are used to prevent the congestion before it happens.
Congestion control is handled either by the source or by the destination.
II) Closed Loop Congestion Control:
Closed loop congestion control mechanisms try to remove the congestion after it happens.
It uses some kind of feedback.
NEED of Congestion Control:
Congestion prevention policies:
I) Retransmission Policy:
The sender retransmits a packet, if it feels that the packet it has sent is lost or corrupted.
However retransmission increases the congestion in the network.
But we need to implement good retransmission policy to prevent congestion.
The retransmission policy and the retransmission timers need to be designed to optimize efficiency and at the same time prevent the congestion.
II) Window Policy:
To implement window policy, selective reject window method is used for congestion control.
Selective Reject method is preferred over Go-back-n window as in Go-back-n method, when timer for a packet times out, several packets are resent, although some may have arrived safely at the receiver.
Thus, this duplication may make congestion worse.
Selective reject method sends only the specific lost or damaged packets.
III) Acknowledgement Policy:
The acknowledgement policy imposed by the receiver may also affect congestion.
If the receiver does not acknowledge every packet it receives it may slow down the sender and help prevent congestion.
Acknowledgments also add to the traffic load on the network.
Thus, by sending fewer acknowledgements we can reduce load on the network.
To implement it, several approaches can be used:
A receiver may send an acknowledgement only if it has a packet to be sent.
A receiver may send an acknowledgement when a timer expires.
A receiver may also decide to acknowledge only N packets at a time.
IV) Discarding Policy:
A router may discard less sensitive packets when congestion is likely to happen.
Such a discarding policy may prevent congestion and at the same time may not harm the integrity of the transmission.
V) Admission Policy:
An admission policy, which is a quality-of-service mechanism, can also prevent congestion in virtual circuit networks.
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.