Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 2 . ( a ) Suppose that we have a multi - programming uni - processor computer in which each job has identical characteristics.
Qa Suppose that we have a multiprogramming uniprocessor computer in which
each job has identical characteristics. In one computation period, for a job,
the first and third quarters of the time are spent in processor and the second
quarter and fourth quarter in IO activity, respectively. Each job runs for a total
of four periods. Assume that simple roundrobin scheduling is used, and that
IO operations can overlap with processor operation. Assume there are three
concurrent jobs arrive at
i Compute the turnaround time of each job.
marks
ii Compute the average throughput of three jobs.
marks
iii Compute the percentage of processor utilization.
marks
b This question is about the Completely Fair Scheduler CFS found in Linux
kernel. Assume that the system has a uniprocessor with a redblack tree. There
are three CPUbound processes in Ready state; and with the following
parameters in Table :
Table
The minimum virtual runtime of the redblack tree is nanoseconds,
the period is set at milliseconds and the scheduler needs to decide which
process to execute. Using the guide provided in Appendix answer the
following questions:
i Briefly describe the main objective that CFS tries to achieve. marks
ii In what order processes and will execute within a period? Briefly
provide your reason.
marks
iii What are the virtual runtimes of processes and after they execute
for one period?
marks
iv What nice value shall you set if you were to make Process A the highest
priority among Process and
markshelp
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