I am studying on traffic models but I have a question about scheduler algorithms which support traffic models.
1) Why Round Robin traffic algorithm uses “get_efficiency function” in lte_scheduler while round robin algorithm doesn’t use that function?
2) What is the duty of “get_efficiency” function? According to my opinion, this function gets efficiencies of users and sorts user indices randomly. Therefore, efficiency values that correspond to user indices change to provide service better to edge users. Is it right?
There is no sorting of UEs by efficiency, since it is a round robin scheduler.
The result of get_efficiency is used later for coarse_decrease, to know roughly how many bits are still left in the transmit buffer of the scheduled UE (since the CQI is averaged over all scheduled RBs, this is not exact). This is done to avoid assigning more RBs to UEs that then don’t have more data to transmit.