Question

In: Computer Science

Assume that a benchmark program executes in 480 seconds on a reference machine A. The same

Assume that a benchmark program executes in 480 seconds on a reference machine A. The same program executes on systems B, C, and D in 360, 540, and 210 seconds, respectively.

a. Show the speedup of each of the three systems under test relative to A.

b. Now show the relative speedup of the three systems. Comment on the three ways of comparing machines (execution time, speedup, relative speedup).

 

 

Solutions

Expert Solution

A)

Given a program, that is executed in the different machine i.e A,B,C,D.

 

The execution time of the system A,B,C,D are given as 480,360,540,210 respectively.

 

Speedup of each of the three systems under test relative to system A :-

 

(i) Speedup(B) = Execution Time of A / Execution Time of B

= 480 / 360

= 1.33

 

(ii) Speedup(C) = Execution Time of A / Execution Time of C

= 480 / 540

= 0.82

 

(iii) Speedup(D) = Execution Time of A / Execution Time of D

= 480 / 210

= 2.28

 

Relative Speedup :-

Relative Speedup = (480+480 480) / (360+ 540+ 210)

= 2.3

 

B)

Comparing the machines on different parameters :-

 

(1) Execution Time :- It is defined as the time taken by a machine for execution of the program.

 Execution Time of System A = 480 sec

Execution Time of System B= 360 sec

Execution Time of System C = 540 sec

Execution Time of System D = 210 sec

 

(2) Speedup :- It is defined as the measure of how better a system work as compare to the other system.

Speedup of B relative to A = 1.33

Speedup of C relative to A = 0.82

Speedup of D relative to A = 2.28

 

(3) Relative Speedup :- It is defined as the measure of all system work as compared to other system.

Relative Speedup of all system relative to A = 2.3


A)

 

Given a program, that is executed in the different machine i.e A,B,C,D.

Related Solutions

HWAWEI produceces 6 smartphones every 30 seconds Assume that the probability of production is the same...
HWAWEI produceces 6 smartphones every 30 seconds Assume that the probability of production is the same for periods of equal length and that production of one period are indepened of the production in another. (Show all your work) a) What is the expected number of smartphones that can be produced in 2 min? [5] b) What is the probability that 15 smartphones will be produced in 2 min? [5] c) What is the probability that 2000 smartphones will be produced...
Write a MIPS program that executes the statement: s = (a + b) – (c +...
Write a MIPS program that executes the statement: s = (a + b) – (c + 101), where a, b, and c are user provided integer inputs, and s is computed and printed as an output. Answer the following: a. Suppose the user enters a = 5, b = 10, and c = -30, what is the expected value of s? b. Which instruction in your program computed the value of s and which register is used? c. What is...
Two portfolios have the same returns and the same benchmark. One is comprised of private real...
Two portfolios have the same returns and the same benchmark. One is comprised of private real estate investments and one is comprised of real estate securities. Could they have the same: Beta? Alpha? Gamma? Explain.
Is the Leapfrog Hospital Survey a national benchmark? Is it the same as the NQF(national quality...
Is the Leapfrog Hospital Survey a national benchmark? Is it the same as the NQF(national quality forum)?
Signature/Benchmark Assignments are designed to align with specific program student learning outcome(s) in your program. Program...
Signature/Benchmark Assignments are designed to align with specific program student learning outcome(s) in your program. Program Student Learning Outcomes are broad statements that describe what students should know and be able to do upon completion of their degree. Signature/Benchmark Assignments are graded with a grading guide or an automated rubric that allows the University to collect data that can be aggregated across a location or college/school and used for course/program improvements. Format your assignment to APA standards. Submit your assignment...
signature/Benchmark Assignments are designed to align with specific program student learning outcome(s) in your program. Program...
signature/Benchmark Assignments are designed to align with specific program student learning outcome(s) in your program. Program Student Learning Outcomes are broad statements that describe what students should know and be able to do upon completion of their degree. Signature/Benchmark Assignments are graded with a grading guide or an automated rubric that allows the University to collect data that can be aggregated across a location or college/school and used for course/program improvements. Format your assignment to APA standards. Submit your assignment...
Develop an x86 assembly language program that properly executes an "x to the y power" function:...
Develop an x86 assembly language program that properly executes an "x to the y power" function: int power(int x, int y) Compute the integer value that is x to the y power Do not concern yourself with the possibility of overflow You may only use only a loop structure to compute the value Remember that the return value must be placed in the EAX register Make sure that any registers (not EAX) used by this function are placed back to...
baseball pitcher executes a pitch in 0.32 sec. (assume that his motion of the pitching arm...
baseball pitcher executes a pitch in 0.32 sec. (assume that his motion of the pitching arm is a circular, also assume that v1 = 0). If his pitching arm is 90 cm long, what are the magnitudes of the tangential and radial accelerations on the ball just before ball release, when tangential ball speed is 35 m/s (in m/s2)? What is the magnitude of the total acceleration on the ball at this point (in m/s2)?
this is a test program foo that has a bug. Assume your machine has 4KB pages....
this is a test program foo that has a bug. Assume your machine has 4KB pages. Note that this code is runnable on a Linux machine. #include <stdlib.h> #include <stdio.h> #include <sys/mman.h> struct foo {     int a; // 4-byte int     int b; // 4-byte int }; int main (int argc, char * argv[]) {     int num = atoi(argv[1]); // convert program arg to integer     struct foo * a = mmap(NULL,                           sizeof(struct foo) * num,                           PROT_READ |...
Develop an x86 assembly language program that properly executes an "is even" function: bool isEven(int value)...
Develop an x86 assembly language program that properly executes an "is even" function: bool isEven(int value) If the value passed in is even, return 1 If the value passed in is odd, return 0 Remember that the return value must be placed in the EAX register Make sure that any registers (not EAX) used by this function are placed back to their initial states prior to exiting Allow an end user to test this function in the following manner: Prompt...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT