Question: Consider two different designs: (1) Processor: use the direct mapping cache (one level) (2) Processor: use the 2-way set-associative cache (one level) In both
Consider two different designs: (1) Processor: use the direct mapping cache (one level) (2) Processor: use the 2-way set-associative cache (one level) In both Processors, the CPI is 2.0 under the ideal condition (hit rate = 100%), the cache access time is 1 clock cycle, the miss penalty is 70ns, and each instruction accesses the memory 1.3+0.1 (NUM_1%3) times on average. For Processor, the clock cycle is 2 + NUM_1%3 ns, and the cache hit rate is 98.6%. For Processor, the clock cycle is increased to 1.10 times of that of ProcessorA, and the hit rate is 99%. 1. Please calculate the average access time of both processors. 2. For a program with 1,000 instructions, please calculate the CPU time on both processors. Which processor is faster? Activate Windows Go to Settings to activate Windows.
Step by Step Solution
There are 3 Steps involved in it
Part 1 Processor A uses direct mapping cache1level Cache access time Clock cycles 1 clock cycle Cycle time 2NUM13 ns 2 93 2 0 2 ns is mod operation wh... View full answer
Get step-by-step solutions from verified subject matter experts
