CS 3733 Operating Systems, Spring 2007 Assignment 2 Comments

  1. The answer to Part 0 was 1 CPU burst of 10 units.
  2. 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).
  3. 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.