Question
Suppose we have four jobs in a computer system, in the order JOB1, JOB2, JOB3 and JOB4. JOB1 requires 8 s of CPU time and
Suppose we have four jobs in a computer system, in the order JOB1, JOB2, JOB3 and JOB4. JOB1 requires 8 s of CPU time and 8s of I/O time; JOB2 requires 4s of CPU time and 14s of disk time; JOB3 requires 6s of CPU time; and, JOB4 requires 4s of CPU time and 16s of printer time. Define the following quantities for system utilization: Turnaround time = actual time to complete a job Throughput = average number of jobs completed per time period T Processor utilization = percentage of time that the processor is active (not waiting) Compute these quantities (with illustrations if needed) in each of the following systems: a. A uniprogramming system, whereby each job executes to completion before the next job can start its execution. b. A multiprogramming system that follows a simple round-robin scheduling. Each process gets 2s of CPU time turn-wise in a circular manner
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