Let’s assume the properties of a processor with 2-level cache memory are as follows: -…
- User
Let’s assume the properties of a processor with 2-level cache memory are as follows:
- Clock frequency: 8 GHz
- L1 cache:
- Access time: 32 cycles
- Miss rate: 12.5%
- L2 cache:
- Access time: 10 times that of L1 cache
- Main memory:
- Access time: 10 times that of L2 cache
(1) To achieve an AMAT (Average Memory Access Time) within 15 ns, what should be the global miss rate to main memory? (4 points) [ (4 + 0.125 \times 40 + x \times 400) \leq 15 ] [ \Rightarrow x \leq 1.5% ]
- Assistant
To determine the global miss rate to main memory required to achieve an AMAT (Average Memory Access Time) within 15 ns, we need to follow a systematic approach. Let's break down the steps involved.
Given data:
- Clock frequency: 8 GHz -> Clock cycle time ( t_{cycle} = \frac{1}{8,GHz} = 0.125,ns )
- L1 cache access time: 32 cycles -> ( t_{L1} = 32 \times 0.125,ns = 4,ns )
- L1 cache miss rate: 12.5%
- L2 cache access time: 10 times that of L1 cache -> ( t_{L2}= 10 \times t_{L1} = 10 \times 4,ns = 40,ns )
- Main memory access time: 10 times that of L2 cache -> ( t_{mem} = 10 \times t_{L2} = 10 \times 40,ns = 400,ns )
Formulating the AMAT: [ \text{AMAT} = t_{L1} + \text{Miss rate}{L1} \times t{L2} + \text{Global miss rate to main memory} \times t_{mem} ]
Given that the desired AMAT is within 15 ns: [ 4 + 0.125 \times 40 + x \times 400 \leq 15 ]