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 11:00
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
The gene form of a trait is called a(n) 
Answers: 2
question
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
You may see the term faq on websites which stands for frequently asked questions this is an example of which type of mnemonic? a) poem b) acronym c) acrostic d) abbreviation ken has dipped many dark chocolate marshmallows (which you remember the metric system distance units in decreasing order: kilometers, hectometer, decameter, centimeter, millimeter) is an example of which type of mnemonic? a) poem b) acronym c) acrostic d) abbreviation !
Answers: 1
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, 14.01.2021 20:10
question
Mathematics, 14.01.2021 20:10
Questions on the website: 13722363