For a given number of instructions, assume CPI is increased by 20%, and clock cycle time is decreased by 10%. The program execution time ___________.
a. remains the same
b. increases
c. decreases
CPU Time = I * CPI * T.
I = number of instructions in program;
CPI = average cycles per instruction;
T = clock cycle time
T1 = CPI1 * T1
T2 = (1.2)CPI1 *(0.9)T1
T1/T2 = 1/(1.2 * 0.9)
T2 = (1.08) * T1
So The program execution time
b. increases
If you have any doubts comment below and i am happy to help :)
For a given number of instructions, assume CPI is increased by 20%, and clock cycle time...
Compller A Compler B Execution Ti Execution Time No. Instructions meNo. Instructions b. 1.9 s 1.60E+09 1.30E+09 2.1 s 1.71 [5] <1.4> For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns. 1.7.2 [5] <1.4> Assume the compiled programs run on two different processors If the execution times on...
Assume that for a program, compiler A results in a dynamic instruction count of 8.0E8 and has an execution time of 2.4 s, while compiler B results in a dynamic instruction count of 1.25E9 and an execution time of 1.8 s. a. [10] Find the average CPI for each program given that the processor has a clock cycle time of 2 ns. b. [10] Assume the compiled programs run on two different processors. If the execution times on the two...
Assume for arithmetic, load/store, and branch instructions, a processor has CPls of 3, 15, and 7, respectively. Also assume that on a single processor a program requires the execution of 3.12E9 arithmetic instructions, 1.75E9 load/store instructions, and 512Million branch instructions. Assume that each processor has a 2.5GHz clock frequency. Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions per processor divided by 0.8xp ( where p is the number of...
Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in an instruction count of 1.0E9 and has an execution time of 1.1s, and compiler B results in an instruction count of 1.2E9 and 1.5s a. Find the average CPI for both compilers assuming a clock cycle time of 1ns. b. Another Compiler C creates for the same code on 6.0E8 instructions, and has an average CPI of 1.1. What...
Consider two different implementations of the same ISA. The four classes of instructions are A,B,C and D. Refer to following table for the data required. Clock Rate CPI A CPI B CPI C CPI D P1 3 GHz 1 3 4 2 P2 4 GHz 4 5 6 2 Given a program with 10% of A instructions, 20% of B instructions, 30% of C instructions and 40% of D instructions a. Which implementation of P1 and P2 is faster? b....
Problem 3. (25 pts.) Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction count of 1 billion instructions and has an execution time of 1.1 seconds, while compiler B results in a dynamic instruction count of 1.2 billion instructions and an execution time of 1.5 seconds. A) Find the average CPI for each program given that the processor has a clock cycle time of 1...
The following table shows results for SPEC CPU2006 benchmark program bzip2 running on an AMD Barcelona Name | Intr. Count x 10° | Execution Time (seconds) | Reference Time (seconds) 820 3120 9650 bzip2 1.111 [5] <1.7> Find the CPI if the clock cycle time is 0.250 ns. 1.11.2 [5] <1.7> Find the SPECratio. 1.11.3 [5] <1.7> Find the increase in CPU time if the number of instructions of the benchmark is increased by 15% without affecting the CPI. 1.114...
Given a processor that runs at 1GHz with the following: Instruction-------------- Frequency --------------Cycles Load & store ----------------25% --------------------10 arithmetic instructions------ 65% --------------------6 branch instructions -----------10%-------------------- 4 1) Calculate the CPI for the above. 2) Suppose the amount of registers are doubled, such that clock cycle time increases by 40%. What is the new clock speed (in GHz)? 3) Assume only the load & stores instructions are speed up by 5 times and their frequency is increased to 50% (Arithmetic instructions...
(e) Suppose we measure the code for the same program from two different compilers and obtain the following data. Assume clock rate is 3GHz, which code sequence will execute faster according to execution time? or According to MIPS? By how much? (25 pts CPI for Instructions Code from Instruction Count (billions) CPI Compiler 1 Compiler 2 9 1 3
(e) Suppose we measure the code for the same program from two different compilers and obtain the following data. Assume clock...
Make sure to show how you solved the problem step-by-step: Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a clock cycle time of 300 picosecond and a CPI (clock cycles per instruction) of 1.5. P2 has a clock cycle time of 400 picosecond and a CPI of 1.0. P3 has a clock cycle time of 250 picosecond and a CPI of 2.0. P1 is running a program with 10 instructions. P2 is running...