TuAtAu
Advanced Member level 4
Hi,
I am learning the REAL TIME OS currently.
While I am studying the Rate-Monotonic Algorithm, I realize some problem.
What if the JOB is missed the deadline, does the scheduler continue to schedule it after the JOB's deadline?
Example, a Job A deadline at time 5, and execution time is 3, and it's turn is at time 4.
Means, time
0 ----> 4 execute other job
4 -> 5 execute Job A (3 execution time)
BUT JOB A's deadline at time 5! execution will complete at time 7!!
If the algorithm is preemptive, does the scheduler will preempt to other JOB x and destroy the JOB A at time 5[deadline]? or at time 7[finish execute]?
I am learning the REAL TIME OS currently.
While I am studying the Rate-Monotonic Algorithm, I realize some problem.
What if the JOB is missed the deadline, does the scheduler continue to schedule it after the JOB's deadline?
Example, a Job A deadline at time 5, and execution time is 3, and it's turn is at time 4.
Means, time
0 ----> 4 execute other job
4 -> 5 execute Job A (3 execution time)
BUT JOB A's deadline at time 5! execution will complete at time 7!!
If the algorithm is preemptive, does the scheduler will preempt to other JOB x and destroy the JOB A at time 5[deadline]? or at time 7[finish execute]?