CS FundamentalsHardGATE CS
x86-64 style 4-level paging: TLB lookup 1 ns, memory access 60 ns, TLB hit ratio 99%, no page-walk caches. What is the effective access time?
- A. 62.8 ns
- B. 62.4 ns
- C. 63.4 ns
- D. 61.6 ns
Correct answer: C. 63.4 ns
Hit: 61 ns. Miss: 1 + 4×60 + 60 = 301 ns. EAT = 0.99×61 + 0.01×301 = 63.4 ns.
More Operating Systems questions
- Physical memory is 64 MB with 4 KB frames; virtual addresses are 32-bit. Each PTE holds a frame number plus 4 control bits, and PTE size…
- A process has page-fault rate p. Memory access = 100 ns; fault service = 20 ms. To keep the effective access time below 200 ns, p must be…
- Cylinders 0–49, head at 20, previous request was at 25 (so the head is moving toward 0). Requests: 10, 22, 20, 2, 40, 6, 38. What is the…
- A disk spins at 15,000 RPM; average seek is 3.5 ms; transfer rate is 200 MB/s. What is the average time for a random 64 KB read?
- How many times is "x" printed? (Every fork() succeeds.) c int main() { if (fork() == 0) { if (fork() == 0) fork(); } printf("xn"); }
- How many times is "x" printed? (Every fork() succeeds.) c int main() { for (int i = 0; i < 2; i++) { fork(); fork(); } printf("xn"); }