Overview
Weighted Fair Queuing is a scheduling method that selects or admits work using a concrete priority, fairness, deadline, or capacity rule. It helps expose the policy tradeoff behind queue order, fairness, deadlines, or resource use.
Weighted Fair Queuing allocates service according to fairness or proportional-share rules.
Compact metadata for implementation and discovery.
Weighted Fair Queuing is a scheduling method that selects or admits work using a concrete priority, fairness, deadline, or capacity rule. It helps expose the policy tradeoff behind queue order, fairness, deadlines, or resource use.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
finish_i = max(virtual_time, finish_previous_i) + packet_length / weight_iSchedules packets by a weighted virtual completion time.
Show queued jobs moving onto processors, links, or time slots as the scheduling rule changes priorities.
Weighted Fair Queuing operates in O(n log n) time and O(n) space within the Scheduling family. Key governing relation: finish_i = max(virtual_time, finish_previous_i) + packet_length / weight_i. Often compared with Round Robin Scheduling and Priority Scheduling.
What each reference supports for this entry.
Reference for fair queueing virtual finish times and weighted bandwidth allocation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Weighted Fair Queuing and Round Robin Scheduling address nearby scheduling problems but make different implementation tradeoffs.