1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
stira [4]
3 years ago
14

Assume that we have an application with a total of 500,000 instructions where 20% of them are the load/store instructions with a

n average CPI of 6 cycles, and the rest instructions are ALU instructions with average CPI of 1 cycle. If we double the clock rate without optimizing the memory latency, the average CPI for load/store instruction will also be doubled to 12 cycles. What is the speedup after this change?
Computers and Technology
1 answer:
balu736 [363]3 years ago
5 0

Answer:

1.25

Explanation:

#instructions = 5*10^{5}  

Average CPI (old) = 0.2*6 + 0.8*1 = 1.2+0.8 = 2.0

Average CPI (new) = 0.2*12 + 0.8*1 = 2.4 + 0.8 = 3.2

Assuming Clock Rate = x

Speedup = Execution Time (old) / Execution time (new)  = (2.0*5*10^{5} /x) / (3.2*5*10^{5} /2x)  = 4/3.2 = 1.25

You might be interested in
Write a program to draw a text-based graph of a mathematical function f(x)
Makovka662 [10]
I have a very good example of the program you need written on Python. You can use this (sorry for bad tabulation):
import math import math def main(): function = input("Enter a function f(x):\n") x = 0 y = 0 for rows in range(10,-11,-1): for col in range(-10,11,1): x=col roundfx = round(eval(function)) if roundfx == rows: print("o", end="") if rows==0 and col==0 and not rows == roundfx: print("+", end="") if col == 0 and not rows == 0 and not rows == roundfx: print("|", end="") if rows==0 and not col==0 and not rows == roundfx: print("-", end="") else: if not rows == 0: if not col == 0: if not rows == roundfx: print(" ", end="") print() main()
4 0
3 years ago
What are the preset formulas in a spreadsheet called?
Oksanka [162]
They are called functions on a spreadsheet.
5 0
4 years ago
Read 2 more answers
What is the atomic number of neonWhat do the following results from the TEST FOR LIFE tab indicate about the sample
Scorpion4ik [409]
The atomic number for Neon is 10.

I do not see the info for the second part of the question
6 0
3 years ago
If the current through a heater coil is 5 amp and the supply voltage is 120 volts, the coil resistance is
ss7ja [257]
Resistance measured in Ohms = Voltage divided by current.
120/5=24

B) 24 Ohms
7 0
3 years ago
Im not using Brainly for my account how do i Remove it
jeyben [28]
Log in to your account.
Visit your profile settings.
In the Privacy section, click the “Delete Account” button.
5 0
3 years ago
Read 2 more answers
Other questions:
  • 52.
    11·1 answer
  • Consider two sets S1 and S2 of size 3 and 2 each.
    13·1 answer
  • Line spacing refers to the amount of space between each line in a paragraph. A. True B. False
    14·2 answers
  • Write a parent program to fork(2) n processes where n is passed tothe program on the command line, and n can be from 1 to 10. Al
    12·1 answer
  • Vendors who use open source as part of their product offerings can expect to bring new products to the market faster because: Gr
    11·1 answer
  • give an example of a technical issue you were not able to resolve on your first attempt. What troubleshooting steps did you take
    13·1 answer
  • Explain the computer according to size​
    10·1 answer
  • Which tab automatically becomes available after inserting a text box? Drawing Tools Insert Text Box Tools Shape Tools
    15·2 answers
  • What is an infrastructure dedicated to one organization
    13·1 answer
  • Sistem komponen mekanikal yang terdapat pada sebuah basikal?​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!