Question: 1 are given a program that includes a method M that executes sequentially. Use Amdahl's law t olve the following questions. - Suppose Maccounts for

1 are given a program that includes a method M that executes sequentially. Use Amdahl's law t olve the following questions. - Suppose Maccounts for 30% of the program's execution time. What is the limit for the overall speedup that can be achieved on an n-processor machine? - Suppose M accounts for 40% of the program's execution time. You hire a programmer to replace M with M;, which has a k-fold speedup over M. What value of k yields an overall speedup of 2 for the whole program? - Suppose M ', the parallel replacement for M, has a four-fold speedup. What fraction of the overall execution time must Maccount for if replacing it with Mdoubles the program's speedup? You may assume that the program, when executed sequentially, takes unit time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
