Question

In: Computer Science

Problem: Find the speedup and efficiency that can be obtained with parallel computing, given the values...

Problem: Find the speedup and efficiency that can be obtained with parallel computing, given the values of the time needed to complete the sequential part of the task (denoted by Ts), the time needed to complete the parallelizable part of the task with one processor (denoted by Tp), and the number of processors (denoted by N) in the first three columns of the following table, and report them in the last two columns of the table.

Tsin seconds

Tpin seconds

N

Speedup

Efficiency

100

900

2

100

900

5

100

900

10

Solutions

Expert Solution

  • Speedup = number of processors/(1+(no. of processors -1)* f ) where f is a fraction of the program that is run sequentially.
  • Efficiency= time taken to do sequential task / (time taken to do parallel task * no of processors)
  • In this case, a fraction of sequential task f= 100/(900+100)=0.1
  • number of processors varies in all the cases.
    Case -1 : Number of Processors =2; time to run sequential task = 100; time to run parallel task = 900
    i. Speedup = 2/(1+(2-1)*.1)= 2/1.1=1.81
    ii. Efficiency = 100/(2*900)=100/1800 = .055
    Case -2 : Number of Processors =5; time to run sequential task = 100; time to run parallel task = 900
    i. Speedup = 5/(1+(5-1)*.1)= 5/1.4 = 3.57
    ii. Efficiency = 100/(5*900)= 0.022
    Case -3 : Number of Processors =10; time to run sequential task = 100; time to run parallel task = 900
    i. Speedup = 10/(1+(10-1)*0.1)=10/1.9 = 5.26
    ii. Efficiency = 100/(10*900)=0.011

Friend, this was a really nice question to answer. If you find my answer helpful, please like it. Thanks.


Related Solutions

Use Eulers method to find approximate values of the solution of the given initial value problem...
Use Eulers method to find approximate values of the solution of the given initial value problem at T=0.5 with h=0.1. 12. y'=y(3-ty) y(0)=0.5
Find the values of λ (eigenvalues) for which the given problem has a nontrivial solution. Also...
Find the values of λ (eigenvalues) for which the given problem has a nontrivial solution. Also determine the corresponding nontrivial solutions​ (eigenfunctions). y''+2λy=0; 0<x<π, y(0)=0, y'(π)=0
Calculate the Y values corresponding to the X values given below. Find the critical values for...
Calculate the Y values corresponding to the X values given below. Find the critical values for X for the given polynomial by finding the X values among those given where the first derivative, dy/dx = 0 and/or X values where the second derivative, d¬2y/dx2 = 0. Be sure to indicate the sign (+ or -) of dy/dx and of d2y/dx2 tabled values. Using the first and second derivative tests with the information you have calculated, determine which X value(s) represent...
Calculate the Y values corresponding to the X values given below. Find the critical values for...
Calculate the Y values corresponding to the X values given below. Find the critical values for X for the given polynomial by finding the X values among those given where the first derivative, dy/dx = 0 and/or X values where the second derivative, d­2y/dx2 = 0.    Be sure to find the sign (+ or -) of dy/dx and of d2y/dx2 at all X values. Reference Lesson 13 and the text Appendix A (pp 694 – 698), as needed. Using the...
Calculate the Y values corresponding to the X values given below. Find the critical values for...
Calculate the Y values corresponding to the X values given below. Find the critical values for X for the given polynomial by finding the X values among those given where the first derivative, dy/dx = 0 and/or X values where the second derivative, d­2y/dx2 = 0. Be sure to indicate the sign (+ or -) of dy/dx and of d2y/dx2 tabled values. Reference Power Point Lesson 13 as needed. Using the first and second derivative tests with the information you...
Calculate the Y values corresponding to the X values given below. Find the critical values for...
Calculate the Y values corresponding to the X values given below. Find the critical values for X for the given polynomial by finding the X values among those given where the first derivative, dy/dx = 0 and/or X values where the second derivative, d­2y/dx2 = 0. Be sure to indicate the sign (+ or -) of dy/dx and of d2y/dx2 tabled values. Reference Power Point Lesson 13 as needed. Using the first and second derivative tests with the information you...
Find Cartesian equation of a plane through the point a and parallel to the given vectors...
Find Cartesian equation of a plane through the point a and parallel to the given vectors p and q. a = (1, - 1, 3) , p= ‹2, -1, 0›, q= ‹2, 0, 6›.
Calculate the Y values corresponding to the X values given below.  Find the critical values for X...
Calculate the Y values corresponding to the X values given below.  Find the critical values for X for the given polynomial by finding the X values among those given where the first derivative, dy/dx = 0 and/or X values where the second derivative, d­2y/dx2 = 0.    Be sure to find the sign (+ or -) of  dy/dx and of d2y/dx2 at all X values. Reference Lesson 13 and the text Appendix A (pp 694 – 698), as needed.  Using the first and second derivative...
1. Given a parallel circuit with a constant current source containing resistors of different values, which...
1. Given a parallel circuit with a constant current source containing resistors of different values, which statement is true? a. The voltage drop across the less resistive component is the same the ones with higher resistance b. Current is the same through each resistor c. The voltage drop across the less resistive component is less than the ones with higher resistance d. None of the above 2. The conductance of a resistor decreases if the length of the resistor is...
I am given the following problem and solution. Can someone just explain where the BOLD values...
I am given the following problem and solution. Can someone just explain where the BOLD values in part B are coming from? ($60,000,000, $80,000,000, $200,000,000) [Relative Value Concepts Using Multiples] The WestTek privately held venture is considering the sale of the venture to an outside buyer. WestTek has net sales = $21.2 million, EBITDA = $11.1 million, net income = $2.9 million, and interest-bearing debt = $12 million. Three publicly-traded comparable firms or competitors in the industry have the following...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT