CS FundamentalsVery hardTCS Digital · Infosys
Memory access takes 200 ns and servicing a page fault takes 8 ms. For the effective access time to degrade by no more than 10% over the fault-free 200 ns, roughly how many memory accesses must occur per page fault at the very least?
- A. About 4,00,000 (4 x 10^5)
- B. About 4,000 (4 x 10^3)
- C. About 40,000 (4 x 10^4)
- D. About 40,00,000 (4 x 10^6)
Correct answer: A. About 4,00,000 (4 x 10^5)
EAT = (1 - p) x 200 + p x 8,000,000 <= 220 gives p x 7,999,800 <= 20, so p <= about 2.5 x 10^-6, i.e. at least one fault per ~4 x 10^5 accesses.
More Operating Systems questions
- A segment table holds (base, limit): segment 0 = (1200, 700), segment 1 = (4000, 300), segment 2 = (3000, 500). Which logical address…
- A disk has an average seek time of 8 ms, rotates at 7,200 RPM and transfers data at 100 MB/s. Using the average rotational latency (half a…
- For the reference string 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 with 4 frames (initially empty), how many more page…
- In the standard five-state process model, which transition can NEVER happen directly?
- The data structure in which the OS keeps a process's program counter, register contents, state and open-file list is called the:
- Short jobs stuck waiting behind one long CPU-bound job is called the convoy effect. It is characteristic of which scheduling algorithm?