Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Execution Time of my old computer is 6 seconds, the new computer’s time is 2

ID: 3869431 • Letter: 1

Question

1. Execution Time of my old computer is 6 seconds, the new computer’s time is 2 seconds, what does Amdahls law say the speedup is?

2. I found that I can replace one of my instructions that takes 300 ns, with a different one that takes 200 ns. My program runs this instruction 50% of the time. What is the the speedup on the entire program by using this instruction?

3. I’m buying a new computer in order to run a floating point intensive program called RUNIT. What program would be the best benchmark to run in order to determine which computer to buy?

Need help on answering these 3 questions for my assembly language class.

Explanation / Answer

1. Execution Time of my old computer is 6 seconds, the new computer’s time is 2 seconds, what does Amdahls law say the speedup is?

ans:speedup=old/new time

=6/2=3

2.(300/200)*(50/100)

=0.75

=3