Policy SJF
Here is the job list, with the run time of each job: Job 0 ( length = 7 ) Job 1 ( length = 1 ) Job 2 ( length = 13 ) Job 3 ( length = 5 ) Job 4 ( length = 6 ) Show the SJF scheduling execution trace:
[ time 0 ] Run job 1 for 1.00 secs ( DONE at 1.00 ) [ time 1 ] Run job 3 for 5.00 secs ( DONE at 6.00 ) [ time 6 ] Run job 4 for 6.00 secs ( DONE at 12.00 ) [ time 12 ] Run job 0 for 7.00 secs ( DONE at 19.00 ) [ time 19 ] Run job 2 for 13.00 secs ( DONE at 32.00 )