CS FundamentalsVery hardGATE CS
Periodic tasks (execution time, period = deadline): T1 (1, 4), T2 (2, 6), T3 (3, 12), scheduled by rate-monotonic priorities. Which statement is correct?
- A. U ≈ 0.833 exceeds the 0.78 Liu-Layland bound, so RM is certain to miss some deadline
- B. U ≈ 0.833 exceeds the 0.78 bound, yet T3's worst-case response is 10 ≤ 12, so RM meets every deadline
- C. U ≈ 0.833 is below the 3-task Liu-Layland bound, so RM meets every deadline
- D. Only EDF can meet every deadline, because U is above the RM bound of 0.78
Correct answer: B. U ≈ 0.833 exceeds the 0.78 bound, yet T3's worst-case response is 10 ≤ 12, so RM meets every deadline
The Liu-Layland bound is only sufficient. Iterating R = 3 + ⌈R/4⌉ × 1 + ⌈R/6⌉ × 2 gives 6, 7, 9, 10, 10, so T3 completes by 10 ≤ 12; T1 and T2 respond at 1 and 3. EDF would also work, but it is not required.
More Operating Systems questions
- A Unix-style inode has 10 direct pointers, 1 single-indirect and 1 double-indirect pointer. Blocks are 1 KB and block pointers 4 bytes…
- Same inode (10 direct, 1 single-indirect, 1 double-indirect; 1 KB blocks; 256 pointers per block). The inode is already in memory and…
- A 2 GB partition uses a FAT with 4 KB clusters and 4-byte FAT entries. How large is one copy of the FAT?
- A TLB has 64 entries. What is its reach with 4 KB pages, and with 2 MB huge pages?
- A 32-bit system uses two-level paging with 4 KB pages and 4-byte entries (a 1024-entry outer table, each inner table mapping 4 MB). A…
- A disk spins at 7200 RPM, has 400 sectors of 512 bytes per track and an average seek of 5 ms. About how long does it take on average to…