CS 3733 Operating Systems, Spring 2007 Assignment 2 Comments
- This assignment was graded on the basis of 30 points.
- Part 0 was worth 3 points.
- Parts 1 and 2 were a total of 12 points.
- Parts 3a abd 3b log files together were 10 points.
- Part 3b calculation was 2 points.
- Part 3c answer was 3 points.
- The answer to Part 0 was 1 CPU burst of 10 units.
- For Part 3b, many people did not do what was asked.
You were given the context switch time (x).
It was to be 10% of your smallest CPU burst time.
The value depends on the the cpuburst line in your run file.
You were asked how this would affect the average waiting time.
Total waiting time is nxL, where n is the number of context
switches L is the load average (both available from your simulator run).
- Part 3c: Since the total waiting time contribution is nxL,
if n is going to be greater for PSJF, this will affect
PSJF less if L is sufficiently small.