GATE Computer ScienceHardGATE CS (PYQ pattern)
A cache has hit time 2 ns, hit ratio 0.9 and the memory access time is 60 ns. Compare the access time in the hierarchical organisation (memory is accessed only after the cache misses) with the simultaneous one (memory access starts in parallel with the cache lookup). What are (hierarchical, simultaneous) in ns?
- A. (8.0, 7.8)
- B. (8.0, 8.0)
- C. (7.4, 7.8)
- D. (7.8, 8.0)
Correct answer: A. (8.0, 7.8)
Hierarchical: h·t_c + (1 − h)(t_c + t_m) = 1.8 + 6.2 = 8.0 ns. Simultaneous: h·t_c + (1 − h)·t_m = 1.8 + 6.0 = 7.8 ns.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A loop executes for (i = 0; i < n; i++) sum += a[i]; with a large array a. Which memory access pattern shows strong spatial locality but…
- An instruction mix is: ALU 45% (CPI 1), loads 25% (CPI 2), stores 10% (CPI 2), branches 20% (CPI 3). A compiler optimisation deletes one…
- How many distinct finite non-zero IEEE 754 single-precision numbers x satisfy 1 ≤ x < 4?
- An 8-bit ALU computes 0x50 − 0xB0 by adding 0x50 to the two's complement of 0xB0. What are the result and the signed-overflow flag V?
- A processor has a 64-entry fully associative TLB, 4 KB pages, and a data cache of 512 KB. A program sweeps through an array of 1 MB…
- A 32 KB cache with 64-byte blocks and 36-bit physical addresses is 4-way set-associative. If the associativity is doubled (8-way) while…