CS FundamentalsModerateGATE CS
Which pair correctly matches each mechanism with the problem it solves? P. Aging Q. Priority inheritance R. Copy-on-write S. Working-set model
- A. P–thrashing, Q–starvation, R–priority inversion, S–costly fork
- B. P–priority inversion, Q–starvation, R–thrashing, S–costly fork
- C. P–starvation, Q–priority inversion, R–costly fork, S–thrashing
- D. P–starvation, Q–costly fork, R–priority inversion, S–thrashing
Correct answer: C. P–starvation, Q–priority inversion, R–costly fork, S–thrashing
Aging raises long-waiting processes' priority; priority inheritance bounds inversion; COW makes fork cheap; working-set allocation prevents thrashing.
More Operating Systems questions
- Match the file-system structure with what it is used for: (1) superblock, (2) inode bitmap, (3) journal, (4) directory entry. (a) maps a…
- Which sequence of metadata updates for appending a block to a file is SAFEST to write to disk without a journal, so that a crash leaves at…
- An application calls fsync() after writing a new file and then renames it into place. Why must it also fsync the containing directory on…
- A TLB with 32 entries uses 4 KB pages. A program loops over an array of 40 pages, touching each page once per pass. With LRU replacement…
- How many page faults occur when a process sequentially reads a 1 MB file through mmap() with 4 KB pages, assuming no read-ahead and none…
- Dirty pages are written back by a background daemon every 30 s. A process writes 100 MB to a file and then the machine loses power 10 s…