CS FundamentalsHardGATE CS
A TLB has 128 entries and pages are 4 KB. A process's working set is 2 MB and is accessed uniformly at random. Approximately what fraction of accesses will miss in the TLB (fully associative, LRU)?
- A. about 25%
- B. about 50%
- C. 0%
- D. about 75%
Correct answer: D. about 75%
TLB reach = 128 × 4 KB = 512 KB, a quarter of the 2 MB working set. With uniform random access, only about 1/4 of accesses find their page in the TLB, so about 3/4 miss.
More Operating Systems questions
- A system uses segmentation with paging: a 32-bit logical address has a 4-bit segment number, and each segment is paged with 4 KB pages and…
- A machine has 2 GB of physical memory with 8 KB frames, uses 48-bit virtual addresses, and an inverted page table with 16-byte entries…
- Reference string (times 1 to 20): 2, 6, 1, 5, 7, 7, 7, 7, 5, 1, 6, 2, 3, 4, 1, 2, 3, 4, 4, 4. With window Δ = 5, what is the working-set…
- A system's CPU utilisation is 12% while the paging disk is 98% busy. Which action is most likely to INCREASE CPU utilisation?
- TLB lookup 10 ns, memory access 100 ns, single-level page table, TLB hit ratio 90%. One in a million accesses causes a page fault…
- A system has 62 free frames shared by two processes of sizes 10 pages and 127 pages, allocated proportionally to size (rounded down). How…