Question: Q7) A given benchmark program requires 1000 arithmetic, 1000 Memory, and 500 branching instructions. Two different processors which use the same instruction set will be

Q7) A given benchmark program requires 1000 arithmetic, 1000 Memory, and 500 branching instructions. Two different processors which use the same instruction set will be tested with this program. The processors have different clock rates and average number of clock cycles per instruction class as shown in Table 1. Cache miss rate shows the percentage of memory instructions which require longer (Miss penalty) clock cycles to execute. (16pt) [CO6] Table 1 CPU clock rates and average CPls for different instruction classes. CPU Clock rate Arithmetic Memory Branch Cache Miss Rate Hit Miss CPUA 2000Mhz 2 1 15 3 %5 CPUB 1500Mhz 2 1 10 2 %10 a) Calculate the clock cycle times for both CPUs b) Calculate the average execution time of the program for CPUA and CPUB. c) Compare CPUs using execution speeds and state if one is faster than the other
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
