Question: A program P running on a single - processor system takes time T to complete. Let us assume that 3 0 % of the program
A program P running on a singleprocessor system takes time T to complete. Let us
assume that of the programs code is associated with data management
housekeepingaccording to Amdahl and, therefore, can only execute sequentially
on a single processor. Let us further assume that the rest of the program is
embarrassingly parallel in that it can easily be divided into smaller tasks
executing concurrently across multiple processors without any interdependencies
or communications among the tasks
a Calculate which are the times to execute program P on a two
four eightprocessor system, respectively. points
b Calculate on a system with an infinite number of processors. Calculate
the speedup of the program on this system, where speedup is defined as
What does this correspond to points
Problem points:
Assume a program requires the execution of FP Floating Point
instructions, INT integer instructions, LS LoadStore
instructions, and branch instructions. The CPI for each type of
instruction is and respectively. Assume that the processor has a GHz
clock rate.
a By how much must we improve the CPI of FP Floating Point instructions
if we want the program to run two times faster? points
b By how much must we improve the CPI of LS LoadStore instructions if
we want the program to run two times faster? points
c By how much is the execution time of the program improved if the CPI of
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
