CS FundamentalsModerateProduct-company MCQ pattern
A paging system with a single-level page table has a TLB lookup time of 10 ns, a memory access time of 80 ns, and a TLB hit ratio of 85%. The TLB is searched before the page table. What is the effective memory access time?
- A. 102 ns
- B. 93.5 ns
- C. 110 ns
- D. 90 ns
Correct answer: A. 102 ns
Hit: 10 + 80 = 90 ns. Miss: 10 + 80 (page table) + 80 (data) = 170 ns. EMAT = 0.85 × 90 + 0.15 × 170 = 76.5 + 25.5 = 102 ns. Forgetting the TLB time on a miss gives a wrong lower value.
More Operating Systems questions
- Memory access time is 100 ns and servicing a page fault takes 10 ms. If 1 access in 1,000 causes a page fault, the effective access time…
- Five processes P0–P4 and three resource types A, B, C. Allocation: P0 (1,0,1), P1 (2,1,1), P2 (0,1,2), P3 (1,1,0), P4 (0,0,2). Max: P0…
- Two processes must run statements S1 (in P1) and S2 (in P2) such that S2 never executes before S1. Using one semaphore sync, which is…
- A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries, and every page table must fit exactly in one page. How…
- A Unix-style inode has 12 direct pointers, 1 single-indirect and 1 double-indirect pointer. The block size is 1 KB and a block pointer is…
- Memory holes, in order, are 150 KB, 450 KB, 250 KB, 350 KB and 500 KB. Requests arrive in order: 240 KB, 410 KB, 130 KB, 380 KB. Which…