consider the pattern of red and green packet arrivals to a
router's output port queue, shown below suppose each packet takes
one time slot to be transmitted and can only begin transmission at
the beginning of a time slot after its arrival, answer the
following questions under priority scheduling, where red packets
have higher priority.
1.AT t=1, which packet is sent out ? give the packet # or x if
applicble
answer:
2.AT t=2, which packet is sent out ? give the packet # or x if
applicble
answer:
3.AT t=3, which packet is sent out ? give the packet # or x if
applicble
answer:
4.AT t=4, which packet is sent out ? give the packet # or x if
applicble
answer:
5.AT t=5, which packet is sent out ? give the packet # or x if
applicble
answer:
6.AT t=7, which packet is sent out ? give the packet # or x if
applicble
answer:
7.AT t=8, which packet is sent out ? give the packet # or x if
applicble
answer:
3
4
5
Arrivals
Packet in service
?
?
?
?
0
Departures
2
3
4
6