subject

The following fortran program is to be executed on a computer, and a parallel version is to be executed on a 32-computer cluster. l1: do 10 i = 1, 1024 l2: sum(i) = 0 l3: do 20j = 1, i l4: 20 sum(i) = sum (i) + 1 l5: 10 continue suppose lines 2 and 4 each take two machine cycle times, including all processor and memory-access activities. ignore the overhead caused by the software loop control statements (lines 1,3,5) and all other system overhead and resource conflicts.

a. what is the total execution time (in machine cycle times) of the program on a single computer?

b. divide the i-loop iterations among the 32 computers as follows: computer 1 executes the first 32 iterations (i= 1 to 32), processor 2 executes the next 32 iterations, and so on. what are the execution time and speedup factor compared with part (a)? (note that the computational workload, dictated by the j-loop, is unbalanced among the computers).

c. explain how to modify the parallelizing to facilitate a balanced parallel execution of all the computational workload over 32 computers. by a balanced load is meant an equal number of additions assigned to each computer with respect to both loops.

d. what is the minimum execution time resulting from the parallel execution on 32 computers? what is the resulting speedup over a single computer?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:10
Alook-up table used to convert pixel values to output values on a monitor. essentially, all pixels with a value of 190 or above are shown as white (i.e. 255), and all values with a value of 63 or less are shown as black (i.e. 0). in between the pixels are scaled so that a pixel with a value p is converted to a pixel of value 2/127 −+3969). if a pixel has a value of 170 originally, what value will be used to display the pixel on the monitor? if a value of 110 is used to display the pixel on the monitor, what was the original value of the pixel?
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
Software and services are used to conceive, plan, and execute projects in any field. these tools are excellent methods of increasing the probability of successful projects. open source linux project management mind-mapping
Answers: 2
You know the right answer?
The following fortran program is to be executed on a computer, and a parallel version is to be execu...
Questions
question
Mathematics, 19.05.2020 12:58
question
Mathematics, 19.05.2020 12:58
Questions on the website: 13722361