GATE Computer ScienceHardGATE CS (PYQ pattern)
Every memory reference first looks up a TLB (2 ns, hit ratio 96%). On a TLB miss the hardware walks a 3-level page table, each level costing one 100 ns memory read (page-table reads bypass the cache). The data access then goes to a cache with 5 ns hit time and 90% hit ratio; a cache miss adds a further 100 ns memory access after the cache lookup. No page faults occur. What is the effective access time?
- A. 25.0 ns
- B. 19.0 ns
- C. 28.5 ns
- D. 29.0 ns
Correct answer: D. 29.0 ns
TLB: 2 + 0.04 × (3 × 100) = 14 ns. Data: 5 + 0.1 × 100 = 15 ns (the cache lookup is always paid). Total 29.0 ns. Using 2 walk levels gives 25.0; ignoring cache misses 19.0; not paying the cache time on a miss 28.5.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- An x86-like addressing mode computes EA = base + index × scale + displacement, where the displacement is an 8-bit field that is…
- A 32-bit carry-select adder is built from blocks. A block of n bits contains two ripple adders (carry-in 0 and 1) that have their…
- A device produces a 40,000 bytes/s stream into a 16-byte buffer, and the CPU (500 MHz) polls it periodically, never letting the buffer…
- Three caches with 4 one-word lines each see the block trace [0, 1, 2, 3, 0, 4, 1, 5, 2, 6, 3, 7, 0, 4]: (i) direct-mapped, (ii) 2-way…
- A 64-byte, 2-way set-associative cache with 16-byte blocks and LRU replacement is empty. The processor reads these byte addresses in…
- A 16-bit instruction set has 4-bit address fields and expanding opcodes: three-address instructions use a 4-bit opcode, two-address…