Fairness definition of Golestani:
(See: click here )
A scheduling algorithm is fair if:
if f and g are continuously backlogged in [t1,t2], then:
∃ constant c: | wf(t1,t2) - wg(t1,t2) | < c
i.e.:
| Wf(t1,t2) Wg(t1,t2) |
∃ constant c: | --------- - --------- | < c
| rf rg |
Showing that BSFQ guarantees fairness
We will show the
difference in
normalized service received
using the BSFQ scheduler
by 2 different backlogged flows
is bounded:
But before we can do so,
we need to
prove some
preliminary facts....
A relationship between
V(pfi) and
VT(L(pfi))
V(pfi) =
the (virtual) time stamp of
packet
pfi
Packet
pfi
is inserted into some
time bin [xΔ, (x+1)Δ):
Because packet
pfi
is in
time bin [xΔ, (x+1)Δ),
we conclude that:
xΔ ≤ V(pfi) < (x+1)Δ ........ (1)
When the packet
pfi is
about to
leave the
BSFQ server, the
current binmust be
time bin [xΔ, (x+1)Δ):
The virtual time
at the moment that
packet
pfideparts is equal to: