Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Multiple jobs can run in parallel and finish faster than if they had run sequentially. Consider three jobs, each of which needs 1 0 minutes
Multiple jobs can run in parallel and finish faster than if they had run sequentially. Consider three jobs, each of which needs minutes of CPU time. For sequential execution, the next one starts immediately on completion of the previous one. For parallel execution, they start to run simultaneously. In addition, "running in parallel" means that you can use the utilization formula util that was discussed in the chapter notes related to Figure Guidance: for figuring completion time, consider the statements about X CPU utilization". If a job requires say minutes of CPU time, then for utilization below it should stand to reason that it'll run for more than minutes of clock time. Example: utilization means the process only uses seconds of CPU time per wall clock minute This also means that as a sole occupant of a CPU, it will run for minutes to complete. Given this, you can figure out total completion time for sequential and parallel jobs. For processes executing sequentially, determine how long one will spend in the absence of competition then it's just sequential add their times up For parallel processes, once you figure out the total CPU utilization for processes, then each job gets an equal fraction of that. For this problem, each job requires minutes of CPU time in total. What is the completion time of the last one if they run sequentially, each with CPU utilization IO wait What is the completion time of the last one if they run sequentially, each with CPU utilization IO wait What is the completion time if they run in parallel, each with CPU utilization IO wait What is the completion time if they run in parallel, each with CPU utilization IO wait
Multiple jobs can run in parallel and finish faster than if they had run sequentially. Consider three jobs, each of which needs minutes of CPU time. For sequential execution, the next
one starts immediately on completion of the previous one. For parallel execution, they start to run simultaneously. In addition, "running in parallel" means that you can use the utilization
formula util that was discussed in the chapter notes related to Figure
Guidance: for figuring completion time, consider the statements about X CPU utilization". If a job requires say minutes of CPU time, then for utilization below it should stand
to reason that it'll run for more than minutes of clock time. Example: utilization means the process only uses seconds of CPU time per wall clock minute This
also means that as a sole occupant of a CPU, it will run for minutes to complete.
Given this, you can figure out total completion time for sequential and parallel jobs. For processes executing sequentially, determine how long one will spend in the absence of
competition then it's just sequential add their times up For parallel processes, once you figure out the total CPU utilization for processes, then each job gets an equal fraction of that.
For this problem, each job requires minutes of CPU time in total.
What is the completion time of the last one if they run sequentially, each with CPU utilization IO wait
What is the completion time of the last one if they run sequentially, each with CPU utilization IO wait
What is the completion time if they run in parallel, each with CPU utilization IO wait
What is the completion time if they run in parallel, each with CPU utilization IO wait
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started