Fairness measures or metrics are used in network engineering to determine whether users or applications are receiving a fair share of system resources. There are several mathematical and conceptual definitions of fairness.
Congestion control mechanisms for new network transmission protocols or peer-to-peer applications must interact well with Transmission Control Protocol (TCP). TCP fairness requires that a new protocol receive a no larger share of the network than a comparable TCP flow. This is important as TCP is the dominant transport protocol on the Internet, and if new protocols acquire unfair capacity they tend to cause problems such as congestion collapse. This was the case with the first versions of RealMedia's streaming protocol: it was based on UDP and was widely blocked at organizational firewalls until a TCP-based version was developed. TCP throughput unfairness over WiFi is a critical problem and needs further investigations.[1]
Raj Jain's equation,
l{J}(x1,x2,...,xn)=
| |||||||||
|
| ||||
| ||||
2}
rates the fairness of a set of values where there are
n
xi
i
\widehat{c\rm
\tfrac{1}{n}
\tfrac{k}{n}
k
n-k
This metric identifies underutilized channels and is not unduly sensitive to atypical network flow patterns.[2]
To achieve a given fairness level
F
xk=A ⋅ k\alpha
\alpha= | 1-F+\sqrt{1-F |
xk
An exact method is to let
xk=A ⋅ e2\alpha
\alpha
\tanh(n\alpha) | |
n\tanh(\alpha) |
=F
\alpha
ln\left(
\tanh(n\alpha)-\tanh(\alpha) | |
(nF-1) ⋅ \tanh(\alpha) |
\right)=0
xk'=\left\lfloorxk\right\rfloor
xk-\left\lfloorxk\right\rfloor
See main article: Max-min fairness. Max-min fairness is said to be achieved by an allocation if and only if the allocation is feasible and an attempt to increase the allocation of any flow necessarily results in the decrease in the allocation of some other flow with an equal or smaller allocation. A max-min fair allocation is achieved when bandwidth is allocated equally and in infinitesimal increments to all flows until one is satisfied, then amongst the remainder of the flows and so on until all flows are satisfied or the bandwidth is exhausted.
In packet radio wireless networks, The fairly shared spectrum efficiency (FSSE) can be used as a combined measure of fairness and system spectrum efficiency. The system spectral efficiency is the aggregate throughput in the network divided by the utilized radio bandwidth in hertz. The FSSE is the portion of the system spectral efficiency that is shared equally among all active users (with at least one backlogged data packet in queue or under transmission). In case of scheduling starvation, the FSSE would be zero during certain time intervals. In case of equally shared resources, the FSSE would be equal to the system spectrum efficiency. To achieve max-min fairness, the FSSE should be maximized.
FSSE is useful especially when analyzing advanced radio resource management (RRM) schemes, for example channel adaptive scheduling, for cellular networks with best-effort packet data service. In such system it may be tempting to optimize the spectrum efficiency (i.e. the throughput). However, that might result in scheduling starvation of "expensive" users at far distance from the access point, whenever another active user is closer to the same or an adjacent access point. Thus the users would experience unstable service, perhaps resulting in a reduced number of happy customers. Optimizing the FSSE results in a compromise between fairness (especially avoiding scheduling starvation) and achieving high spectral efficiency.
If the cost of each user is known, in terms of consumed resources per transferred information bit, the FSSE measure may be redefined to reflect proportional fairness. In a proportional fair system, this "proportionally fair shared spectrum efficiency" (or "fairly shared radio resource cost") is maximized. This policy is less fair since "expensive" users are given lower throughput than others, but still scheduling starvation is avoided.
The idea of QoE fairness is to quantify fairness among users by considering the Quality of Experience (QoE) as perceived by the end user. This is especially of importance in network management where operators want to keep their users sufficiently satisfied (i.e. high QoE) in a fair manner, see QoE management. Several approaches have been proposed to ensure network-wide QoE fairness especially for adaptive video streaming.[3] [4]
\sigma
Hossfeld et al. have proposed a QoE Fairness index which considers the lower bound
L
H
F=1-
2\sigma | |
H-L |
The QoE fairness index
F
[0;1]
H
L
Product-based fairness indices are based on the general fairness formulation:
n | ||
l{A}(x)=\prod | f\left( | |
i=0 |
xi | |
max(x) |
\right)
f
f
f(x)\in[0,1]
0\leqx\leq1
An allocation that has fairness F according to the formulation above can be given by
xj=A ⋅ f-1\left(\exp\left(ln(F) ⋅
n | |
g(j)/\sum | |
i=0 |
g(i)\right)\right)
g(x)
g(0)=0
g(x)=xm
f(0)=0
f(1)=1
f-1\left(\exp\left(
m+1 | |
n |
ln(F)\right)\right)
The linear product-based fairness index has
f(x)=x
|
l{L}(x)
xi/max(x)
h=\{20,10,5,1\}
l{L}(h)=0.00625
The G's fairness index
l{I}
k
| ||||
f(x)=\sin(x\pi/2) |
n | ||
l{G} | \sin\left( | |
i=1 |
\pixi | |
2max(x) |
| ||||
\right) |
k\inR+
max(x)
Compared to Jain's fairness index, G's fairness index yields smaller values, it is more sensitive to potential unfair bandwidth distribution and can go to zero. In the context of networks, the latter is an advantage over Jain's fairness index when a few values in a set drop to low levels.Moreover, Jain's fairness index is deemed as an average user perception of fairness[6] whereas G's fairness index is focused more on equality within a group. For example, for
m=\{20,20,20,0\}
Jain(m)=0.75
l{G1}(m)=0
Whereas G's fairness index inflates the fractions closer to
max(x)
k
| ||||
f(x)=x |
l{B}k(x)=\prod
| ||||
i=1 |
| ||||
\right) |
k=1
Causal fairness measures the frequency with which two nearly identical users or applications who differ only in a set of characteristics with respect to which resource allocation must be fair receive identical treatment.[7]
Several other metrics have been defined, such as Worst Case Fairness.[8]