Question: USE the SJF Queue, whichever one is easier and fast 1. [8 marks] Suppose in a single server queue the arrival times and service times

USE the SJF Queue, whichever one is easier and fast
1. [8 marks] Suppose in a single server queue the arrival times and service times of the respective customers are given in the following Table: Customer no. Arrival Times Service Times 1 0.8 2.2 2 2.5 0.5 3 2.8 0.4 4 4.7 2.8 5 5.2 0.2 6 5.5 0.6 7 7.6 0.9 The discipline of the queue depends on your Student ID. If your ID is an even number, use the LIFO queue and if your ID is an odd number, use the SJF queue. a) Find the average delay, expected number of customers in the queue from the simulation. b) Draw the B(t) vs t graph and find the total area under the B(t) graph. Find the expected utilization of the server from this area value. 1. [8 marks] Suppose in a single server queue the arrival times and service times of the respective customers are given in the following Table: Customer no. Arrival Times Service Times 1 0.8 2.2 2 2.5 0.5 3 2.8 0.4 4 4.7 2.8 5 5.2 0.2 6 5.5 0.6 7 7.6 0.9 The discipline of the queue depends on your Student ID. If your ID is an even number, use the LIFO queue and if your ID is an odd number, use the SJF queue. a) Find the average delay, expected number of customers in the queue from the simulation. b) Draw the B(t) vs t graph and find the total area under the B(t) graph. Find the expected utilization of the server from this area value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
