processor problem

40% of a program will not benefit from additional processors because it is inherently sequential. How many processors are needed to execute a program in 150 seconds, if it required 300 seconds with 1 processor.

Answer:

40% of a program will not benefit => 40% of 300 seconds = 120 seconds cannot be reduced.
the remaining 180 seconds should be brought down to 30 seconds, to make it, 120 + 30 = 150 seconds.
This needs 180/30 = 6 processors

No comments: