Question: 4. [6 points] When a program is adapted to run on multiple processors in a multiprocessor system, the execution time on each processor is comprised
4. [6 points] 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 Up 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
