edited by
616 views
0 votes
0 votes

Five batch jobs. $A$ through $E$, arrive at a computer center at almost the same time. They have estimated running times of $10, 6, 2, 4,$ and $8$ minutes. Their (externally determined) priorities are $3, 5, 2, 1,$ and $4,$ respectively, with $5$ being the highest priority. For each of the following scheduling algorithms, determine the mean process turnaround time. Ignore process switching overhead.

  1. Round robin.
  2. Priority scheduling.
  3. First-come, first-served $($run in order $10, 6, 2, 4, 8)$.
  4. Shortest job first.

For $(a)$, assume that the system is multiprogrammed, and that each job gets its fair share of the CPU. For $(b)$ through $(d),$ assume that only one job at a time runs, until it finishes. All jobs are completely CPU bound. 

edited by

Please log in or register to answer this question.

Related questions

626
views
0 answers
0 votes
admin asked Oct 25, 2019
626 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
1.4k
views
1 answers
0 votes
admin asked Oct 25, 2019
1,413 views
A real-time system needs to handle two voice calls that each run every $6$ msec and consume $1$ msec of CPU time per burst, plus one video at $25$ frames/sec, with each frame requiring $20$ msec of CPU time. Is this system schedulable?
3.0k
views
2 answers
1 votes
admin asked Oct 25, 2019
2,975 views
A soft real-time system has four periodic events with periods of $50, 100, 200,$ and $250$ ... , respectively. What is the largest value of $x$ for which the system is schedulable?
2.3k
views
1 answers
1 votes
admin asked Oct 25, 2019
2,303 views
The aging algorithm with $a = 1/2$ is being used to predict run times. The previous four runs, from oldest to most recent, are $40, 20, 40,$ and $15$ msec. What is the prediction of the next time?