1. Engineering
  2. Computer Science
  3. question 5 amdahls law you are considering two different changes...

Question: question 5 amdahls law you are considering two different changes...

Question details

Question 5. Amdahls Law You are considering two different changes to an architecture. The original architecture has no hardware support for multiplication; a multiplication operation is done by a software routine (by forming partial products and adding them, like when you multiply by hand). The original architecture also has only a small cache. The first change adds a hardware multiplier, making multiplication operations 25x faster than before on average. The second change improves the cache, making data reads and writes 3.5x faster than before on average Your code running on the original architecture spends 4% of its time multiplying and 20% of its time doing data reads and writes. (a) What speed-up will you get if you make just the first change? After making the change, what percentage of the total execution ime is spent multiplying? (b) What speed-up will you get if you make just the second change? If you can afford to make ust one change, which change is a better choice? (e) If you make both changes, what is the speed-up? If your original code took 10 seconds to run, how long does it take to run now?
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution