Ask Question

A program executes 100 billion instructions. It executes on an IBM processor that has an average CPI of 1.2 and a clock frequency of 4.0 GHz. How many seconds does the program take to execute? What is the cycle time of this IBM processor? Assume that an ARM processor takes 30 seconds to execute the program. What is the speedup provided by the IBM processor, relative to the ARM processor?

+2
Answers (1)
  1. 11 October, 05:12
    0
    How many seconds does the program take to execute? r / 30 seg What is the cycle time of this IBM processor? r / 2.5x10^-10 seg What is the speedup provided by the IBM processor, relative to the ARM processor? r / none

    Explanation:

    CPI is cycles per instruction and it tells you on average how many clock cycles it takes to a processor to execute one instruction.

    1) Clock cycle time = Ct = T = 1/F - > T = 1/4.0GHz = 2.5x10^-10 seg therefore Ct = 2.5x10^-10

    2) Number of clock cycles needed to execute 100 billion instructions = CI - > CI = 1.2*100 billion = 120 billion Clock cycles

    3) Execution time = Et = Ct*CI = 30 seg

    As you can see from our calculation the IBM processor doesn't provide a speedup relative to the ARM processor, because both take 30 seconds to execute the program.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A program executes 100 billion instructions. It executes on an IBM processor that has an average CPI of 1.2 and a clock frequency of 4.0 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers