CS FundamentalsVery hardGATE CS · Advanced
Three periodic tasks (C, T) with deadline equal to period, all released at t = 0, are: (1, 4), (4, 9), (4, 15). Their total utilisation is 0.961, below 1. Under preemptive rate-monotonic scheduling (shorter period = higher priority), at what time does the first deadline miss occur?
- A. t = 15
- B. t = 180
- C. t = 14
- D. t = 19
Correct answer: A. t = 15
Simulate RM on a unit grid: the lowest-priority job is starved by the repeated releases of the others and is still unfinished at its deadline t = 15, even though U < 1 (EDF would meet every deadline since U <= 1). RM's guarantee needs U below about 0.78 for three tasks.
More Operating Systems questions
- Four processes with CPU bursts 5, 3, 8 and 2 ms arrive at time 0 in that order and are scheduled by FCFS. What is the average waiting time?
- Processes with bursts 6, 8, 7 and 3 ms all arrive at time 0 and are scheduled by non-preemptive SJF. What is the average waiting time?
- How many page faults occur under FIFO replacement with 3 frames (initially empty) for the reference string 2, 3, 2, 1, 5, 2, 4, 5, 3, 2…
- How many page faults occur under LRU replacement with 3 frames (initially empty) for the reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0…
- A memory access takes 100 ns and a TLB lookup takes 10 ns. With a TLB hit ratio of 90% and a single-level page table in memory, what is…
- The disk head is at cylinder 53 and the request queue is 98, 183, 37, 122, 14, 124, 65, 67. What is the total head movement under SSTF…