In this question, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main miss penalty for both processors take 200 s. The following table shows data for caches attached to each of two processors: Miss RateHit TimeP18%2sP22%5sWhat is the Average Memory Access Time for P1 and P2?
Question
In this question, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main miss penalty for both processors take 200 s. The following table shows data for caches attached to each of two processors: Miss RateHit TimeP18%2sP22%5sWhat is the Average Memory Access Time for P1 and P2?
Solution
Para calcular el Tiempo Promedio de Acceso a Memoria (AMAT) para cada procesador, utilizamos la siguiente fórmula:
Dado que la penalización por fallo en la memoria principal es de 200 s para ambos procesadores, procedemos a calcular el AMAT para cada uno:
Para P1:
- Hit Time (Tiempo de acierto): 2 s
- Miss Rate (Tasa de fallos): 8%
- Miss Penalty (Penalización por fallo): 200 s
Para P2:
- Hit Time (Tiempo de acierto): 5 s
- Miss Rate (Tasa de fallos): 2%
- Miss Penalty (Penalización por fallo): 200 s
Por lo tanto, el Tiempo Promedio de Acceso a Memoria es:
- Para P1: 18 s
- Para P2: 9 s
Similar Questions
Cache memory plays a crucial role in enhancing a computer's processing speed. Consider the following statements regarding cache memory characteristics and select the correct combination:Options:Cache memory is larger than RAM in terms of storage capacity.Cache memory is located between the RAM and the CPU.L1 cache is typically larger but slower than L2 cache.Cache hit rate is a measure of the percentage of requested data found in the cache.Cache memory is non-volatile and retains data even when the power is turned off.Cache coherence ensures consistency of data across multiple cache levels.
Assume 40% of the instructions are data accessing instruction. Let a hit take 1 clock cycle and the miss penalty is 100 clock cycle. Assume instruction miss rate is 4% and data access miss rate is 12%, what is the average memory access time?
A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time ofans.b)200nsa)250nsd)none of these.c)190ns
Which of the following is a characteristic of cache memory in a memory hierarchy?Question 8Answera.Larger capacity than main memoryb.Slower access time than main memoryc.Smaller capacity than main memoryd.Used for long-term storage
For the following diagram, what seems to be trueSpeed decreases down the pyramidStorage increases down the pyramidSpeed increases down the pyramidStorage decreases down the pyramidConsider these processors:Processor 1: Memory Mapped I/O has 90% hit rate and cache access time of 90 ns, in case of miss the extra time is 180 ns.Processor 2: 40% miss rate and double main memory access time if cache time is 40 ns.Which of the following statements are true?Processor 1 is faster than Processor 2Processor 2 is faster than Processor 1Effective access time of processor 1 is 1.5 times of processor 2Effective access time of processor 2 is 1.5 times of processor 1
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.