Speedup of a partly parallel analysis program

A single-threaded data-analysis program takes 120 s per run. Of that, 30 s goes to loading input and merging results, which must stay serial, and 90 s goes to a loop whose iterations are independent. You split the loop evenly across 8 threads on a machine with 8 idle cores, and you ignore threading overhead. What speedup over the single-threaded version do you get? Give the answer as a plain number to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Parallel Programming Questions: