CS FundamentalsHardGATE CS
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 time, at most one access in how many (approximately) may fault?
- A. about 50,000
- B. about 5,000,000
- C. about 1,000
- D. about 500,000
Correct answer: D. about 500,000
Need (1−p)·200 + p·10⁷ ≤ 220, so p·(10⁷ − 200) ≤ 20, p ≤ about 2×10⁻⁶ = 1 in roughly 500,000. Forgetting the 10% and solving for 100% slowdown would give 1 in 50,000.
More Operating Systems questions
- 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…
- Average process size s = 1 MB and each page-table entry is e = 8 bytes. Using the classic overhead model s·e/p + p/2 (page-table space…
- int A[128][128] (4-byte ints) is stored row-major in pages of 512 bytes; the array starts on a page boundary and the process has only 2…