assuming fifo service, indicate the time at which packets 2 through 12 each leave the queue. for each packet, what is the delay between its arrival and the beginning of the slot in which it is transmitted? what is the average of this delay over all 12 packets?

Respuesta :

In fifo service, 2.916 is the average of this delay over all 12 packets.

What is  fifo service?

  • First in, first out (FIFO) is a simple method for valuing inventories that relies on the idea that the first-produced or-bought products will be sold first.
  • Theoretically, this means that the oldest inventory is sent to clients before the newest inventory.

FIFO is First In First Out, so the packets will be serviced in order of their arrival. The order of arrival of the packets is 1 2 3 4 6 5 7 8 9 10 11 12 so the packets will be serviced in this order.

Packet

Index Arrive Queue Time Leave Queue Time Delay

1                      0                                 1                             1

2                       0                         2                              2

3                       1                                 3                               2

4                       1                                 4                               3

5                       3                         6                              3

6                        2                        5                               3

7                        3                        7                               4

8                        5                        8                               3

9                        5                        9                              4

10                        7                        10                                  3

11                       8                       11                             3

12                       8                     12                             4

Average Delay of 12 Packets 2.916

Average delay = (1+2+2+3+3+3+4+3+4+3+3+4)/12 = 32/12 = 2.916

In Priority Service whenever we have a packet with odd index we will service it first.

Learn more about FIFO

brainly.com/question/17236535

#SPJ4