Question: Please answer both: 1 . Consider a computer running a program that takes 2 5 0 s . ( 8 0 s spent on floating
Please answer both:
Consider a computer running a program that takes s
s spent on floatingpoint, s on loadstore s on branchjump and the rest on other operations
a What would the overall speedup be if we can cut the execution time of ONLY floating point ops by
b Could you possibly reduce the total time by just by speeding up branchjump c We can afford to buy better tech and improve performance of any one type floating point, memory, or branchjump by a factor of Which one would you choose, and why? And after optimization, suppose I am so impressed I give you funds to make one MORE such improvement; which one would you choose now?
Hint: Amdahls Law. Show how much speedup each choice gives.
Consider a program that can execute with CPI if we could magically service every load instruction within cycle L cache hit
Now in practice, of all load instructions suffer from an L cache miss, of all load instructions suffer from an L cache miss, and of all load instructions suffer from an L cache miss and are serviced by the memory system
An L cache miss stalls the processor for cycles while the L is looked up An L cache miss stalls the processor for cycles while the L is looked up An L cache miss stalls the processor for cycles while data is fetched from memory. What is the CPI for this program if of the program's instructions are load instructions? Assume these delays add, ie the worst case stalls for cycles.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
