GATE CSE 2017 Session 2 Q55: Average read access time with split L1 and L2 caches
- Computer Organization and Architecture
- 2 marks
- NAT
- No negative marking
Syllabus topic: Memory interfacing and hierarchy: performance and cache memory mapping
Question
The read access times and the hit ratios for different caches in a memory hierarchy are as given below.
| Cache | Read access time (in nanoseconds) | Hit ratio |
|---|---|---|
| I-cache | 2 | 0.8 |
| D-cache | 2 | 0.9 |
| L2-cache | 8 | 0.9 |
The read access time of main memory is 90 nanoseconds. Assume that the caches use the referred-word-first read policy and the write back policy. Assume that all the caches are direct mapped caches. Assume that the dirty bit is always 0 for all the blocks in the caches. In execution of a program, 60% of memory reads are for instruction fetch and 40% are for memory operand fetch. The average read access time in nanoseconds (up to 2 decimal places) is ________.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 4.72 (official GATE 2017 final answer key)
Concept used: In a hierarchical lookup, average time = L1 time + L1 miss rate × (L2 time + L2 miss rate × memory time), weighted over instruction and data reads.
First step: Compute the L2-level miss penalty first, then the average time for instruction reads and for data reads, and weight them 0.6 and 0.4.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Memory interfacing and hierarchy: performance and cache memory mapping
Every PYQ on this topic →Share this question
Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Computer Organization and Architecture PYQs
- 2026 Session 1 · Q14Match addressing modes with high-level data elements
- 2026 Session 1 · Q15Instruction sequence for Z = X + Y on a load-store machine
- 2026 Session 1 · Q16Register dependency that causes a data hazard
- 2026 Session 1 · Q36IEEE 754 single-precision sum of 35C00000 and 34A00000
- 2026 Session 1 · Q38Tag length: direct-mapped vs K-way set-associative cache
- 2026 Session 1 · Q54Impossible TLB / page table / cache event sequences