CS FundamentalsHardWipro Elite · LTIMindtree
A system uses a two-level page table. A TLB lookup takes 10 ns, a memory access takes 100 ns and the TLB hit ratio is 80%. On a TLB miss, both page-table levels are read from memory before the data access. What is the effective access time?
- A. 130 ns
- B. 140 ns
- C. 150 ns
- D. 160 ns
Correct answer: C. 150 ns
EAT = 0.8 x (10 + 100) + 0.2 x (10 + 100 + 100 + 100) = 88 + 62 = 150 ns.
More Operating Systems questions
- The reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 is run under FIFO replacement first with 3 frames and then with 4 frames (all…
- The head is at cylinder 50 moving towards higher cylinders, and the queue is 82, 170, 43, 140, 24, 16, 190. What is the total head…
- Free partitions in memory order are 100, 500, 200, 300 and 600 KB. Processes of 212, 417, 112 and 426 KB arrive in that order. Which…
- A spinlock is built with an atomic test-and-set instruction. Which property does the plain version of this lock NOT guarantee?
- How many processes (including the original one) exist after this program runs to completion? c fork(); if (fork()) { fork(); }
- A file system uses 4 KB blocks and 4-byte block pointers. An inode has 12 direct pointers, one single-indirect and one double-indirect…