Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The memory hierarchy contains a single cache with a miss rate of 2% that holds b

ID: 3694049 • Letter: T

Question

The memory hierarchy contains a single cache with a miss rate of 2% that holds both instructions and data. The miss penalty to access main memory is 100 cycles. 15% of the instructions are jumps, 20% are stores, 20% are loads (30% have values used in the next instruction), 10% are branches (taken 20% of the time) and 35% are ALU instructions. Jumps and branches are determined in the ID stage. a. What is the base CPI? b. What is the effective CPI? The memory hierarchy contains a single cache with a miss rate of 2% that holds both instructions and data. The miss penalty to access main memory is 100 cycles. 15% of the instructions are jumps, 20% are stores, 20% are loads (30% have values used in the next instruction), 10% are branches (taken 20% of the time) and 35% are ALU instructions. Jumps and branches are determined in the ID stage. a. What is the base CPI? b. What is the effective CPI? The memory hierarchy contains a single cache with a miss rate of 2% that holds both instructions and data. The miss penalty to access main memory is 100 cycles. 15% of the instructions are jumps, 20% are stores, 20% are loads (30% have values used in the next instruction), 10% are branches (taken 20% of the time) and 35% are ALU instructions. Jumps and branches are determined in the ID stage. a. What is the base CPI? b. What is the effective CPI?

Explanation / Answer

As per the formula, we should assume cpi as the criteria.if we assume cpi=1 , calculate the formul

=Ic×memoryaccess% instructions×missrate×miss penalty

=Ic×0.2×0.2×0.01

=ic×(0.2+0.2)×0.01

The middle term 0.2+0.2 so cpi is 0.2.

B) effective cpi is 0.1

  

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote