aboutsummaryrefslogtreecommitdiffstats
path: root/tests/codel/codel_test.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-16 18:33:46 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-16 19:24:16 +0200
commit77da35515ce40baf2305cf7cf5e4008f6b478e36 (patch)
treee2547acc07f9437116d49052ff62d0e8b5acca00 /tests/codel/codel_test.c
parent7b3675bf7a6203467e6a72e255544365cefc3b06 (diff)
alloc: Make alloc_algorithm_dynamic stateful
Currently there is no persistent state being used in alloc_algorithm_dynamic. So algorithm B is even used in persistent high usage scenarios. If there are many active TBFs, multislot assigments are not fair, because MS of a "higher" multislot class get higher troughputs. On the other hand, as long as all PDCH are busy no bandwidth will be wasted even if all MS use algorithm A. This commit modifies alloc_algorithm_dynamic to disable algorithm B when that call fails. It then keeps it disabled until there is a single PDCH which is idle (it is considered idle, if there is at most one active DL TBF assigned to it). Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/codel/codel_test.c')
0 files changed, 0 insertions, 0 deletions