cse4600 Exam 2 Flashcards
What does PF stand for and what does it do?
Priority Function; The decision for which process will be allowed to execute
What does AR stand for and what does it do?
Arbitration Function; When two processes with equal priority are too be scheduled
What does DM stand for and what does it do?
Dynamic priority Measures; Parameters that change over time
Name some system measures that may determine priority level
external priority total service time deadline real-time in the system memory requirements
What is turnaround time
Total time between the submission of the process for execution and the return of the complete output
What is waiting time
amount of time a job is sitting ideal before the process is used
First in First out - Pros and Cons
Pro - Easy to implement - Ignores service time Cons - Not a great performer
First in First out PF
P = r, where r is the amount of real time
First in First out DM
Non - Preemptive
First in First out AR
random choice among processes arriving at exactly the same time
Shortest Job First PF
P = -t, where t is the total service time
Shortest Job First DM
Non - Preemptive
Shortest Job First AR
either chronological or random among processes with same service time
Shortest Remaining Time PF
P = - (t - a), where t-a is the remaining time
Shortest Remaining Time DM
Preemptive
Shortest Remaining Time AR
chronological or random among processes with same service time
Round Robin PF
P = 0, all processes have the same priority
Round Robin DM
preemptive quantum oriented
Round Robin AR
cyclic
Multilevel Priority PF
P = e
Multilevel Priority DM
preemptive if newly arriving process has a higher priority
within each priority queue, scheduling may be preemptive RR or non-preemptive FIFO
Multilevel Priority AR
cyclic if RR, random/chronological if FIFO
Multilevel Feedback PF
function of attained service time with different implementations possible
Multilevel Feedback DM
preemptive or non-preemptive; processes in the same level may use RR or FIFO
Multilevel Feedback AR
cyclic or random/chronological
Rate Monotonic PF
P = -d, where d is a fixed period of time that process needs to use the cpu