Question: A program that takes 4 4 0 0 seconds to execute on a single core has two parts: PART - A prepares the data, is
A program that takes seconds to execute on a single core
has two parts:
PARTA prepares the data, is singlethreaded, and must
complete before PARTB starts
PARTB processes the data, is multithreaded, and the
algorithm allows for a maximum of chunksthreads of
execution: B through B
PARTA takes seconds to execute
Each chunk in PARTB take seconds
marks
Calculate the execution time using and cores. Use a
table in your answer with columns Number of Cores, Time to
Complete Part A Time to Complete Part B and Total Execution
Time
Explain why the core and core results are the same.
Use Amdahls Law to calculate the maximum speedup if an
unlimited number of threads are allowed, and an unlimited number
of cores are available.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
