Unit4_CongestionControl
Unit4_CongestionControl
Quality of Service
DATA TRAFFIC
Average data rate: Sustained data transmission rate allowed by the network.
Peak data rate: Maximum allowable data rate for short burst size. If the data rate
exceeds this value, it may be dropped or delayed by network mechanisms (like
traffic shapers or policers).
Maximum burst size: This defines how long a sender is allowed to transmit at the
peak data rate above the average. It allows temporary bursts, as shown by the
hump in the graph.
Fig. 2 Three traffic profiles
CONGESTION
2.Window Policy :
The type of window at the sender’s side may also affect the congestion. Several
packets in the Go-back-n window are re-sent, although some packets may be
received successfully at the receiver side. This duplication may increase the
congestion in the network and make it worse.
Therefore, Selective repeat window should be adopted as it sends the specific
packet that may have been lost.
3.Discarding Policy :
A good discarding policy adopted by the routers is that the routers may prevent
congestion and at the same time partially discard the corrupted or less sensitive
packets and also be able to maintain the quality of a message.
In case of audio file transmission, routers can discard less sensitive packets to
prevent congestion and also maintain the quality of the audio file.
4. Acknowledgment Policy :
The receiver should send acknowledgement for N packets rather than sending
acknowledgement for a single packet.
5. Admission Policy :
Switches in a flow should first check the resource requirement of a network flow
before transmitting it further.
4. Explicit Signaling
In explicit signaling, if a node experiences congestion it can explicitly send a packet to
the source or destination to inform about congestion. The difference between choke
packet and explicit signaling is that the signal is included in the packets that carry data
rather than creating a different packet as in case of choke packet technique.
Explicit signaling can occur in either forward or backward direction.
• Forward Signaling : In forward signaling, a signal is sent in the direction of the
congestion. The destination is warned about congestion. The receiver in this case
adopt policies to prevent further congestion.
Scheduling
Priority Weighted
FIFO
Queue Fair Queue
Fig. 10 FIFO queue
Fig. 11 Priority queuing
Fig. 12 Weighted fair queuing
Traffic Shaping
Traffic Shaping is to control the rate at which packets are sent into the network.
It Smooth out bursty traffic, avoid congestion, and maintain a steady flow.
Traffic
Shaping
Leaky Token
Bucket Bucket
Fig. 13 Leaky bucket
Fig. 14 Leaky bucket implementation
Note