GateAI
Cache Memory and Hierarchy

GATE CSE 2022 · Q33

NAT1 markEasy

Time

A cache memory that has a hit rate of 0.80.8 has an access latency 10 ns10\text{ ns} and miss penalty 100 ns100\text{ ns}. An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to 15 ns15\text{ ns}, whereas the miss penalty is not affected. The minimum hit rate (rounded off to two decimal places\textit{rounded off to two decimal places}) needed after the optimization such that it should not increase the average memory access time is ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 0.85 (±0)

Cache Memory and Hierarchy

Average Memory Access Time (AMAT\text{AMAT}) is given by:

AMAT=Cache Access Latency+(1−h)×Miss Penalty\text{AMAT} = \text{Cache Access Latency} + (1 - h) \times \text{Miss Penalty}

Initial Configuration:

  • Hit rate (h1h_1) = 0.80.8

  • Access latency (T1T_1) = 10 ns10\text{ ns}

  • Miss penalty (PP) = 100 ns100\text{ ns}

AMAT1=10+(1−0.8)×100=10+0.2×100=30 ns\text{AMAT}_1 = 10 + (1 - 0.8) \times 100 = 10 + 0.2 \times 100 = 30\text{ ns}

Optimized Configuration:

  • Access latency (T2T_2) = 15 ns15\text{ ns}

  • Miss penalty (PP) = 100 ns100\text{ ns}

  • New hit rate = h2h_2

To ensure the average memory access time does not increase:

AMAT2≤AMAT1\text{AMAT}_2 \le \text{AMAT}_1
15+(1−h2)×100≤3015 + (1 - h_2) \times 100 \le 30
(1−h2)×100≤15(1 - h_2) \times 100 \le 15
1−h2≤0.151 - h_2 \le 0.15
h2≥0.85h_2 \ge 0.85

Thus, the minimum hit rate required after optimization is 0.85.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Cache Memory and Hierarchy previous year question is Q33 of the GATE CSE 2022 paper. Find more GATE CSE PYQs on Cache Memory and Hierarchy in Computer Organization and Architecture, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Cache Memory and Hierarchy PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Cache Memory and Hierarchy in GATE CSE

Cache Memory and Hierarchy has 47 GATE CSE PYQs across 23 papers from 2011 to 2026. 7 of them are 1-mark NAT questions like this one, and GATE CSE 2022 has 4.

How GATE tests Cache Memory and Hierarchy

More from GATE CSE 2022

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2022 · Q33 · NAT

A cache memory that has a hit rate of 0.8 has an access latency 10 ns and miss penalty 100 ns. An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to 15 ns, whereas the miss penalty is not affected. The minimum hit rate ( rounded off to two decimal places) needed after the optimization such that it should not increase the average memory access time is …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.