80% of a program can be perfectly parallelised and the rest is serial. According to Amdahl’s law, what is the speedup on 4 processors?

Correct answer C. 2.5

Explanation

Amdahl's law gives speedup = 1 / ((1 - f) + f / N) = 1 / (0.2 + 0.8 / 4) = 1 / 0.4 = 2.5. The serial 20% runs at the same speed whatever N is, so the speedup is well below 4. The answer 3.2 (0.8 x 4) wrongly scales the parallel fraction alone. Amdahl's law shows that the serial part dominates as processors are added.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.