Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Introduction After some initial analysis, UnimasMeta found that Round Robin ( RR ) has better performance compared to other process scheduling algorithms namely
Introduction
After some initial analysis, UnimasMeta found that Round Robin RR has better
performance compared to other process scheduling algorithms namely Firstcome FirstServed FCFS Shortest job next SJN and S Introduction
After some initial analysis, UnimasMeta found that Round Robin RR has better
performance compared to other process scheduling algorithms namely Firstcome FirstServed FCFS Shortest job next SJN and Shortest remaining time SRT However, to
have a holistic analysis on the best time quantum according to the client specification, a
list of jobs used by the client is provided to UnimasMeta for further analysis.
Your tasks are to:
a Implement or code the Round Robin algorithm which was designed during
the TMF Operating System assignment, with C C programing language.
b Use the program to read the provided job list. The job list for your group is
provided separately in an excel file based on your group number. Use only a job
list assigned to your group. Each group will get a different job list.
c Evaluate the job list with different time quantum:
by determining the following performance metrics:
i Turnaround time of the jobs;
ii Waiting time of the jobs; and
iii Number of interrupts incurred.
d Recommend the best time quantum for your job list based on your evaluation in
c Use suitable charts to explain and justify your recommendation.
e Prepare a minute presentation that reports on the performance evaluation
of all time quantum and your recommendation of the best time quantum.
Assumptions
a All the arrived jobs are at Ready State and ready to be processed by the CPU.
b Only ONE CPU available for processing the jobs.
c Each context switching incurs ONE CPU CYCLE.
d Memory is always sufficient to hold any jobs.
e Each job has mixture of CPU and IO instructions, and the integer between the
brackets indicates CPU or IO cycle required for each instruction Please refer to
the job list assigned to your group
Example:
CPU The integer represents the computational instruction requires
CPU cycle to compute.
IO The integer represents the IO instruction requires CPU cycle to
completehortest remaining time SRT However, to
have a holistic analysis on the best time quantum according to the client specification, a
list of jobs used by the client is provided to UnimasMeta for further analysis.
Your tasks are to:
a Implement or code the Round Robin algorithm which was designed during
the TMF Operating System assignment, with C C programing language.
b Use the program to read the provided job list. The job list for your group is
provided separately in an excel file based on your group number. Use only a job
list assigned to your group. Each group will get a different job list.
c Evaluate the job list with different time quantum:
by determining the following performance metrics:
i Turnaround time of the jobs;
ii Waiting time of the jobs; and
iii Number of interrupts incurred.
d Recommend the best time quantum for your job list based on your evaluation in
c Use suitable charts to explain and justify your recommendation.
e Prepare a minute presentation that reports on the performance evaluation
of all time quantum and your recommendation of the best time quantum.
Assumptions
a All the arrived jobs are at Ready State and ready to be processed by the CPU.
b Only ONE CPU available for processing the jobs.
c Each context switching incurs ONE CPU CYCLE.
d Memory is always sufficient to hold any jobs.
e Each job has mixture of CPU and IO instructions, and the integer between the
brackets indicates CPU or IO cycle required for each instruction Please refer to
the job list assigned to your group
Example:
CPU The integer represents the computational instruction requires
CPU cycle to compute.
IO The integer represents the IO instruction requires CPU cycle to
complete
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