[Make-wifi-fast] Thoughts on tackling airtime fairness
Toke Høiland-Jørgensen
toke at toke.dk
Wed May 11 11:28:19 EDT 2016
David Lang <david at lang.hm> writes:
>> I expect that if you were able to change this even once/sec and
>> account for the rate you would be far better than what we have now.
I suspect so too, but would like to have someone who actually tried it
before confirm it ;)
> by the way, I have logs from the last two scale conferences of the
> /sys data per-station showing the rate info. if you give me a way to
> send you the multi-G file you can look through it to see how rapidly
> the rate changes for a given station under real-world
> high-user-density conditions.
Hmm, can probably give you and sftp dump space; will set it up and
message you off-list :)
> I suspect that the biggest problem right now is that the higher level
> scheduling isn't accounting for "station X is at rate 1, station Y is
> at rate 100" and is trying to be 'fair' by sending the same amount of
> data to each of them.
Well, from a scheduling perspective, there really is no "higher level
scheduling". There's just a FIFO queue.
However, the throughput-based fairness you describe is an intrinsic
property of the 802.11 DCF. This is known in the academic literature as
"the 802.11 performance anomaly", It was first described in 2003(!) for
802.11b [1]. There has been several academic publications on ways to fix
this (just finished the one Lucas linked, which was pretty good), but
none of this seems to have percolated into mainline Linux. Surprise,
surprise.
-Toke
[1] M. Heusse, F. Rousseau, G. Berger-Sabbatel and A. Duda, "Performance
anomaly of 802.11b,"
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1208921&isnumber=27206
More information about the Make-wifi-fast
mailing list