Examlex

Solved

Calculate the Performance of a Processor Taking into Account Stalls

question 12

Essay

Calculate the performance of a processor taking into account stalls due to data cache and instruction cache misses. The data cache (for loads and stores) is the same as described in Part B and 30% of instructions are loads and stores. The instruction cache has a hit rate of 90% with a miss penalty of 50 cycles. Assume the base CPI using a perfect memory system is 1.0. Calculate the CPI of the pipeline, assuming everything else is working perfectly. Assume the load never stalls a dependent instruction and assume the processor must wait for stores to finish when they miss the cache. Finally, assume that instruction cache misses and data cache misses never occur at the same time. Show your work.
· Calculate the additional CPI due to the icache stalls.
· Calculate the additional CPI due to the dcache stalls.
· Calculate the overall CPI for the machine.


Definitions:

Trade-offs

Situations where a gain in one area requires a loss in another, often involving decisions that balance out different factors or outcomes.

Law

A set of regulations developed and implemented by social or government bodies to control actions.

Statutory Interpretation

The process by which courts analyze aspects of a statute that are unclear or ambiguous or that were not anticipated at the time the legislature passed the statute.

Constitutionality

The quality of being in accordance with a political constitution, especially with regard to its rights and freedoms.

Related Questions