Question 1: Suppose you have implemented a parallel version of a serial program with the following scaling properties: -

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question 1: Suppose you have implemented a parallel version of a serial program with the following scaling properties: -

Post by answerhappygod »

Question 1:
Suppose you have implemented a parallel version of a serial program
with the following scaling
properties:
- The inherently sequential part of the program has a runtime of
(2*n + 4000) ms, where
n is the problem size.
- The parallelizable part of the program has a runtime of n2
ms.
a) Based on the Amdahl's law, calculate the maximum speedup
achievable by this
program on a problem of size n = 1,000, no matter how many
processors are used.
b) Based on the Gustafson's law, calculate the minimum
problem size (n) in order
to achieve a speed-up of 10X using 16 processors.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply