Question:medium

In a two-level memory hierarchy, the access time of the cache memory is 12 nsec and the access time of the main memory is 1.5 msec. The hit ratio is 0.98. What is the average access time of the two-level memory system?

Show Hint

To calculate the average access time in a two-level memory hierarchy, use the formula incorporating the hit ratio, cache access time, and the main memory access time.
Updated On: Feb 11, 2026
  • 13.5 nsec
  • 42 nsec
  • 7.56 nsec
  • 41.76 nsec
Show Solution

The Correct Option is D

Solution and Explanation

The average access time is calculated using the formula: Average Access Time = (Hit Ratio) × (Cache Access Time) + (1 − Hit Ratio) × (Main Memory Time). Given a Hit Ratio of 0.98, Cache Access Time of 12 nsec, and Main Memory Access Time of 1.5 msec (1.5 × 10^6 nsec), the calculation is performed as: Average Access Time = (0.98) × (12) + (0.02) × (1.5 × 10^6). This simplifies to 11.76 + 30,000, resulting in an average access time of 30,011.76 nsec. The average access time is approximately 41.76 nsec.
Was this answer helpful?
0

Top Questions on Computer Organization and Architecture