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:

Direct Labor Rate Variance

The difference between the actual cost of direct labor and the expected (or standard) cost, used in variance analysis to control labor costs.

Direct Materials Cost Variance

The difference between the budgeted cost of materials for products and the actual cost incurred.

Direct Labor Rate Variance

The difference between the actual cost of labor per hour and the standard or expected cost, multiplied by the total labor hours worked.

Direct Labor Time Variance

The difference between the actual labor time spent on a product and the standard labor time expected, affecting product costs.

Related Questions