Solution for the problem is provided below, please comment if any doubts:
Problem 1:
The clock rate of the processor = 1 GHz
The total Cycles of the benchmark program= sum of CPI of each instruction multiplied by instruction count
Total cycles=( 2 x50 x106)+ ( 1 x110 x106)+ ( 8 x50 x106)+ ( 2 x10 x106)
=(100+110+400+20) x106 = 630 x106 cycles
If the program needs to be run two times faster, the total cycles needs to be reduced to half.
That is the Cycles should be = 315 x106 cycles
The CPI of L/S needs to be varied to achieve this:
Thus the new cycles = 315 x106 =( 2 x50 x106)+ ( 1 x110 x106)+ ( newCPI x50 x106)+ ( 2 x10 x106)
315 x106 =130 x106+( newCPI x50 x106)
185= newCPI x50
newCPI= 3.7
Thus in order to run the program two times faster, the new CPI of L/S should be improved to 3.7
Problem 1 Assume that a processor with a clock rate of 1 GHz clock runs a...
A processor is designed such that the clock of the processor runs at 1 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Instruction Type Frequency Cycles Load & Stores 25% 10 cycles Arithmetic Instructions 65% 6 cycles Branch instructions 10% 4 cycles (a) Calculate the CPI for the above benchmark. (b) Suppose the amount of registers are doubled, such that clock cycle time increases by 40%. What is the new...
Q.4 [10 points] A processor is designed such that the clock of the processor runs at 2.0 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Instruction Type Frequency Cycles Load & Stores 25% 8 cycles Arithmetic Instructions 60% 6 cycles Branch instructions 15% 4 cycles (a) (2 points) Calculate the CPI for the above benchmark. (b) (4 points) Suppose the amount of registers are doubled, such that clock cycle time...
c. Performance: Company A's processor and Company B's processor are benchmarked on the same program. The CPI of the component instructions that are executed in the program are shown above for each processor. Additionally, the number of instructions of each type is provided. Company A 5 Branch CPI Load/Store CPI Arithmetic CPI 7 1 Company B 4 Branch CPI Load/Store CPI Arithmetic CPI 9 1 Program Instruction Count Branch Load/Store Arithmetic CPL 1.2x109 1.67x1010 1.5x1011 i. Assume Company A has...
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...
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...
5. If a processor clock ticks 4 billion times in a second and has a frequency of 1.5 GHz, with each clock tick, one or more instructions may complete, if a program runs on 3 GHz processor for 7 seconds, how many clock cycles did it run for? (10 points) If a program runs for 2 billion clock cycles on a 1.5 GHz processor, what is the execution time in seconds? (10 points)
A program that executes 12.3x107 instructions is run on a pipelined processor. The table below provides the percentage of executed instructions for each type of instruction. Instruction Executed P ipeline CPU type instructions (%) w/o hazards ALU 29.4 Load 29.7 Store 14.7 Branch 26.2 2 (w/o prediction) 27% of the load instructions are followed by instructions that need the data being loaded, 47% of the branches are actually.not taken, please assume not taken prediction. a) Please determine the overall cycles...
Consider a machine, which has a clock rate of 210 MHz. The following measurements are recorded on the machine running a given set of benchmark programs. Determine the effective CPI, MIPS rate, and execution time for the machine Instruction type Instruction count Millions CPI Arithmetic and logic 6 2 Load and store 3 3 Branch 2 6 Others 4 3
Suppose we have developed new versions of a processor with the following characteristics: Version Voltage 1.5 V 1.2V Clock rate 2.4 GHz 3GHZ a) How much has the capacitive load varied between versions if the dynamic power has been reduced by 15%? Assuming that the capacitive load of version 2 is 70% the capacitive load of version 1, find the new voltage value for version 2 if the dynamic power of version 2 is reduced by 35% from version 1....
Consider a processor with a 1.2GHz clock rate and a CPI of 1.7. If a program runs in 10 seconds, how many clock cycles were required? How many instructions executed?