Selects which process in the ready memory queue should be executed next, and allocates the
cpu to it - ANS-What is the overall purpose of the short-term scheduler (aka CPU scheduler)?
Decides if a new process should be put in the ready queue or put into secondary storage (ex.
hårddisk). Readykön kunde inte vara så stor, man använder en job pool in secondary storage. -
ANS-What is the overall purpose of the long-term scheduler?
Fungerar som en LTS men kan också ta processer från ready queue till secondary storage.
Flyttar alltså processer mellan ready queue och secondary storage åt båda håll - ANS-What is
the overall purpose of the medium-term scheduler?
Multiprogramming maximizes CPU utilization. The % of time the CPU is executing user level
process code. Maximize - ANS-Define CPU utilization and state the if the goal is to minimize or
maximize the metric
Number of processes that complete their execution per time unit. Maximize - ANS-Define
throughput and state the if the goal is to minimize or maximize the metric
Amount of time to execute a particular process. Minimize - ANS-Define turnaround and state the
if the goal is to minimize or maximize the metric
Amount of time a process has been waiting in the ready queue. Minimize - ANS-Define
waitingtime and state the if the goal is to minimize or maximize the metric
Amount of time it takes from when a request was submitted until the first response is produced.
Minimize - ANS-Define responsetime and state the if the goal is to minimize or maximize the
metric
En tid då CPU gör grejer oavbrutet - ANS-What is meant by CPU burst?
En tid då I/O svarar - ANS-What is meant by I/O burst?
An CPU-bound process spends more time doing computations and is characterized by few very
long CPU bursts. - ANS-What characterizes a CPU bound process?
An I/O-bound process spends more time doing I/O than computations and is characterized by
many CPU bursts. - ANS-What characterizes an I/O bound process?