In this exercise sheet you will schedule the execution of different processes on paper. Several scheduling techniques will be analyzed.
Process | Arrival Time | Service Time | Priority |
---|---|---|---|
A | 0 | 3 | 1 |
B | 2 | 6 | 1 |
C | 4 | 4 | 2 |
D | 6 | 5 | 2 |
E | 8 | 2 | 3 |
The previous table describes the arrival time, service time and priority of 5 different processes.
For each task in this exercise:
- create a GANTT chart describing how these processes are assigned to the CPU according to the given scheduling algorithms, and
- compute the turnaround time, response time and throughput in each of these cases.
Include the GANTT charts and the requested data into the file you submit via OLAT.
The considered scheduling algorithms are as follows:
- FCFS (First Come First Served)
- SPN (Shortest Process Next)
- SRT (Shortest Remaining Time Next)
- Round Robin (quantum = 1)
- Round Robin (quantum = 4)
- Highest Priority First with preemption
- Highest Priority First without preemption