Question: When a program is adapted to run on multiple processors in a multiprocessor system, the execution time on each processor is comprised of computing time
When a program is adapted to run on multiple processors in a multiprocessor system, the execution time on each processor is comprised of computing time and the overhead time required for locked critical sections and/or to send data from one processor to another.
Assume a program requires t = 100 s of execution time on one processor. When run p processors, each processor requires t/p s, as well as an additional 4 s of overhead, irrespective of the number of processors. Compute the per-processor execution time for 2, 4, 8, 16, 32, 64, and 128 processors. For each case, list the corresponding speedup relative to a single processor and the ratio between actual speedup versus ideal speedup (speedup if there was no overhead).
Step by Step Solution
3.55 Rating (169 Votes )
There are 3 Steps involved in it
processors 1 2 4 8 16 exec time processor ... View full answer
Get step-by-step solutions from verified subject matter experts
