Question: Question 4 : CPU Scheduling Implementation Round Robin: Expectations: - Average Run Time: Will decrease with more CPUs implemented. This is because multiple processes can
Question : CPU Scheduling Implementation
Round Robin:
Expectations:
Average Run Time: Will decrease with more CPUs implemented. This is because multiple processes can be concurrently executed. This reduces the time each process spends waiting for time in CPU.
Wait Time: High with CPU, decreases with more implemented. This is because more processes can be handled at the same time.
Sleep time: With more CPUs, sleep time should increase as IObound processes will get more frequent access to the CPU.
Testing: SCHEDULERRR schedtest
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
FirstComeFirstServed:
Expectations:
Average Run Time: Will decrease with more CPUs implemented. More processes can be simultaneously scheduled when more CPUs are available.
Wait Time: High with CPU, decreases with more implemented. With CPU, tends to be lower compared with Round Robin.
Sleep time: Should remain constant, regardless of how many CPUs are available. This is because processes can run without preemption.
Testing: SCHEDULERFCFS schedtest
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
Priority:
Expectations:
Average Run Time: With more CPUs, should increase as the scheduler can execute many highpriority processes simultaneously.
Wait Time: As more CPUs are implemented, the wait time should decrease. This is because lowerpriority processes will have more opportunity to be scheduled.
Sleep time: May show variation with more CPUs as the system can schedule IObound processes more effectively.
Testing: SCHEDULERPRIORITY schedtest
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
CPUS: Average runtime wait time sleep time
a Comparing these average timings you have obtained, are they what you would
expect?
b Provide justifications for your answer to a above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
