Processor Management – Multiprocessing, Concurrency, Scheduling & Synchronization, Threads, Deadlocks & Starvation

Solve the following problems or answer the following questions, supplying detailed steps wherever required. Thorough answers to solutions and questions required using complete sentences for answers to the questions (short incomplete sentences not acceptable).

 

Jobs – Order of Processing

 

  1. Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A52 m s , Job B512 m s , Job C515 m s , Job D57 m s , and Job E53 ms.
  2. Using FCFS, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for each of these five jobs?
  3. Using SJN, and assuming that all jobs are present when the algorithm begins, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for all five jobs?
  4. Using SJN, and assuming that all jobs are present when the algorithm begins, what is the average turnaround time for all five jobs using these speeds: Job A512 ms, Job B52 ms, Job C515 m s , Job D57 m s , and Job E53 m s.

 

 

 

 

 

 

 

Powered by WordPress