Question
A program, being executed on a 2 GHz processor, has the following instruction mix: Operation ALU Frequency Clock cycles per instruction 40 % Load 20%
A program, being executed on a 2 GHz processor, has the following instruction mix: Operation ALU Frequency Clock cycles per instruction 40 % Load 20% Store 15 % Branches 25 % 2 10 4 3 Answer the following questions, and show your work: 1. What is the average CPI of the program described above when it is executed on this 2 GHz processor? 2. Compute the execution time in seconds of this program when running on this processor. 3. Compute the percentage of execution time spent by the ALU instructions of this program. 4. A designer wishes to improve performance by developing a new executin unit that allows 80% of the ALU instructions to be completed in just one cycle. The remaining 20% of the ALU instructions will still take two cycles to complete. In addition, the designer wishes to improve the execution of memory access instructions (load and store instructions). He does it in such a way that 95% of the load instructions take only two cycles to execute, while the remaining 5% take ten cycles per instruction to execute. The designer also decided to optimize the store instructions such that each store instruction takes two clock cycles to execute. What is the program's average CPI after these enhancements? 5. Compute the speedup gained by the enhancement made in part 4 6. The designer decides to increase the clock speed such that the overall performance of the original CPU specified in part 1 is tripled. If the designer uses the design specified in part 4, by what factor should la he increased?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started