# Proportionally fair

Proportional fair is a compromise-based scheduling algorithm. It is based upon maintaining a balance between two competing interests: Trying to maximize total [wired/wireless network] throughput while at the same time allowing all users at least a minimal level of service. This is done by assigning each data flow a data rate or a scheduling priority (depending on the implementation) that is inversely proportional to its anticipated resource consumption.[1] [2]

## Weighted fair queuing

Proportionally fair scheduling can be achieved by means of weighted fair queuing (WFQ), by setting the scheduling weights for data flow ${\displaystyle i}$ to ${\displaystyle w_{i}=1/c_{i}}$, where the cost ${\displaystyle c_{i}}$ is the amount of consumed resources per data bit. For instance:

• In CDMA spread spectrum cellular networks, the cost may be the required energy per bit in the transmit power control (the increased interference level).
• In wireless communication with link adaptation, the cost may be the required time to transmit a certain number of bits using the modulation and error coding scheme that this required. An example of this is EVDO networks, where reported SNR is used as the primary costing factor.
• In wireless networks with fast Dynamic Channel Allocation, the cost may be the number of nearby base station sites that can not use the same frequency channel simultaneously, in view to avoid co-channel interference.

## User prioritization

Another way to schedule data transfer that leads to similar results is through the use of prioritization coefficients.[3] Here we schedule the channel for the station that has the maximum of the priority function:

${\displaystyle P={\frac {T^{\alpha }}{R^{\beta }}}}$

• ${\displaystyle T}$ denotes the data rate potentially achievable for the station in the present time slot.
• ${\displaystyle R}$ is the historical average data rate of this station.
• ${\displaystyle \alpha }$ and ${\displaystyle \beta }$ tune the "fairness" of the scheduler.

By adjusting ${\displaystyle \alpha }$ and ${\displaystyle \beta }$ in the formula above, we are able to adjust the balance between serving the best mobiles (the ones in the best channel conditions) more often and serving the costly mobiles often enough that they have an acceptable level of performance.

In the extreme case (${\displaystyle \alpha =0}$ and ${\displaystyle \beta =1}$) the scheduler acts in a round-robin fashion and serves all mobiles equally often, with no regard for resource consumption. If ${\displaystyle \alpha =1}$ and ${\displaystyle \beta =0}$ then the scheduler will always serve the mobile with the best channel conditions. This will maximize the throughput of the channel while stations with low ${\displaystyle T}$ are not served at all.[2] Using ${\displaystyle \alpha \approx 1}$ and ${\displaystyle \beta \approx 1}$ will yield the proportional fair scheduling algorithm used in 3G networks.[3]

This technique can be further parametrized by using a "memory constant" that determines the period of time over which the station data rate used in calculating the priority function is averaged. A larger constant generally improves throughput at the expense of reduced short-term fairness.