![]() |
A network consists of various devices or resources. Each resource is assigned to perform a particular task. Sometimes the available resources are more but the task or load to be performed is less whereas sometimes it is completely opposite. In such scenarios when the load is more as compared to the available resources in the network it is known as congestion. Many times to control such congestion either load is decreased or resources are increased. But this does not work properly for the networks. Various techniques are used for congestion control. What is Load Shedding?Load shedding is one of the techniques used for congestion control. A network router consists of a buffer. This buffer is used to store the packets and then route them to their destination. Load shedding is defined as an approach of discarding the packets when the buffer is full according to the strategy implemented in the data link layer. The selection of packets to discard is an important task. Many times packets with less importance and old packets are discarded. Selection of Packets to be DiscardedIn the process of load shedding the packets need to be discarded in order to avoid congestion. Therefore which packet needs to be discarded is a question. Below are the approaches used to discard the packets. 1. Random Selection of packetsWhen the router is filled with more packets, the packets are selected randomly for discarding. Discarding the packets it can include old, new, important, priority-based, or less important packets. Random selection of packets can lead to various disadvantages and problems. 2. Selection of packets based on applicationsAccording to the application, the new packets will be discarded or old packets can be discarded by the router. When the application is regarding file transfer new packets are discarded and when the application is regarding multimedia the old packets are discarded. 3. Selection of packets based on priorityThe source of packets can mark the priority stating how much important the packet is. Depending upon the priority provided by the sender the packet can either be selected or discarded. The priority can be given according to price, algorithm, and methods used, the functions that it will perform, and its effect on another task upon selecting and discarding the packets. 4. Random early detectionRandomly early detection is an approach in which packets are discarded before the buffer space becomes full. Therefore the situation of congestion is controlled earlier. In this approach, the router initially maintains a specific queue length for the outgoing lines. When this average set line is exceeded it warns for congestion and discards the packets. Advantages of Load Shedding
Disadvantages of Load Shedding
FAQs on Load Shedding1. What are other techniques used for controlling congestion in networks?
2. How the packets are filtered based on priority in the load-shedding technique?
3. What is the need for load shedding?
4. What are the risks encountered during the implementation of congestion?
|
Reffered: https://www.geeksforgeeks.org
Computer Networks |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |