ProgramRunTime=Instructions/Program times Cycles/Instruction times Time/Cycle As
ID: 3768190 • Letter: P
Question
ProgramRunTime=Instructions/Program times Cycles/Instruction times Time/Cycle Assume your program of interest is being executed by a 50 MHz processor core, which executes approximately 5 instructions for each 3 CPU cycles. If the program takes 2.5 seconds to execute, how many instructions are in the program of interest? If the processor core frequency is increased to 120 Mhz, and the number of instructions and CPI remain unchanged, how long would you expect the program to require for execution? If a computationally intensive software project is ported from an ARM processor family to a DSP processor family, how would you expect this to impact the (3) terms in the performance equation?Explanation / Answer
61)
if everything is same then increasing the frequency will directly increase the number of instructions getting completed in a time. It will become 120/50 = 2.4
so basically the time will become 1/2.4 = 0.4166 times the original time in the 50mhz processor.
So basically the execution time will decrease
62)
it will impact the cpi (cycles/instruction) in the processor. Since DSP processor provide additional hardware to handle multiplication,addition and shifting operations the cycles/instruction will improve and also the time to execute will improve in case of DSP processor as additional hardware is there so computations will be faster.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.