Weighted Fair Queuing is a variation of Fair Queuing that allows weights to be assigned to each network flow or queue. This allows bandwidth and soft priorities to be implemented. Under Weighted Fair Queuing, each queue is given a weight representing the number of bits it can transmit each time its turn comes up in round-robin scheduling. This controls the percentage of bandwidth each flow receives. The proposed project implements Weighted Fair Queuing in a lab network using C and networking tools to experimentally control congestion.
Weighted Fair Queuing is a variation of Fair Queuing that allows weights to be assigned to each network flow or queue. This allows bandwidth and soft priorities to be implemented. Under Weighted Fair Queuing, each queue is given a weight representing the number of bits it can transmit each time its turn comes up in round-robin scheduling. This controls the percentage of bandwidth each flow receives. The proposed project implements Weighted Fair Queuing in a lab network using C and networking tools to experimentally control congestion.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
Weighted Fair Queuing is a variation of Fair Queuing that allows weights to be assigned to each network flow or queue. This allows bandwidth and soft priorities to be implemented. Under Weighted Fair Queuing, each queue is given a weight representing the number of bits it can transmit each time its turn comes up in round-robin scheduling. This controls the percentage of bandwidth each flow receives. The proposed project implements Weighted Fair Queuing in a lab network using C and networking tools to experimentally control congestion.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
It is an algorithm that maintains separate queues for each flow
currently being handled by a router in a network.This scheduling method is inspired by the “most fair” of methods:
• It transmits one bit from each queue in cyclic order (bit-by-
bit round robin) and skips those queues which becomes empty. • To approximate the bit by bit processing behavior for each packet we calculate upon its arrival “finish time under bit by bit round robin”, assuming all other queues are continuously busy and we transmit by FIFO within each queue.We treat all the finish time as timestamps and the next packet to transmit is always the packet that has the lowest timestamp.
• Priority is given to short packets and equal bandwidth is
allocated to all queues that are continuously busy.
Disadvantages of Fair Queuing
Fair Queuing cannot be used to implement bandwidth and soft
priorities. Fair Queuing gives each queue a weight of 1, which means that logically only one bit is transmitted from each queue each time around.
Proposed System: Weighted Fair Queuing
Weighted Fair Queuing is a variation that corrects the deficiency of Fair Queuing by allowing a Weight to be assigned to each flow (queue). The Weight is logically how many bits to transmit each time the router services the queue, which efficiently controls the percentage of the links bandwidth that that flow will get. Let Wk be the weight of the k’th queue. Think of round-robin with queue ‘k’ transmitting Wk bits upon its turn. If all queues have always something to send, the k’th queue receives bandwidth equal to a fraction Wk/ ∑i Wi of the total bandwidth.
Innovative element in the project
We are practically creating congestion in network and controlling
it by implementing weighted Fair Queuing in our lab using ‘C’ and ‘Networking Language’.