Week 10 Flashcards
1
Q
What is a Short-term scheduler?
A
It selects from among the processes in the ready queue, and allocated the CPU to one of them
2
Q
What is a dispatcher and dispatch latency?
A
- Dispatcher gives control of the CPU to the process selected by the short-term scheduler.
- Dispatch latency is the time it takes for the dispatcher to stop one process and start another running
3
Q
What is CPU utilization?
A
- Keeps the CPU as busy as possible
4
Q
What is throughput?
A
- # of processes that complete their execution per time unit
5
Q
What is Turnaround Time?
A
- Amount of time to execute a particular process
6
Q
What is Waiting time?
A
- Amount of time a process has been waiting in the ready queue
7
Q
What is Response Time?
A
- Amount of time it takes from when a request was submitted until the first response is produced
8
Q
What is FCFS(First come first served ) scheduling.
A
- The gantt chart will process them in the order they came in
9
Q
What is SJF(Shortest Job First) Scheduling?
A
- The process will be served based on the shortest burst time to the longest burst time.
10
Q
Describe a problem and solution with Priority Scheduling
A
- Problem: Starvation - low priority processes may never execute
- Solution: Aging - as time progreesses increase the priority of the process
11
Q
What is Round Robin scheduling?
A
- Each process gets a small unit of CPU time. After this time has elapsed, the process is preempted and added to the end of the ready queue.