CS FundamentalsHardProduct-company MCQ pattern
A system uses two-level paging and a TLB. TLB access = 10 ns, memory access = 100 ns, TLB hit ratio = 90%. The TLB is searched first, and on a miss both page-table levels are read from memory. What is the effective memory access time?
- A. 130 ns
- B. 140 ns
- C. 210 ns
- D. 120 ns
Correct answer: A. 130 ns
Hit: 10 + 100 = 110 ns. Miss: 10 + 100 + 100 (two table levels) + 100 (data) = 310 ns. EMAT = 0.9 × 110 + 0.1 × 310 = 99 + 31 = 130 ns. Counting only one table access on a miss gives 120 ns.
More Operating Systems questions
- TLB access = 20 ns, memory access = 100 ns, single-level page table, TLB searched first. What is the minimum TLB hit ratio for the…
- Memory access takes 100 ns and a page fault takes 5 ms to service. For the effective access time to be at most 20% slower than a…
- A machine has 1 GB of physical memory, 4 KB pages, 64-bit virtual addresses and an inverted page table. How many entries does the inverted…
- How many of the following statements are correct? 1. Increasing the degree of multiprogramming always increases CPU utilisation. 2…
- Cylinders 0–199, head at 72 currently moving towards cylinder 0. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Under SCAN, what is the…
- Cylinders 0–199, head at 72 moving towards higher cylinders. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Under C-SCAN, counting the…