Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Evaluate and compare the design decisions in case of serial and parallel computing : Consider two loops -The first loop adds corresponding elements of two
Evaluate and compare the design decisions in case of serial and parallel computing : Consider two loops -The first loop adds corresponding elements of two N element vectors to yield a third vector. The second loop sums the elements of the third vector. Assume each operation takes 1 cycle and inter process communication requires K cycles. On sequential system, each loop will require N cycles for a total of 2N cycles of processor time. On Parallel computing it requires: M= 256 processors , K cycles (to access non local term) =220 and N (element vector )= 224 Evaluate the cycles required for serial computing (1 marks) b. Evaluate the cycles required for parallel computing (2 marks) C. Evaluate which design (serial or Parallel) is faster (1 marks) d. Evaluate the efficiency of parallel over sequential execution (1 marks) a. Note : On sequential system, each loop will require N cycles for a total of 2N cycles of processor time. On Parallel computing it requires 2N/M + (K+1)Log2 M cycles
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started