Question: You have a program that spends 54 minutes on one core computation using a brute force algorithm. You are considering replacing that with a smarter
You have a program that spends 54 minutes on one core computation using a brute force algorithm. You are considering replacing that with a smarter algorithm that will reduce the core computation time to 6 minutes, but you'll add 34 minutes of data structure traversal time.
1- What is the speedup, accounting for both computation and data structure time?
2-If the core computation time of the original program is 95% of the total execution time, compute the overall speedup using Amdahl's law. Identify the fraction enhanced and fraction unenhanced.?
Step by Step Solution
3.37 Rating (166 Votes )
There are 3 Steps involved in it
To address the problem well tackle the questions stepbystep Step 1 Calculate the Speedup Accounting ... View full answer
Get step-by-step solutions from verified subject matter experts
