CS-224-Lectures

Resource allocation, fairness, QoS

Time Round BitsofA BitsofB Event 0 0 0 0 A1 arrives 50 50 50 0 A2,B1,B2 arrive 150 100 50 50 A1,B1 done 250 150 50 50 B2 done 300 200 50 0 A2 done

So BR achieves the following order A1,B1(150), B2(250), A1(300). We want to achieve something similar using packets. That is the goal of FQ.

Time Round BitsofA BitsofB Event 0 0 0 0 A1 arrives 50 50 50 0 A2,B1,B2 arrive 110 60 10 50 B1 done 170 70 10 50 B2 done 200 100 30 0 A1 done 300 200 100 0 A2 done

Round Time DC_A DC_B Event 1 0 0+60=60 0 A1 arrives, starts transmission 1 100 60-100=-40 0+60=60 B1 starts 1 150 -40 60-50=10 B1 done, one round done 2 150 -40+60=20 10 A2 starts 2 250 20-100=-80 10+60=70 A2 done, B2 starts 2 300 -80 70-50=20 B2 done

Round Time DC_A DC_B Event 1 0 0+40=40 0 A1 arrives, starts transmission 1 100 40-100=-60 0+40=40 B1 starts 1 150 -60 40-50=-10 B1 done, round 1 done 2 150 -60+40=-20 -10+40=30 skip A, start B2 2 200 -20 30-50=-20 B2 done, round 2 done 3 200 -20+40=20 -20 A2 starts 3 300 20-100=-80 -20 A2 done