GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A processor makes one instruction fetch per instruction and 0.36 data references per instruction. Option S has split 16 KB I- and D-caches with miss rates of 0.4% (instructions) and 11.4% (data). Option U has a 32 KB unified cache with a 3.18% miss rate on all references, but because it has a single port every data reference costs one extra cycle of hit time. Hit time is 1 cycle and the miss penalty 100 cycles in both. What are the average access times (S, U) in cycles per reference?
- A. (4.31, 4.44)
- B. (4.31, 4.18)
- C. (6.70, 4.44)
- D. (4.31, 5.44)
Correct answer: A. (4.31, 4.44)
74% of references are fetches (1/1.36) and 26% data (0.36/1.36). S = 0.735 × (1 + 0.4) + 0.265 × (1 + 11.4) = 4.31. U = 0.735 × (1 + 3.18) + 0.265 × (2 + 3.18) = 4.44. The unified cache misses less overall but its structural hazard makes it slower; without the extra cycle it would be 4.18.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Which of these 8-bit two's-complement operations overflow as signed arithmetic? I. 0x80 − 0x01. II. 0x00 − 0x80. III. 0x7F + 0x80. IV…
- An 8-bit x86-style SUB computes 0x01 − 0xFF. In this convention CF = 1 exactly when the unsigned subtraction needs a borrow, OF = signed…
- A two-level memory has a 32 KB cache costing 100 per KB (access 10 ns) and a 4 MB main memory costing 1 per KB (access 100 ns); total…
- A write-back, write-allocate cache has a 2 ns hit time and a 5% miss rate. A miss that evicts a clean block costs 40 ns; a miss that…
- An 8-bit CPU multiplies the two's-complement bytes 0xF6 and 0x0D as signed numbers into a 16-bit product. What is the product, and is the…
- A branch behaves T, T, N, N repeatedly for 32 executions. A 2-bit saturating counter starts at state 0 and predicts taken in states 2 and…