CS FundamentalsHardGATE CS
A system has a 3-level page table and a TLB. TLB lookup = 20 ns, memory access = 100 ns, TLB hit ratio = 95%. The TLB is searched before memory, and on a miss every level of the table is read from memory. What is the effective memory access time?
- A. 130 ns
- B. 135 ns
- C. 115 ns
- D. 134 ns
Correct answer: B. 135 ns
Hit: 20 + 100 = 120 ns. Miss: 20 + 3×100 (three table levels) + 100 (data) = 420 ns. EAT = 0.95×120 + 0.05×420 = 135 ns. Forgetting the data access on a miss gives 130.
More Operating Systems questions
- Memory access time is 100 ns, average page-fault service time is 8 ms, and the page-fault rate is 1 in 100,000 accesses. Ignoring TLB…
- Memory access takes 200 ns and a page fault takes 10 ms to service. To keep the effective access time within 10% of the memory access…
- A machine has 36-bit virtual addresses, 8 KB pages and 4-byte page-table entries. A two-level page table is used in which the inner page…
- A system has 32-bit virtual addresses, 1 GB of physical memory, 4 KB pages, and each page-table entry holds the frame number plus a valid…
- Page size is 2 KB. The page table maps page 0 → frame 6, page 1 → frame 2, page 2 → frame 9, page 3 → frame 4. What physical address does…
- A process's size is uniformly distributed and much larger than the page size P. On average, how much memory per process is lost to…