ISRO Scientist/Engineer CSE 2018Computer Organization and Architecture › Not yet assigned to a topic
ISRO Scientist/Engineer CSE 2018 PYQ: A particular parallel program computation requires 100 sec when executed on a single processor, if $40\%$ of…
A particular parallel program computation requires 100 sec when executed on a single processor, if $40\%$ of this computation is inherently sequential (i.e. will not benefit from additional processors), then theoretically best possible elapsed times of this program running with 2 and 4 processors, respectively, are:
- A20 sec and 10 sec
- B30 sec and 15 sec
- C50 sec and 25 sec
- D70 sec and 55 secCorrect answer
Answer
(D) $70$ sec and $55$ sec
Approach
Apply Amdahl's law. The sequential portion (40% of 100 sec = 40 sec) cannot be sped up, while the parallelizable portion (60% = 60 sec) is divided among the available processors. Total time = sequential time + (parallel time / number of processors).
Reviewed by ISRO IQ Editorial Team.